You wrote:
>
> For the dummies:
>
> <ww:property> has TWO uses:
>
> 1: <ww:property value=3D"x" /> will grab the value of x and print it
> 2: <ww:property value=3D"x"> ... </ww:property> will grab the value of =
x and
> make it 'available' between the tags.
>
> That's it!
>
> Some more examples of fun to be had (from my 'teach ww to the coworkers=
'
> spiel)
>
> <ww:property value=3D"x/y"> will print getX().getY()
>
> <ww:property /> will print what's on the top of the stack (very useful =
to
> debug where you are!
>
> Why is #2 above useful? It makes your code simpler and easier to read!
>
> <ww:property value=3D"someUser">
>    <ww:property value=3D"name" />
>    <ww:property value=3D"fullName" />
>    <ww:property value=3D"email" />
> </ww:property>
>

As a dummy, I really appreciate this description of what the property tag
does.  It's clear, concise, complete, and useful.  The only problem is its
location: not in the documentation where all us dummies can easily find it,
but on the mailing list where most of the participants already know how it
all works.

Let me remind you what the "official" documentation says about the property
tag:

>property tag
>
>Used to retrieve a value and print it out. By default, it will escape HTML
characters for tags with *no* bodies. Tags with >bodies will not be escaped.
You can override this with explicit setting of the escape attribute. Quoted
text that is >escaped will have its outer quotes stripped.
>
>Attributes
>
>
>attribute requied
>id F
>value F
>escape F
>
>In this example, property will call getTime() on the object pointed to by
@timer.
>
>
>Time:<webwork:property value="@timer/time"/>ms

You guys have a great product in WebWork, but it is *incredibly* frustrating
trying to find answers about how to use it in the skimpy documentation.  For
all the ink you spill over issues like this and null tests vs. boolean
tests, you would think some of it could find it's way into the docs where
everybody would be enlightened.

Just a plea from a humble dummy.  I know I'm not the only one.

Geoff





-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to