Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 39494 invoked from network); 15 Mar 2006 23:15:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Mar 2006 23:15:37 -0000 Received: (qmail 73689 invoked by uid 500); 15 Mar 2006 23:15:32 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 73654 invoked by uid 500); 15 Mar 2006 23:15:32 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 73643 invoked by uid 99); 15 Mar 2006 23:15:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2006 15:15:32 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.163.179.134] (HELO web35510.mail.mud.yahoo.com) (66.163.179.134) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 15 Mar 2006 15:15:28 -0800 Received: (qmail 69840 invoked by uid 60001); 15 Mar 2006 23:15:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LWIB+ckKMxj3xT+9xa3rDUjUfVSAYR7VEh/kx4OEunj1/PDQ3/rmQlcyYyGR+FSpA4CfDhvZ566d/Ta/vQ3mG2oBW5w6MRUBxT6ndX4ShOuAoDG1TbiSq6Rn/+p/YYirZiqgB2Nllm4QSV67EJf84kQBEtZGMhT+PjuIidVFlTo= ; Message-ID: <20060315231507.69838.qmail@web35510.mail.mud.yahoo.com> Received: from [67.188.94.0] by web35510.mail.mud.yahoo.com via HTTP; Wed, 15 Mar 2006 15:15:07 PST Date: Wed, 15 Mar 2006 15:15:07 -0800 (PST) From: Dave Subject: Re: model update phase: error message To: MyFaces Discussion In-Reply-To: <44188EAB.3000407@UGent.be> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-999254525-1142464507=:69836" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-999254525-1142464507=:69836 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Jurgen, Thanks. this is great! Patch reviewers: Please add this patch ASAP. Everything users see are urgent ! Thanks! Jurgen Lust 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. --0-999254525-1142464507=:69836 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi Jurgen,
 
Thanks. this is great!
 
Patch reviewers: Please add this patch ASAP. Everything users see are urgent !
Thanks! 


Jurgen Lust <Jurgen.Lust@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 dat a 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. --0-999254525-1142464507=:69836--