struts collection - layout with ArrayList returning from an bean

2002-10-16 Thread Heiko . Mesech . extern
hi, in my struts-webapplication i'm using an data-bean, which returns an ArrayList for every columns of an sql statement: public List getColumn1( ) returns an List of String objects i'm trying to use the collection-tag to display the different columns of the sql statement: jsp:useBean

Re: struts collection - layout with ArrayList returning from an bean

2002-10-16 Thread Jean-Noel Ribette
Hi, If you're getting the list by the getColumn1 method, the code should be: jsp:useBean id=result scope=request class=com.hvbsystems.sg.marvin.obj.ResultBean / layout:collection name=result property=column1 styleClass=ARRAY id=column1 layout:collectionItem title=Column1