File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remove name and OnSubmit in s:form tag

 
Mike Nason
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are doing a we site for mobile devices and when using s:form it includes name="sendMail" onsubmit="return true;" attributes there.

We don't need these, how can I turn rendering these tags off?

We use <s:form action="sendMail" method="get" theme="simple" namespace="/">
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change the template, if it's *really* important, but I don't know why it would be.

Personally, if I were doing a mobile version of a site I'd create a mobile theme.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic