Re: struts-el and messages

2003-10-17 Thread Chris Searle
> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > And the message code JSP: > id="message" message="true"> value="${messsge}"/> > > Nothing displays. Sent that a bit too fast. Think that : would benefit by being: :-) -- Chris Searle [EMAIL PROTECTED]

Re: struts-el and messages

2003-10-17 Thread Chris Searle
> "Steve" == Steve Raeburn <[EMAIL PROTECTED]> writes: > The nightly build has a method that allows you to store > messages in the session. They are automatically removed > after being displayed. > Action: protected void saveMessages(HttpSession session, > ActionMessages

Re: struts-el and messages

2003-10-17 Thread Adam Hardy
On 10/17/2003 10:43 AM Chris Searle wrote: "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > Had the problem with using the html:messages with struts-el > from the 1.1RC1 build (NullPointerException) - so I've just > upgraded to 1.1 (thought I'd already done so). > Now - I get

Re: struts-el and messages

2003-10-17 Thread Adam Hardy
Chris, This works for me: <%=org.apache.struts.action.ActionErrors.GLOBAL_ERROR %> I think by default your messages tag is not showing errors. That's what the 'property' attribute is for. Also, although I've forgotten the details - I think that message="true" means that it will pick up

RE: struts-el and messages

2003-10-17 Thread Steve Raeburn
[EMAIL PROTECTED] > Sent: October 17, 2003 1:44 AM > To: [EMAIL PROTECTED] > Subject: Re: struts-el and messages > > > >>>>> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > > > Had the problem with using the html:messages with struts-e

Re: struts-el and messages

2003-10-17 Thread Chris Searle
> "Chris" == Chris Searle <[EMAIL PROTECTED]> writes: > Had the problem with using the html:messages with struts-el > from the 1.1RC1 build (NullPointerException) - so I've just > upgraded to 1.1 (thought I'd already done so). > Now - I get no exception - but I get no message

struts-el and messages

2003-10-17 Thread Chris Searle
OK, Had the problem with using the html:messages with struts-el from the 1.1RC1 build (NullPointerException) - so I've just upgraded to 1.1 (thought I'd already done so). Now - I get no exception - but I get no message either. The servlet code: ActionErrors errors = new ActionErro