you think?
v.
-Message d'origine-
De: Korhonen, Kalle [mailto:[EMAIL PROTECTED]
Envoy: mercredi, 27. avril 2005 23:50
: MyFaces Discussion
Objet: RE: resetting a form
And another thing is that reset != clear. We have a reset button on one page
but all the action does is it calls
}/
h:commandButton value=Reset immediate=true
action=#{personPage.reset}/
/h:form
-Message d'origine-
De: Csk Norbert [mailto:[EMAIL PROTECTED]
Envoy: mercredi, 27. avril 2005 11:49
: MyFaces Discussion
Objet: Re: resetting a form
Check out my clear button. In faces-config I have
-Original Message-
From: Vincent SEVEL [mailto:[EMAIL PROTECTED]
Subject: RE: resetting a form
The only problem with this approach is that if you have
validation rules that apply to some of the fields you are
trying to reinit, you will not be able to get to your init()
method
Check out my clear button. In faces-config I have a navigation rule
for the clear outcome: from page.jspx to page.jspx. It works for me.
public class PageBean {
private String id;
private String name;
public PageBean() {
}
public String save() {
. Just seems so meaningless (and dangerous because of data
loss by accident), but maybe that is just me.
Aaron Bartell
http://mowyourlawn.com
-Original Message-
From: Jon Travis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 27, 2005 12:58 PM
To: MyFaces Discussion
Subject: Re: resetting
side action. input type=reset value=Reset. It doesn't
happen on the server.
- Original Message -
From: Aaron Bartell [EMAIL PROTECTED]
To: 'MyFaces Discussion' users@myfaces.apache.org
Sent: Wednesday, April 27, 2005 3:07 PM
Subject: RE: resetting a form
I was actually thinking
6 matches
Mail list logo