struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZTo...@za.safmarine.com
Subject / /OREF:CPTC4BC4 Re: nested:nest and all things nested...
Date Wed, 16 Jul 2003 13:55:32 GMT

Yup, the taglib [<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix
="nested" %>] is there.

Tx, Sandeep


|---------+--------------------------->
|         |           sandeep_takhar@y|
|         |           ahoo.com        |
|         |                           |
|         |           2003/07/16 02:37|
|         |           PM              |
|         |           Please respond  |
|         |           to struts-user  |
|         |                           |
|---------+--------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                        |
  |        To:      struts-user@jakarta.apache.org                                       
                        |
  |        cc:                                                                           
                        |
  |        Subject: Re: / /OREF:CPT7E658 nested:nest and all things nested...            
                        |
  >---------------------------------------------------------------------------------------------------------------|
|---------+--------------------------->
|         |                           |
|---------+--------------------------->
  >---------------------------------------------------------------------------------------------------------------|
  |                                                                                      
                        |
  |                                                                                      
                        |
  >---------------------------------------------------------------------------------------------------------------|




seems correct to me.

check your source.

have you brought in the taglibs?

sandeep
--- ZTofie@za.safmarine.com wrote:
>
> I have a property on a form bean that stores an
> object that contains
> an array list.
> The array list contains a wrapper object that
> contains 4 other
> objects - each of a different type.
>
> I try to access the respective properties of each of
> the four objects
> contained in the wrapper object in the following
> way:
>
> <nested:nest property="propertyList">
> <nested:iterate id="objects"
> property="cachedProperties" indexId=
> "cachedPropertiesIndex">
>
> <TABLE>
>       <TBODY>
>             <TR>
>                   <TD><TABLE border="0" width="100%"
> bgcolor="
> #ff0000">
>                         <TBODY>
>                               <TR>
>                                     <TD nowrap
> width="10%" bgcolor="
> #ffffff"><FONT size="1" color="#000000"
> face="Verdana"><B>
>                                     ZAR:
> <nested:write property=
> "property.formattedPrice"/></B></FONT></TD>
>
> To be precise:
> The propertyList property contains the array list
> and this array list
> is called cachedProperties.
>
> The array list contains PropCargo objects.
>
> Each propCargo object contains a:
>       1.  Property object
>       2. Features object
>       3. Images object
>       4. Client object
>
> I want to access properties of these objects in the
> same
> nested:iterate clause by going something like:
> property
> ="property.formattedPrice" for example.
>
> Am I doing this correctly or have I missed
> something?
>
> The HTML table doesn't render.
>
> Tx - help will be greatly appreciated.
>
> Zain
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
>


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message