try ognl:page.visit.userName 

-----Original Message-----
From: pepone pepone [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 19, 2005 4:40 PM
To: tapestry-user@jakarta.apache.org
Subject: is posible acces visit object in a component?

Hello

i creating a simple form component that extends BaseComponent


i trying to get put the userName in the component using an insert like this

<spam jwcid="@Insert" value="ognl:visit.userName"/>

but this always return and exception

org.apache.tapestry.BindingException
Unable to resolve expression 'visit.userName' for
[EMAIL PROTECTED]/$logoutForm].

 if i use this Insert in my Home.html it works as expected and shows
the userName property assigned in the visit object

any ideas to solve this troubel

thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to