Hi Jose, The way I do this is carry the PK as a hidden field in the form. Then, when it submits I query to get the original object (I build an example object using the PK I sent myself as a hidden field and do a QueryByCriteria), update it's values, and then store it again. Someone else may have a better way -- but that works fine for me.
This is a good example of why PKs should have no special business meaning :-) (it will be publicly visible) Jose Galiana wrote: >By the way, > >I�ve noticed there are many samples for retreive objects from DB, but no >samples to store objects and collection to work with WEB-apps. > >Are there any sample for that? > >Thanks >Jose Galiana > -- Eddie Bush -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
