A good document in the wiki is 
http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?UserInterfaces which talks about User 
Interfaces in Keel, and goes into detail about Struts.

To answer your question directly, the property in the bean *row* would be "nested", 
and that would return a Collection type, even if it's only a Collection with one item 
in it.  So you would have to iterate it over it just to get the one asset id output 
you nested in the row output.

Now, another thing you could do instead of nesting an output for asset id in the row 
output is to set the asset id as an attribute of the row output.  For example, call 
the setAttribute("assetId", assetId) of the row output.  Then you render the value of 
that attribute by typing <bean:write name="row" property="attributes.assetId" /> in 
your struts jsp.  This might be best since you know you only have one asset id per row 
output.

Daniel Silva
PlatinumSolutions, Inc.

On Nov 6, 2003 4:59 PM, Stephen Davidson <[EMAIL PROTECTED]> wrote:

> Greetings. 
>  
> I have a slightly odd situation (at least for me).  I hope my ascii art turns 
> out.... 
>  
> List 
>    | 
>    ---- row 
>    | 
>    ---- row 
>    |     | 
>    |     --- assetID 
>    .     | 
>    .     . 
>    .     . 
>  
>  
> Everything is Output objects. I have a logic:iterate going, so have access to a 
> "row" as my current bean. 
> Q) How do I write the contents of the Output assetID in Row? 
> <bean:write name="row" property=???????/> 
>  
> Thanks, 
> Steve 
>  
> --  
> Java/J2EE Developer/Integrator 
> Co-Chair, Dallas/FortWorth J2EE Sig 
> 214-724-7741 
>  
>  
> http://keelframework.org/documentation 
> Keelgroup mailing list 
> [EMAIL PROTECTED] 
> http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com 
>  




http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com

Reply via email to