You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2006/03/15 22:52:30 UTC
model update phase: error message
During model update, when a setter method throws an exception, the following message will display:
"_idJsp137": Error during model data update.
public void setValue(String value) throws MyException {
...
throw new MyException("my error message");
}
I like "my error message" to be used instead of the JSF generated one that will confuse users. What exception should I throw in order for the message to be taken?
Thanks for help,
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
Re: model update phase: error message
Posted by Dave <ja...@yahoo.com>.
Hi Jurgen,
Its priority is minor. Could you upgrade it to critical so that it will not be forgotten. Thanks!
Jurgen Lust <Ju...@UGent.be> wrote:
I've already opened a JIRA issue on this, which also contains the necessary patch:
https://issues.apache.org/jira/browse/MYFACES-1157
Jurgen
Dave schreef: During model update, when a setter method throws an exception, the following message will display:
"_idJsp137": Error during model data update.
public void setValue(String value) throws MyException {
...
throw new MyException("my error message");
}
I like "my error message" to be used instead of the JSF generated one that will confuse users. What exception should I throw in order for the message to be taken?
Thanks for help,
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
Re: model update phase: error message
Posted by Dave <ja...@yahoo.com>.
Hi Jurgen,
Thanks. this is great!
Patch reviewers: Please add this patch ASAP. Everything users see are urgent !
Thanks!
Jurgen Lust <Ju...@UGent.be> wrote:
I've already opened a JIRA issue on this, which also contains the necessary patch:
https://issues.apache.org/jira/browse/MYFACES-1157
Jurgen
Dave schreef: During model update, when a setter method throws an exception, the following message will display:
"_idJsp137": Error during model data update.
public void setValue(String value) throws MyException {
...
throw new MyException("my error message");
}
I like "my error message" to be used instead of the JSF generated one that will confuse users. What exception should I throw in order for the message to be taken?
Thanks for help,
---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
Re: model update phase: error message
Posted by Jurgen Lust <Ju...@UGent.be>.
I've already opened a JIRA issue on this, which also contains the
necessary patch:
https://issues.apache.org/jira/browse/MYFACES-1157
Jurgen
Dave schreef:
> During model update, when a setter method throws an exception, the
> following message will display:
>
> "_idJsp137": Error during model data update.
>
> public void setValue(String value) throws MyException {
> ...
> throw new MyException("my error message");
> }
>
> I like "my error message" to be used instead of the JSF generated one
> that will confuse users. What exception should I throw in order for
> the message to be taken?
>
> Thanks for help,
>
> ------------------------------------------------------------------------
> Brings words and photos together (easily) with
> PhotoMail
> <http://us.rd.yahoo.com/mail_us/taglines/PMall/*http://photomail.mail.yahoo.com>
> - it's free and works with Yahoo! Mail.