Re: S2: EL in tags 2.0.11

2007-10-29 Thread Chris Pratt
On 10/29/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > In S2.09 is possible to use EL in the properties tags. For example: > > > > That because the parameter in tld is rtexprvalue="true" > > In S2.0.11 this is not possible (rtexprvalue="false"). I want to know > is some property that active and

RE: S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
How I get the contextPath with OGNL?? Or the other request methods? Manuel Correa. -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 12:17 PM To: Struts Users Mailing List Subject: Re: S2: EL in tags 2.0.11 On 10/29/07, Manuel Correa <[EM

Re: S2: EL in tags 2.0.11

2007-10-29 Thread cilquirm
I believe this was a security fix, as there was an issue where ognl expressions could be used to do something drastic to the application server ( like System.exit ). I believe the expectation is that you can get around it by creating your own customized tld or something like : hth, -a Man

RE: S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
So, I have to write a custom library for each method that I want access for the request?? Manuel Correa. -Original Message- From: cilquirm [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 12:51 PM To: user@struts.apache.org Subject: Re: S2: EL in tags 2.0.11 I believe this

RE: S2: EL in tags 2.0.11

2007-10-29 Thread cilquirm
gt; > -Original Message- > From: Chris Pratt [mailto:[EMAIL PROTECTED] > Sent: Monday, October 29, 2007 12:17 PM > To: Struts Users Mailing List > Subject: Re: S2: EL in tags 2.0.11 > > On 10/29/07, Manuel Correa <[EMAIL PROTECTED]> wrote: >> In S2.09 is p

Re: S2: EL in tags 2.0.11

2007-10-29 Thread Chris Pratt
On 10/29/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > So, I have to write a custom library for each method that I want access > for the request?? > > Manuel Correa. > No, you wouldn't have to write any tags, just change the rtexprvalue attributes in the tld file for the tags you want to use JSP

RE: S2: EL in tags 2.0.11

2007-10-29 Thread Desbois Arnaud
Try this: %{#request['javax.servlet.forward.context_path'] Arnaud -Message d'origine- De : cilquirm [mailto:[EMAIL PROTECTED] Envoyé : lundi 29 octobre 2007 17:51 À : user@struts.apache.org Objet : Re: S2: EL in tags 2.0.11 I believe this was a security fix, as the

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
Didn't work: I think that the best solution is rewrite the tld. Is painful. Manuel Correa. -Original Message- From: Desbois Arnaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 3:55 AM To: Struts Users Mailing List Subject: RE: S2: EL in tags 2.0.11 Try this: %{#re

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Chris Pratt
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > Didn't work: value="%{#request['javax.servlet.forward.context_path']"/> > > I think that the best solution is rewrite the tld. Is painful. > > Manuel Correa. > If you're looking for the simplest solution, you should be able to define a reque

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
That is not possible, because in Struts 2.0.11 you can't use EL in any Struts tag, including mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 12:11 PM To: Struts Users Mailing List Subject: Re: S2: EL in tags 2.0.11 On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: &g

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Chris Pratt
On 10/30/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > That is not possible, because in Struts 2.0.11 you can't use EL in any > Struts tag, including That's why I recommended using the JSTL instead. (*Chris*) - To unsubscrib

Re: S2: EL in tags 2.0.11

2007-10-30 Thread Ted Husted
ward.context_path']"/> > > I think that the best solution is rewrite the tld. Is painful. > > Manuel Correa. > > -Original Message- > From: Desbois Arnaud [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 30, 2007 3:55 AM > To: Struts Use

Re: S2: EL in tags 2.0.11

2007-10-31 Thread Chris Pratt
On 10/30/07, Ted Husted <[EMAIL PROTECTED]> wrote: > A better long-term solution might be to create a standard JSP 2.0 > taglib for Struts 2 that follows the same external API as the Struts 1 > EL tags, and didn't use OGNL at all. > > * http://struts.apache.org/1.3.8/struts-el/index.html > > This

Re: S2: EL in tags 2.0.11

2007-11-01 Thread Ted Husted
That's great, Chris! I opened a ticket to track the feature. Let us know when you have something to show! * https://issues.apache.org/struts/browse/WW-2284 -Ted. On Oct 31, 2007 11:01 AM, Chris Pratt <[EMAIL PROTECTED]> wrote: > On 10/30/07, Ted Husted <[EMAIL PROTECTED]> wrote: > > A better l