Re: weird message problem

2005-08-14 Thread Werner Punz
Come on, has nobody had this problem so far? I am really stuck here. Werner Werner Punz wrote: Hi I am trying to add a simple error handler to a form with a message upon an error condition, so far it works, some kind of message arrives but I get a weird error, here are the relevant code

RE: weird message problem

2005-08-14 Thread Albrecht Leiprecht
Shouldn't it be something like html:messages name=message/ or html:messages property=message/ instead? Rgds albi -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Saturday, August 13, 2005 10:32 PM To: user@struts.apache.org Subject: weird message

Re: weird message problem

2005-08-14 Thread Werner Punz
] On Behalf Of Werner Punz Sent: Saturday, August 13, 2005 10:32 PM To: user@struts.apache.org Subject: weird message problem Hi I am trying to add a simple error handler to a form with a message upon an error condition, so far it works, some kind of message arrives but I get a weird error, here

Re: weird message problem

2005-08-14 Thread Werner Punz
Albrecht Leiprecht wrote: Shouldn't it be something like html:messages name=message/ or html:messages property=message/ both caused the same weird error, btw.. html:messages needs an enforced id flag according to the tld. Werner

Re: weird message problem

2005-08-14 Thread Laurie Harper
Werner Punz wrote: Come on, has nobody had this problem so far? I am really stuck here. Not everybody on this list is chained to their desk through the weekend... :-) the part where the error is added: ActionMessages errors = new ActionMessages(); errors.add(message, new

Re: weird message problem

2005-08-14 Thread Werner Punz
Laurie Harper wrote: Not everybody on this list is chained to their desk through the weekend... :-) Well, yes good answer ;-) No, it means that it can't find a message resource with the key 'type mismatch failure...'. The argument to the ActionMessage constructor should be a resource key to

weird message problem

2005-08-13 Thread Werner Punz
Hi I am trying to add a simple error handler to a form with a message upon an error condition, so far it works, some kind of message arrives but I get a weird error, here are the relevant code snippets: the part where the error is added: ActionMessages errors = new