How know witch data in changed

2007-11-12 Thread mario.buonopane
Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a PhaseListener that compare data of each component before and after apply Request phase. What do you think? Any suggestion is Appreciated. Regards Mario

Re: How know witch data in changed

2007-11-12 Thread Adrian Mitev
Why don't you use valueChangeListener ? 2007/11/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a PhaseListener that compare data of each component before and after apply

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, sounds like you are searching for the mechanism of ValueChangeListeners. regards, gerhard 2007/11/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hello, I need to know witch data of a view is changed. Is there a way to do that with no specific code? I'm going to do it in a

Re: How know witch data in changed

2007-11-12 Thread Cagatay Civici
? Thanks, M. From: Gerhard Petracek [mailto:[EMAIL PROTECTED] Sent: 12 novembre 2007 13.34 To: MyFaces Discussion Subject: Re: How know witch data in changed hello mario, sounds like you are searching for the mechanism of ValueChangeListeners

RE: How know witch data in changed

2007-11-12 Thread mario.buonopane
To: MyFaces Discussion Subject: Re: How know witch data in changed Hi, A phaselistener may work here, in after phase of restore view, traverse the component tree, if the component is an editablevalueholder, cast the component to editablevalueholder and add the valuechangelistener by addValueChangeListener

Re: How know witch data in changed

2007-11-12 Thread Cagatay Civici
Civici [mailto:[EMAIL PROTECTED] Sent: 12 novembre 2007 14.50 To: MyFaces Discussion Subject: Re: How know witch data in changed Hi, A phaselistener may work here, in after phase of restore view, traverse the component tree, if the component is an editablevalueholder, cast the component

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
hello mario, today it's my third and last try to send this answer :-/ (at the moment there is a strange situation - some of my mails are not delivered and some others are (but they were send to the same address(es) at a later point of time compared to the undelivered mails) - at the moment the

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
ValueChangeListener si added or replace existings? Thank, Mario -Original Message- From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: 12 novembre 2007 14.50 To: MyFaces Discussion Subject: Re: How know witch data in changed Hi, A phaselistener may work here, in after phase

Re: How know witch data in changed

2007-11-12 Thread Gerhard Petracek
for other reasons? The new ValueChangeListener si added or replace existings? Thank, Mario -Original Message- From: Cagatay Civici [mailto:[EMAIL PROTECTED] Sent: 12 novembre 2007 14.50 To: MyFaces Discussion Subject: Re: How know witch data in changed Hi, A phaselistener may work here