Everything is working as it should. When you persist a page property that
means that when you return to that page the property value will still be
there. It doesn't mean that the property will be available to other pages. I
think that what you are looking for is an ASO.

Hope this helps

Cheers

Hugo

On 24/01/06, Martin Carel <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I have this in my page A's spec:
>
> <property name="myProp" persist="session"/>
>
> I want to retrieve this property (myProp is a String object) in page B.
>
> I assumed that all was needed was to specify this in my page B's spec:
> <property name="myProp" persist="session"/>
>
> and then retrieve the property's value as usual from my page B's HTML
> template:
> <span jwcid="@Insert" value="ognl:myProp"/>
>
> But it does not work. I got an empty string on page B where I should see
> a string for this property's value.
>
> If I create a parsing error in my page B's HTML template (a trick that I
> use in order to get the Tapestry's exception page), I see that my
> session-persisted property "myProp" is indeed in the HttpSession with
> the correct value, set from page A, so I feel I'm really close to get
> what I want.
>
> Any hints is appreciated.
>
> /Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to