A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
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
How can i insert Reset and Submit buttons in same row in struts2?
Action code reuse
Not include webapp context path
Unable to get the Attribute value
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014