Re: Using Expression Language (EL) To Access ActionSupport Class Properties

2009-05-04 Thread Musachy Barroso
do not work when placed as the value for the name > attribute of the above tag. > > Since I could not get a Struts 2 tag or OGNL expression to work for the name > attribute in the JSecurity hasAnyRoles tag, I used  expression language, > which did work. > > I'm try

RE: Using Expression Language (EL) To Access ActionSupport Class Properties

2009-05-04 Thread phillips1021
name attribute in the JSecurity hasAnyRoles tag, I used expression language, which did work. I'm trying to determine if using EL to access a property of the ActionSupport class is OK in Struts 2. Thanks again for the suggestions. Bruce -- View this message in context: http://www.nabbl

RE: Using Expression Language (EL) To Access ActionSupport Class Properties

2009-05-04 Thread Martin Gainty
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Mon, 4 May 2009 11:00:36 -0700 > From: bphill...@ku.edu > To: user@st

Using Expression Language (EL) To Access ActionSupport Class Properties

2009-05-04 Thread phillips1021
d using: But that did not work even though we have a public method named getRoles in the action support class that renders this jsp page. So just for a test we tried using expression language (EL): And the above worked just fine. I didn't know you could access properties of the Actio

Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton
That works. Thanks. From: Dave Newton To: Struts Users Mailing List Sent: Friday, January 16, 2009 3:09:31 PM Subject: Re: S2.1 - struts tags vs jstl expression language Norris Shelton wrote: > I assumed that I had to use the struts tags. I noticed t

Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Dave Newton
Norris Shelton wrote: I assumed that I had to use the struts tags. I noticed that my > older ${} worked for my objects. Is there a compelling reason > to use the longer struts tags instead of JSTL EL? Typing practice for the angle brackets? The S2 request wrapper will map the EL requests to

S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton
I assumed that I had to use the struts tags. I noticed that my older ${} worked for my objects. Is there a compelling reason to use the longer struts tags instead of JSTL EL? Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisES

Re: Help on expression language

2007-09-29 Thread stanlick
detailed table reference, > source > code samples or source code implementations about the expression language? > > > Thanks in advance, > best regards. > > -- > View this message in context: > http://www.nabble.com/Help-on-expression-language-tf4538542.html#a12953443

Help on expression language

2007-09-29 Thread rigel
Hi, time ago I bookmarked a detailed table reference about EL, but now I lost this bookmark :super: . So, where to find detailed table reference, source code samples or source code implementations about the expression language? Thanks in advance, best regards. -- View this message in

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Zoran Avtarovski
7 05:20, wrote: >> That just sounds ridiculous. Because of the possibility of end users >> injecting malicious OGNL we won't be able to use JSP expression language. >> >> Pardon me for being blunt but isn't the obvious solution to fix the >> underlying vuln

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Ray Clough
NO! > - Original Message - > From: "Adam Hardy" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Subject: Re: Using JSTL Expression Language with Struts 2 tags > Date: Fri, 07 Sep 2007 00:42:11 +0100 > > > Is OGNL a standard

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
Chris Pratt on 07/09/07 00:45, wrote: On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote: Is OGNL a standard as well as JSTL? Depends what you mean by a standard? It comes standard with Struts 2, but it was not defined by some standards organization. Sorry, for the bad question. I'll check it

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Chris Pratt
On 9/6/07, Adam Hardy <[EMAIL PROTECTED]> wrote: > Is OGNL a standard as well as JSTL? > Depends what you mean by a standard? It comes standard with Struts 2, but it was not defined by some standards organization. (*Chris*) -

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
ling List" Subject: Re: Using JSTL Expression Language with Struts 2 tags Date: Thu, 6 Sep 2007 13:37:39 -0700 I am not Zoran but I tried for a few weeks to use OGNL but everytime I tried to type an OGNL expression it took me 3 or 4 attempts to make it do what I wanted. In every c

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Ray Clough
standards. (And I haven't even tried JSP 2.1 syntax yet). As it stands, this is a TERRIBLE shortcoming in S2. - Ray Clough - Original Message - From: "Kevin Lawrence" To: "Struts Users Mailing List" Subject: Re: Using JSTL Expression Language with Struts 2

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Kevin Lawrence
f the possibility of end users > > injecting malicious OGNL we won't be able to use JSP expression > language. > > >

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-06 Thread Adam Hardy
Zoran Avtarovski on 06/09/07 05:20, wrote: That just sounds ridiculous. Because of the possibility of end users injecting malicious OGNL we won't be able to use JSP expression language. Pardon me for being blunt but isn't the obvious solution to fix the underlying vulnerability in OGNL r

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread Zoran Avtarovski
That just sounds ridiculous. Because of the possibility of end users injecting malicious OGNL we won't be able to use JSP expression language. Pardon me for being blunt but isn't the obvious solution to fix the underlying vulnerability in OGNL rather than crippling JSP and Freemar

Re: Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread James Holmes
TED]> sent: >Hi > > > >Is there a way to use the JSTL Expression Language with Struts 2 tags > >instead of OGNL? > > > >Regards, > > > >Néstor Boscán > - To unsubscribe, e-m

Using JSTL Expression Language with Struts 2 tags

2007-09-05 Thread Néstor Boscán
Hi Is there a way to use the JSTL Expression Language with Struts 2 tags instead of OGNL? Regards, Néstor Boscán

Re: Expression Language

2006-03-24 Thread Rahul Akolkar
On 3/23/06, David M Sledge <[EMAIL PROTECTED]> wrote: > Do EL expressions only evaluate to String and primitive types? I have code > similar to the following in my jsp. > > > > > I will assume thats bean:write. > > > > Where uriList is an object of type java.util.List only containing > jav

Expression Language

2006-03-23 Thread David M Sledge
Do EL expressions only evaluate to String and primitive types? I have code similar to the following in my jsp. Where uriList is an object of type java.util.List only containing java.net.URI objects, and where uriValueMap has only java.net.URI objects as keys and has for values objec

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread vijay venkataraman
The text as is from JSP 2.0 Spec Point 1. EL expression An element in a JSP page representing an expression to be parsed and evaluated via the JSP Expression Language. Syntactically it is delimited by the ${ and } characters. Point 2. JSP.2.3.5.5 Relational Operators The relational operators

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread Rahul Akolkar
On 3/16/06, Morten Andersen <[EMAIL PROTECTED]> wrote: > I want to use JSTL to check the role of the user (it can be one of many) > > I'm new to JSTL so even the simplest things gives me problems: > > I've set the role using request.setAttribute("role" , role); > > This tag: > > > Prints out the r

Re: newbie guestion: JSTL Expression language

2006-03-16 Thread Wojciech Ciesielski
Morten Andersen wrote: I want to use JSTL to check the role of the user (it can be one of many) I'm new to JSTL so even the simplest things gives me problems: I've set the role using request.setAttribute("role" , role); This tag: Prints out the role fine While the following statements are

newbie guestion: JSTL Expression language

2006-03-16 Thread Morten Andersen
I want to use JSTL to check the role of the user (it can be one of many) I'm new to JSTL so even the simplest things gives me problems: I've set the role using request.setAttribute("role" , role); This tag: Prints out the role fine While the following statements are newer true:

Re: Off Topic Expression Language question

2006-02-23 Thread Jim Collins
t; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, February 23, 2006 2:26 PM Subject: Re: Off Topic Expression Language question is it always the same object (class) and the same method you are calling? In this case I'd suggest you write a three-line custom tag fo

Re: Off Topic Expression Language question

2006-02-23 Thread Leon Rosenberg
is it always the same object (class) and the same method you are calling? In this case I'd suggest you write a three-line custom tag for it. If you have to do it more often, maybe a tag using reflection api would be an answer. I you write one, let me know, I may need one too :-) regards Leon On 2

Off Topic Expression Language question

2006-02-22 Thread Jim Collins
Hi All, Appologies for the off topic posting. Does anyone Know how I can access a bean property that takes a parameter using EL. For example if in a bean I have define a name property with public String getName(){return name;} I can access this with EL ${mybean.name} But suppose in my bea

RE: Newbie Q - Struts expression language taglibs

2005-06-03 Thread Ibha Gandhi
Ok. Now I know it was in the contrib directory. Thanks, Ibha > -Original Message- > From: Ibha Gandhi [mailto:[EMAIL PROTECTED] > Sent: Friday, June 03, 2005 5:22 PM > To: 'Struts Users Mailing List' > Subject: Newbie Q - Struts expression language taglibs >

Re: Newbie Q - Struts expression language taglibs

2005-06-03 Thread Nicolas De Loof
Take a look into the contrib/struts-el/lib folder ! Nico. Ibha Gandhi a écrit : Hi All, From where can I download struts el tag libraries. I downloaded jakarta-struts-1.2.4.zip, but it does not contain struts-html-el tag libraries Thanks, Ibha -

Newbie Q - Struts expression language taglibs

2005-06-03 Thread Ibha Gandhi
Hi All, >From where can I download struts el tag libraries. I downloaded jakarta-struts-1.2.4.zip, but it does not contain struts-html-el tag libraries Thanks, Ibha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: standard-1.1.1 expression language not working

2004-09-20 Thread Anna Kerekes
I don't think you're using the set tag properly. Try: hope it helps, Anna Kerekes From: Pedro Salgado [mailto:[EMAIL PROTECTED] Sent: Mon 20/09/2004 1:15 PM To: Struts Users List Subject: standard-1.1.1 expression language not working Hi t

standard-1.1.1 expression language not working

2004-09-20 Thread Pedro Salgado
Hi to everyone! I have already used taglibs before but I am having some trouble making jstl core 1.1.1 taglib to evaluate expression languages on Tomcat 5.0.27. I have all of the required libraries on WEB-INF/lib/ (jstl, standard, jdbc_2_0_stdext, xalan and xerces). Tomcat does not give any

RE: Map backed ActionForm, and jstl expression language

2004-07-02 Thread John Martin
ting the props string and failing... Hope it didn't make your night much later. Rgds, John -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: 02 July 2004 04:49 To: [EMAIL PROTECTED] Subject: Re: Map backed ActionForm, and jstl expression language John, I

Re: Map backed ActionForm, and jstl expression language

2004-07-01 Thread Bill Siggelkow
John, I apologize -- it' late and I am tired but I was having a little trouble following your post ... however, if you have a map-backed form (property) that you want to expose to JSTL you will need to expose the Map itself in a getter. Map getValuesMap() { return values; } Then you can access

Map backed ActionForm, and jstl expression language

2004-07-01 Thread John Martin
Hi all, Any help on the following problem would be most appreciated. What i am trying to do is produce a report of data in tabular form with filters that will reduce the report set. There can be 100's of different reports but by passing in a report id to a database the query, filters, columns a

RE: Use JSP Expression Language in custom tags?

2004-03-29 Thread Paananen, Tero
> Sorry this is not directly related to Struts, but > is it possible to use the expression language in > custom tags? Check org.apache.strutsel.taglib.utils.EvalHelper That's the class used to evaluate the expressions in struts-el tags (in version 1.1 anyway). Looks like it&#x

RE: Use JSP Expression Language in custom tags?

2004-03-27 Thread Karr, David
our base library, and have the "lib-el" library just deal with expression evaluation. This is exactly how the Struts-EL library is structured. -Original Message- From: Chan, Jim [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 4:08 PM To: '[EMAIL PROTECTED]' S

Re: Use JSP Expression Language in custom tags?

2004-03-27 Thread Joe Germuska
At 4:07 PM -0800 3/26/04, Chan, Jim wrote: Sorry this is not directly related to Struts, but is it possible to use the expression language in custom tags? I think you can, but I am not quite sure how to do it. Do you get this for free by just upgrading to a JSP 2.0 compliant server? Or do I

RE: Use JSP Expression Language in custom tags?

2004-03-26 Thread Craig Berry
rName, attrVal, String.class, this, pageContext); } -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 4:33 PM To: Struts Users Mailing List Subject: Re: Use JSP Expression Language in custom

Re: Use JSP Expression Language in custom tags?

2004-03-26 Thread Niall Pemberton
I'm not using JSP 2.0, but I believe you can only use expression language with standard tags supplied (JSTL). Someone has created "expression language" enabled versions of the standard Struts tags which are currently in the "contrib" area. Why not look at how the standard