Re: accessing properties/attributes (scope)

2012-08-20 Thread Christopher Johnson
Thank you, that makes sense. I've read that page a few dozen times and it did not click until you gave the example. Best, -Chris On Mon, Aug 20, 2012 at 3:26 PM, Lukasz Lenart wrote: > 2012/8/20 Christopher Johnson : > > From what I've read there are the following scopes in struts. > > > >-

Re: accessing properties/attributes (scope)

2012-08-20 Thread Lukasz Lenart
2012/8/20 Christopher Johnson : > From what I've read there are the following scopes in struts. > >- application >- session >- request >- page >- action > > I can see application, session, request in and see how to > access the different parts via #application, #session, #reque

Re: accessing properties/attributes (scope)

2012-08-20 Thread Christopher Johnson
Lukasz, I changed to include 'scope="request"' and I now see my variables in the request scope and can access them via #request.url. Thank you. --- >From what I've read there are the following scopes in struts. - application - session - request - page - action I can see applicat

Re: accessing properties/attributes

2012-08-20 Thread Lukasz Lenart
2012/8/20 Christopher Johnson : > #url turns out to be null because it can't. does not show it > anywhere. Did you try #request.url ? As this should be a request scoped variable. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: accessing properties/attributes

2012-08-20 Thread Christopher Johnson
On Mon, Aug 20, 2012 at 6:42 AM, Lukasz Lenart wrote: > 2012/8/19 Christopher Johnson : > > fails because the TLD does not accept > > Did you try: > > This gives an error message because ${} expressions are not allowed in the test attribute. > > or > > > Since currentURL is created via the #c

Re: accessing properties/attributes

2012-08-20 Thread Lukasz Lenart
2012/8/19 Christopher Johnson : > fails because the TLD does not accept Did you try: or Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additio

accessing properties/attributes

2012-08-19 Thread Christopher Johnson
I want to be able to access tiles attributes within a template via the construction. The landing page has some code that looks like The pseudo code is something like: if currentURL == url then txt else txt endif I can import the tile attribute into the scope of the JSP with an