>    1. What is the difference between the attributes "value" and "page"
>       in the <webwork:url> tag?

In all the webwork tags the value parameter is the expression language value
the tag shall act on. For url tag <ww:url value="'foo'"/> is the same as
<ww:url page="foo"/>. The value parameter is there to enable you to take the
page attribute from an object on the value stack. It would seem this isn't
documented at all unfortunately.

>    2. What is the rationale behind the decision to use an "id" attribute
>       when pushing something on the ValueStack? How do I decide whether
>       I want to retrieve a value from the stack using the object's id,
>       using nothing or using ".", "..", "/"? From my ignorant
>       perspective, I would choose to always use an id attribute as it
>       seems the safest procedure, which avoids my having to "manage" the
>       ValueStack by hand, but I am not sure if these various approaches
>       are equivalent, if they imply different performance
>       characteristics or if, indeed, they have profoundly different
>       meanings and repercussions.

When is the id attribute used to push things onto the value stack?
<ww:property value="foo" id="bar"/> will grab the object foo from the value
stack and put it into the page context.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to