RE: resetting a form

2005-04-29 Thread Korhonen, Kalle
> -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 t

RE: resetting a form

2005-04-29 Thread Vincent SEVEL
reset /reset/person.jsp Lastname : Firstname : -Message d'origine- DeÂ: CsÃk Norbert [mailto:[EMAIL PROTECTED] EnvoyÃÂ: mercredi, 27. avril 2005 11:49 Ã

RE: resetting a form

2005-04-29 Thread Vincent SEVEL
). What do 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

RE: resetting a form

2005-04-27 Thread Aaron Bartell
This is the first good reason I have heard. Kalle made a good point in her email that I didn't know. Reset != clear. Thanks Kalle -Original Message- From: Rob Decker [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 4:48 PM To: MyFaces Discussion Subject: Re: resetting a

RE: resetting a form

2005-04-27 Thread Korhonen, Kalle
> To: 'MyFaces Discussion' > Subject: RE: resetting a form > > I was actually thinking the opposite. As long as I can > remember back I have never used a form reset button (not even > when I was doing my web programming with RPG CGI or PHP). I > guess I would look a

Re: resetting a form

2005-04-27 Thread Rob Decker
lient side action. . It doesn't happen on the server. - Original Message - From: "Aaron Bartell" <[EMAIL PROTECTED]> To: "'MyFaces Discussion'" Sent: Wednesday, April 27, 2005 3:07 PM Subject: RE: resetting a form I was actually thinking the op

Re: resetting a form

2005-04-27 Thread Csík Norbert
(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 > Su

Re: resetting a form

2005-04-27 Thread Jon Travis
provide. 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: r

RE: resetting a form

2005-04-27 Thread Aaron Bartell
Discussion Subject: Re: resetting a form Isn't he talking about things which have inputs? Clearing the ID is just resetting a read-only parameter, which is a little different than UIInput components. What I've been using is a method which recurses through a tree, checking if components ar

Re: resetting a form

2005-04-27 Thread Jon Travis
Isn't he talking about things which have inputs? Clearing the ID is just resetting a read-only parameter, which is a little different than UIInput components. What I've been using is a method which recurses through a tree, checking if components are UIInputs. If they are, it just does component.s

Re: resetting a form

2005-04-27 Thread Csík Norbert
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()