Normally, it's just easiest to update all the values and if they haven't
changed, no harm, no foul.  But if you need to, you can put a check in the
parameter mutators of the action.  Something like:

private Bean bean;

public void setName (String name) {
  if(!name.equals(bean.getName())) {
    bean.setModified(true);
  }
}

(*Chris*)

On Mon, Aug 24, 2009 at 7:43 PM, damuchinni <damuchi...@gmail.com> wrote:

>
> Hi ,
>
> is there any predefined method for checking whether bean value is modified
> with previous value.
>
> Please help me.
>
> need to know in which version it is available
>
> Thanks
>
> Dam
> --
> View this message in context:
> http://www.nabble.com/how-to-check-values-of-bean-is-modified-in-a-form-tp25126457p25126457.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to