Re: Log user changes to a form

2013-02-07 Thread Igor Vaynberg
if you are using hibernate here is envers...easier to do it on that
level rather then ui...

-igor

On Thu, Feb 7, 2013 at 4:11 PM, Paul Bors p...@bors.ws wrote:
 We have an enterprise web-app which is going through SAP qualification and
 a requirement has come through for our application’s settings changes to be
 logged.



 There are quite a number of pages for which now we must log the values of
 the form fields as they were before the user changed them and after they
 have been changed.



 Before I go crazy and implement my own form to traverse the wicket
 component tree for all of its children looking at form components and
 capturing their model objects I was wondering if anyone out there has run
 into such as use-case and how did you go about resolving it?



 Obviously I would like a generic approach rather than fix this at a
 per-page or per-form basics.

 ~ Thank you,
Paul Bors

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Log user changes to a form

2013-02-07 Thread Paul Bors
We're using a mixture of Hibernate with JDBC's DAOs.



I guess I'm faced with either mapping the rest of the tables in Hibernate
and using Envers or doing it in the UI.

If I end up doing this in the UI, I guess I'll create a separate project
and share it with the community for an AuditForm.

~ Thank you,
   Paul Bors

On Thu, Feb 7, 2013 at 8:41 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 if you are using hibernate here is envers...easier to do it on that
 level rather then ui...

 -igor

 On Thu, Feb 7, 2013 at 4:11 PM, Paul Bors p...@bors.ws wrote:
  We have an enterprise web-app which is going through SAP qualification
 and
  a requirement has come through for our application’s settings changes to
 be
  logged.
 
 
 
  There are quite a number of pages for which now we must log the values of
  the form fields as they were before the user changed them and after they
  have been changed.
 
 
 
  Before I go crazy and implement my own form to traverse the wicket
  component tree for all of its children looking at form components and
  capturing their model objects I was wondering if anyone out there has run
  into such as use-case and how did you go about resolving it?
 
 
 
  Obviously I would like a generic approach rather than fix this at a
  per-page or per-form basics.
 
  ~ Thank you,
 Paul Bors

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org