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
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
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
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
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
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
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
> --
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.
>>
>
8 matches
Mail list logo