This week's book giveaway is in the
General Computing
forum.
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
remove name and OnSubmit in s:form tag
Mike Nason
Greenhorn
Joined: Apr 19, 2006
Posts: 20
posted
Jan 14, 2010 05:04:52
0
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="/">
Wanna code??
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
Jan 14, 2010 11:07:36
0
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://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: remove name and OnSubmit in s:form tag
Similar Threads
Unable to get the Attribute value
jsp
Not include webapp context path
Action code reuse
How can i insert Reset and Submit buttons in same row in struts2?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter