• 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

How to Introduce a Button That Controls All Other Links in a Web Page

 
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My web page has many nodes. Each of them represents a treeview "expand (i.e., + )" or "collapsed (i.e., -). Therefore, a Collection can be either collapsed or in collapsing state if that Collection is not empty. If users want to collpase a Collection, the application makes a trip to the database to retrieve the elements in that Collection. Each of the node is coded as
shown below (I show only one of the Collection(s) I have and I do not want to repeat all of them).

Now, I am trying to introduce a button that triggers (send a signal to) all those nodes to either expand or not expand. What is the cleverest/cleaninst way to do it?

For each treeview node in my code, when the <logic:equal ....> tag tests the property; for example, 'expandNotifiedAgency' is set to 'true', an action is invoked to retrieve and display the elements in that Collection.


Thanks for your guidance.
[ March 13, 2006: Message edited by: Daniel Gee ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic