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
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
] 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
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
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
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
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
7 matches
Mail list logo