Thanks for the pointer, and for putting that site together.
I know the next enhancement I am going to do (I think?). The Outputs are being added from a Persistance Object by a PersistanceFactory, so I don't really have much control over how they go in. I am thinking a good enhancement would be to be able to call up a given output from the collection by the "Field Name". This is going to be especially useful when dealing with Key Types.
Meantime, guess this means I need to kludge something together (I have several columns in the row where I need the value of the key field, including the column where it is normally printed).
Regards, Steve
Daniel Silva wrote:
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
