[Resin-interest] EL 2.2?

2014-03-11 Thread Rick Mann
I'm trying to access a bean in request scope (in a JSP page) that takes a 
parameter. The method is

getFieldError(String field);

I'm trying to write EL like this:

span${br.fieldError(email)}/span

But it renders nothing. Note that the void parameter list version of the method 
works correctly (if I call it without an argument list).

As I understand it, EL 2.2 should work this way. Do I need to do something to 
ensure the JSP page is executing EL 2.2? Does it need to be enabled in some way?

Thanks!

-- 
Rick





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] EL 2.2?

2014-03-11 Thread Rick Mann
Hmm, I tried again, and it does indeed seem to work.

On Mar 11, 2014, at 18:56 , Rick Mann rm...@latencyzero.com wrote:

 I'm trying to access a bean in request scope (in a JSP page) that takes a 
 parameter. The method is
 
   getFieldError(String field);
 
 I'm trying to write EL like this:
 
   span${br.fieldError(email)}/span
 
 But it renders nothing. Note that the void parameter list version of the 
 method works correctly (if I call it without an argument list).
 
 As I understand it, EL 2.2 should work this way. Do I need to do something to 
 ensure the JSP page is executing EL 2.2? Does it need to be enabled in some 
 way?
 
 Thanks!
 
 -- 
 Rick
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


-- 
Rick





signature.asc
Description: Message signed with OpenPGP using GPGMail
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest