Re: Help with an Expression in a JSP page.

2009-04-10 Thread Dave Newton
Charlesmel Carino wrote: I think that the department object needs to be declared as a bean > first before you can actually reference it. Not really; OGNL, like JSTL, allows property access. Dave - To unsubscribe, e-mail: use

Re: Help with an Expression in a JSP page.

2009-04-10 Thread Dave Newton
Security Management wrote: > The second gives me the correct number, but the first does not. I want the first to translate to: I'm not sure why you need to use bare stack access to get a value from an iterator, but try "personProvider.department(%{[0].top})" as a s

Re: Help with an Expression in a JSP page.

2009-04-09 Thread Charlesmel Carino
I think that the department object needs to be declared as a bean first before you can actually reference it. Rommel From: Security Management To: Struts Users Mailing List Sent: Thursday, April 9, 2009 10:54:21 AM Subject: Help with an Expression in a JSP

Help with an Expression in a JSP page.

2009-04-09 Thread Security Management
All, I have the following: The second gives me the correct number, but the first does not. I want the first to translate to: getPersonProvider().getDepartment(1) Which is a