Hi All! I'm trying to use the tree tag in my web application, but I can't build it from a variable. I've been searching and I've found the showcase example, but these trees are created manually (witting the content of the label). %-|
I'd like to populate the tree with data from the database. The following variable is the one that I'd like to list in the tree: Reservation[] reservations; - Reservation contents: int rid; boolean is Pre; Service[] services; - Service contents: int sid; boolean automaticActivation; And I'd like the following result (for example, the test in italics is the one that should be variable): - Reservations - Reservation ID: 1 - isPre: false - Services - ServiceID: 11 - automaticActivation: true - ServiceID: 12 - automaticActivation: false - Reservation ID: 2 - isPre: true - Services - ServiceID: 21 - automaticActivation: true Anybody can help me? Thanks a lot!!!:-) -- View this message in context: http://www.nabble.com/Building-a-tree-%28%3Cs%3Atree%3E%29-tp15068934p15068934.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]