Actually - that's not true - I believe Victor checked some changes into WW
recently which enable you to access the ValueStack from within a decorator
just as you would expect. I'm doing it in JIRA if I remember correctly.

Can't remember where the changes were - I think it pops the stack onto each
request dispatcher as it comes along or something.

Cheers,
Mike

Mike Cannon-Brookes
[EMAIL PROTECTED]

ATLASSIAN - Your J2EE Expert Partner
--------------------------------------------------------
> Brilliant Software - http://www.atlassian.com/software
> Legendary Services - http://www.atlassian.com/support

On 19/3/02 12:49 AM, "Rickard" ([EMAIL PROTECTED]) penned the
words:

> Taavi Tiirik wrote:
> 
>> And here comes my problem. I would like to use <webwork:property /> tag
>> from within my decorator page to get properties of MyAction. Where in the
>> valuestack are they?
> 
> 
> Nowhere. Since the decorator runs *after* your page the action will have
> been popped off the stack.
> 
> What you can do is to (in your page) bind it to a request attribute:
> <webwork:property value="." id="action"/>
> 
> and then access that in your decorator:
> <webwork:property value="@action">
>  ...
> </webwori:property>
> 
> 
> /Rickard
> 
> ps. Yes, WW+SiteMesh kicks some serious a** :-)))


_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to