AW: How can I "parameterize" include files?

2008-12-18 Thread Jan Fröhlich
This file could look like Just for example Hope that helps! Regards Jan -Ursprüngliche Nachricht- Von: James Carr [mailto:james.r.c...@gmail.com] Gesendet: Mittwoch, 17. Dezember 2008 17:35 An: struts-u...@apache.org Betreff: How can I "parameterize" include files? Hi a

Re: How can I "parameterize" include files?

2008-12-17 Thread Oscar Alvarez
are you try tag, to set the value you need and then test it? i understand, tag only join both pages, but not get the result in ajax like fashion. http://struts.apache.org/2.0.9/docs/set.html 2008/12/17 James Carr > I have.. .it doesnt evaluate correctly in the statement. Adding > the param

Re: How can I "parameterize" include files?

2008-12-17 Thread Dave Newton
--- On Wed, 12/17/08, James Carr wrote: > I have.. .it doesnt evaluate correctly in the > statement. Adding the param isn't my problem in this case though, > it's making work.. I've tried every > possible combination... "param.foo", "$param.foo", "${param.foo}" > etc. The variable IS there, the

RE: How can I "parameterize" include files?

2008-12-17 Thread Biesbrock, Kevin
Try %{param.foo} or %{#attr[param.foo]} ?? Beez ( 4961 -Original Message- From: James Carr [mailto:james.r.c...@gmail.com] Sent: Wednesday, December 17, 2008 4:28 PM To: Struts Users Mailing List Subject: Re: How can I "parameterize" include files? I have.. .it doesn

Re: How can I "parameterize" include files?

2008-12-17 Thread James Carr
I have.. .it doesnt evaluate correctly in the statement. Adding the param isn't my problem in this case though, it's making work.. I've tried every possible combination... "param.foo", "$param.foo", "${param.foo}" etc. The variable IS there, the if statement just chooses not to allow it to just w

Re: How can I "parameterize" include files?

2008-12-17 Thread Nuwan Chandrasoma
http://struts.apache.org/2.x/docs/include.html why don't you try to assess it as a request param?. :) Thanks, Nuwan James Carr wrote: Hi all, I have a common navigation bar I have at the top of a bunch of pages, but I'd like for certain buttons to not be present on some pages. I tried using

Re: How can I "parameterize" include files?

2008-12-17 Thread Nuwan Chandrasoma
http://struts.apache.org/2.x/docs/include.html why don't you try to assess it as a request param?. :) Thanks, Nuwan James Carr wrote: Hi all, I have a common navigation bar I have at the top of a bunch of pages, but I'd like for certain butto

How can I "parameterize" include files?

2008-12-17 Thread James Carr
Hi all, I have a common navigation bar I have at the top of a bunch of pages, but I'd like for certain buttons to not be present on some pages. I tried using and , but to no avail. For example: and in the included file have this: However this doesn't see