• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html:form

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
rahul karwal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
got it
thanks
aziz
 
reply
    Bookmark Topic Watch Topic
  • New Topic