permaculture playing cards*
The moose likes Struts and the fly likes html:form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:form" Watch "html:form" New topic
Author

html:form

rahul karwal
Ranch Hand

Joined: Oct 26, 2001
Posts: 73
Hi,
i have a form which has about 20 checkbox and i want to provide one checkbox for "Selecting ALL" and one checkbox to "UNSELECt all checkbox"
i am using struts tags, the problem i am facing is currntly html:form doesnot have an attribute for "name" like we have in html tag form"name"
as i can reference the checkbox in javascript only with form name? can any one help me with this issue? is there any other way of doing it? a sample code would relly help?

thanks
aziz
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

Aziz,
html:form gets the name from the struts config file. You can check what the form name is for the specified action. Alternatively, you can run the application and check in the HTML.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
rahul karwal
Ranch Hand

Joined: Oct 26, 2001
Posts: 73
got it
thanks
aziz
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:form