Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
i tried it like this, but it didnt work. tiles:importAttribute name=myListAttribute / s:iterator value=#myListAttribute #item.link s:text name=#item.value/ /s:iterator newton.dave wrote: --- On Fri, 11/14/08, PhoenixelRay wrote: in this case I have to use OGNL to get access to the list

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. tiles:importAttribute name=myListAttribute / s:iterator value=#myListAttribute #item.link s:text name=#item.value/ /s:iterator Try

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
I tryed it like this s:iterator value=%{#attr.myListAttribute} 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

Re: Struts2 OGNL Problem

2008-11-18 Thread PhoenixelRay
- Blue Sky Minds wrote: PhoenixelRay wrote: I tryed it like this s:iterator value=%{#attr.myListAttribute} with the same Problem. tiles:importAttribute places the object into page scope if not specified otherwise. This means in OGNL it's only available via #attr. First, confirm you

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

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
td ${currRow.id} /td... 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 with OGNL in Struts 2. I have tried a lot of things but it didn

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

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 use