A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
remove name and OnSubmit in s:form tag
Joined: Apr 19, 2006
Jan 14, 2010 05:04:52
We are doing a we site for mobile devices and when using s:form it includes
name="sendMail" onsubmit="return true;"
We don't need these, how can I turn rendering these tags off?
<s:form action="sendMail" method="get" theme="simple" namespace="/">
Joined: Sep 29, 2008
Jan 14, 2010 11:07:36
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:
subject: remove name and OnSubmit in s:form tag
Unable to get the Attribute value
Not include webapp context path
How can i insert Reset and Submit buttons in same row in struts2?
Action code reuse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015