Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
many questions. I didnt find a solution in the net for this specific problem and the OGNL documentation is not very helpfull for me. Maybe someone can give me a little clue. Thank you in advance. Best regards Ray -- View this message in context: http://www.nabble.com/Struts2-OGNL-Problem-tp204981

Re: Struts2 OGNL Problem

2008-11-14 Thread stanlick
ry helpfull for me. Maybe > someone can give me a little clue. > > Thank you in advance. > > Best regards > > Ray > -- > View this message in context: > http://www.nabble.com/Struts2-OGNL-Problem-tp20498124p20498124.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >

Re: Struts2 OGNL Problem

2008-11-14 Thread PhoenixelRay
roblem is that the Struts-Tags dont support EL. Is it >> possible to solve this Problem with OGNL? I dont know how I can access >> the "item.link" and "item.value" properties with OGNL. Is there a way to >> use EL with Stuts 2? >> >> So many questions.

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
e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2-OGNL-Problem-tp20498124p20501202.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

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
llowed *inside S2 > tags*. > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2-OGNL-Prob

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-18 Thread PhoenixelRay
mands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2-OGNL-Problem-tp20498124p20555087.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsub

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
tion > > > > > > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

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
> Lukasz > http://www.lenart.org.pl/ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.

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 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 PhoenixelRay
et the property name "link" of the > current item, and so on. > > Hope that helps, > Jeromy Evans > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this messag