Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
Hi, i have a little question because of a Problem I faced with OGNL in Struts 2. I have tried a lot of things but it didn work. OK. I´ve set up a new Struts 2 Project with Tomcat 6.0 and integrated Tiles 2. I want to use the menuing support of tiles. This is the relevant code of the tiles-defs.x

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
Status="loopStatus"> > > > ${currRow.id} > ... > > Peace, > Scott > > On Fri, Nov 14, 2008 at 4:39 AM, PhoenixelRay > <[EMAIL PROTECTED]>wrote: > >> >> Hi, >> >> i have a little question because of a Problem I faced

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
I know, but I thougt the only way to use resources is the struts tag and this is not possible with el. Therefore I wantet to know if there is an other way than this example. newton.dave wrote: > > --- On Fri, 11/14/08, PhoenixelRay wrote: >> Yes, it works that way, but how can i

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
thanks, in this case I have to use OGNL to get access to the list which is defined in the tiles-defs.xml. I have already tried it in different ways but i didnt get the correct syntax. newton.dave wrote: > > --- On Fri, 11/14/08, PhoenixelRay wrote: >> I know, but I thougt the

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
i tried it like this, but it didnt work. #item.link newton.dave wrote: > > --- On Fri, 11/14/08, PhoenixelRay wrote: >> in this case I have to use OGNL to get access to the list >> which is defined in the tiles-defs.xml. > > IIRC you can put Tiles defs into

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
No output and error message with both :-(( Lukasz Lenart wrote: > > 2008/11/18 PhoenixelRay <[EMAIL PROTECTED]>: >> >> i tried it like this, but it didnt work. >> >> >> >> #item.link >> > > Try with force evalua

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
I tryed it like this with the same Problem. Is this maybe a tiles problem? Lukasz Lenart wrote: > > 2008/11/18 PhoenixelRay <[EMAIL PROTECTED]>: >> No output and error message with both :-(( > > Did you try with #attr or #request ? > > > Regards > --

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
This helped me a lot, thank you! =) Now the list is iterated and i get the output as a ressource. The solution was: Greets Ray Jeromy Evans - Blue Sky Minds wrote: > > PhoenixelRay wrote: >> I tryed it like this with >> the >> same Problem. >> >