Re: Displaying and error

2006-05-31 Thread John Hutchinson
Bingo. Thanks. That's weird. On 5/31/06, Samere, Adam J <[EMAIL PROTECTED]> wrote: Try ${requestScope['org.apache.struts.action.EXCEPTION']} -Original Message- From: John Hutchinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 1:41 PM To: user@stru

Displaying and error

2006-05-31 Thread John Hutchinson
Anyone know why this doesn't work in a JSP error page: <%@ page isErrorPage="true" %> ... test ${requestScope.org.apache.struts.action.EXCEPTION} no error found I've forced an exception, and I see org.apache.struts.action.EXCEPTION in the request attributes (w

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Figured it out. dynabean.map.prop should be .map. Where is the name of your form from struts-config. You can't actually use 'dynabean'. On 8/24/05, John Hutchinson <[EMAIL PROTECTED]> wrote: > I was under the impression that the form bean itself is a 'gimm

Re: DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
I was under the impression that the form bean itself is a 'gimmie' and does not explicitly need to be set in the request scope (or any other scope for that matter). For example, the tag works without needing the 'name' property, so somehow the tag knows to look in the form bean in this case. I

DynaForms and EL (dynabean.map not working)

2005-08-24 Thread John Hutchinson
Hi there. I have a form that uses org.apache.struts.validator.LazyValidatorForm. When I pre-populate this form before displaying it, I use code like the following in the action: final DynaBean dynaForm = (DynaBean)form; dynaForm.set("displayName", "test"); In my JSP, I have a element that loo