> <ww:property> has TWO uses:
>
> 1: <ww:property value="x" /> will grab the value of x and print it
> 2: <ww:property value="x"> ... </ww:property> will grab the value of x and
> make it 'available' between the tags.
>
> That's it!

Actually this is not at all all there is to it. Let me give a small example:

<ww:property value="foo"><foo:mytag /></ww:property>

If foo:mytag prints nothing, the above will result in that foo gets printed.
If foo:mytag prints _anything_, even a space (!) it will only push and pop
the stack. There is currently no way in webwork to push to the stack then
having your own custom tag that grabs the top of the stack and does nothing
without adding a space in between the tags! Be sure to have a text-editor
that clearly marks your spaces.

// Anders Hovmöller



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to