Hi,

I am having troubles getting the jsp property tag to find a variable that I have put 
into Session scope via a Action class that I wrote.
>From reading the Wiki on the property tag I understand that I should be able to use 
>the @ in my property to look in session scope for a variable.
My action looks like this:
...
            ActionContext.getSession().put("current_project", project);
...
And my jsp fragment looks like this:
...
pt=<WW:property value="@project/title"/>
pt=<WW:property value="@title"/>
pt=<WW:property value="@current_project/title"/>
pt=<WW:property value="@current_project"/>
pt=<WW:property value="title"/>
...

And a Project class has a getTitle method.

I have a debug jsp page that confirms that in the Session I have a Project class under 
the key 'current_project'.

But the property tag is not working for me.

Any ideas?

Mike


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to