Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Jeanne Boyarsky
Ron McLeod
Sheriffs:
Paul Clapham
Liutauras Vilda
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Struts
Sending a parameter with <s:url.../>
Peter Mest
Ranch Hand
Posts: 30
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is possible to hide a parameter using <s:url> tag?
<s:url action="edit"> <s:param name="id" value="1"/> </s:url>
In fact, I want to not a have submit button on my webpage. This means that I don't want to use the <s:submit> tag.
<s:form action="pdf" method="post"> <s:hidden name="a" value="RIR"/> <s:submit method="execute" align="left" label="PDF"/> </s:form>
I just want a simple link with the possibility to send a parameter to my action.
David Newton
Author
Posts: 12617
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm not sure what you mean by "hide" a parameter. Maybe just make a link with an onclick that submits the form.
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
s:url and javascript onclick submit
Select and trigger an action through a link, doesn't populate the value
Struts2 ajax theme - One form, two buttons.. two actions?
struts2 autocomplete
Change to 2.2.1 causes forms to not submit to specific method anymore
More...