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. >> >> > > places the object into page

Re: Struts2 OGNL Problem

2008-11-18 Thread Jeromy Evans
PhoenixelRay wrote: I tryed it like this with the same Problem. places the object into page scope if not specified otherwise. This means in OGNL it's only available via #attr. First, confirm you can access the attribute from JSP EL and that's the object is type that can be iterated o

Re: Struts2 OGNL Problem

2008-11-18 Thread Lukasz Lenart
2008/11/18 PhoenixelRay <[EMAIL PROTECTED]>: > I tryed it like this with the > same Problem. > Is this maybe a tiles problem? Did you try to use tag on that page? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe,

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 > -- > Lukasz > http://www.lenart.org.pl/ >

Re: Struts2 OGNL Problem

2008-11-18 Thread Lukasz Lenart
2008/11/18 PhoenixelRay <[EMAIL PROTECTED]>: > No output and error message with both :-(( Did you try with #attr or #request ? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

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 evaluation > > > > > > > > Regards > -- > Lukasz > http://www.lenart.org.p

Re: Struts2 OGNL Problem

2008-11-18 Thread Lukasz Lenart
2008/11/18 PhoenixelRay <[EMAIL PROTECTED]>: > > i tried it like this, but it didnt work. > > > > #item.link > Try with force evaluation Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL

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 scope through one of the tile

Re: Struts2 OGNL Problem

2008-11-14 Thread Dave Newton
--- 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 scope through one of the tiles tags (don't recall how). You can then access it via one of the OGNL scope prefixes. Dave

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 only way to us

Re: Struts2 OGNL Problem

2008-11-14 Thread Dave Newton
--- On Fri, 11/14/08, PhoenixelRay wrote: > 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. Yes, by using and . But your assumption is incorrect: JSP EL is only dis

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 include the re

Re: Struts2 OGNL Problem

2008-11-14 Thread Dave Newton
--- On Fri, 11/14/08, PhoenixelRay wrote: > Yes, it works that way, but how can i include the resource > key without using OGNL? The forEach example already doesn't use OGNL. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
Yes, it works that way, but how can i include the resource key without using OGNL? stanlick wrote: > > Have you tried using > > Also, this works as well: > > varStatus="loopStatus"> > > > ${currRow.id

Re: Struts2 OGNL Problem

2008-11-14 Thread stanlick
Have you tried using Also, this works as well: ${currRow.id} ... Peace, Scott On Fri, Nov 14, 2008 at 4:39 AM, PhoenixelRay <[EMAIL PROTECTED]>wrote: > > Hi, > > i have a little