Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Subject: Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Subject: Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Struts 2 tree tag question

Struts 2 tree tag question

2007-12-01       - By john feng

 Back
put the box inside the iterate loop:

<html:mutlibox id=... name=... value='<bean:write name="your record id"/>' >

the actionform knows how many boxes being checked by the user.

On 11/29/07, akash agrawal <akash_agrawal@(protected)> wrote:
>
> Hi John,
>
> Thanks for the insight. If you can share some code that will be helpful to
> understand how you used multibox tag. ( I haven't used multibox tag before).
>
> Thanks,
> -akash
>
> john feng <johngfeng@(protected)> wrote: I have created tree that each node
> displays several attributes of an object,
> i.e., top node is Dept object that user could see a checkbox field
> DeptNo>, DeptNo field, DName field, Location field. clicking top node +
> image, the second layer nodes display Employee object that user could see
> a
> checkbox field, EmpNo, EName field, Sal field, NumberOfDepents
> field. Clicking the second node Employee + image, then displays Dependent
> object...
>
> You see my tree is not like a Windows folder like tree, it has more fields
> to display for each row of the nodes. Its each parent node field header
> left
> most position has a checkbox that could check or uncheck all the children
> nodes' checkboxes.
>
> I used the regular iterate and multibox tags and CSS to get this done
> really
> straight forward, without using tree tag.
>
>
>
> On 11/28/07, akash agrawal  wrote:
> >
> > Hi,
> >
> > Trying to build a form having a tree where each node in the tree needs
> to
> > have a checkbox to take input from the user. How can I accomplish this
> using
> > struts tree tag?
> >
> > Thanks,
> >
> > -Akash
> >
> >
> > -- ---- ---- ---- ---- ---- -----
> > Get easy, one-click access to your favorites.  Make Yahoo! your
> homepage.
>
>
>
> -- ---- ---- ---- ---- ---- -----
> Get easy, one-click access to your favorites.  Make Yahoo! your homepage.