[Opensource] blocks, outputs, and attributes?
Mike Traum
mtraum at cirnetwork.org
Mon Mar 10 19:14:01 PST 2003
Every time I think I understand the nested bean thing....
After a long battle, I found that to access the attribute in this structure:
- block
- output
- attribute (of the output)
I had to use this:
<bean:write property="/block/output. at attribute"/>
To get there, I used some trial and error, and eventually had to run through
a debugger. The "." was a surprise to me. Also, I would have thought
<bean:write name="/block/output" property="@attribute"/> would work.
Anyone got a definitive how-to on ".", "@", and "/"? Sometimes I just go
crazy trying to figure out the right combo.
Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030310/710abce2/attachment-0002.htm
More information about the Opensource
mailing list