On Fri, 26 Oct 2012 11:17:21 -0200, o1550762 <o1550...@rtrtr.com> wrote:
OK, how to do that? To make some function of type BeanModel with parameters of an Object, and inside it to write if function that if that object holds 0 or null value( by getField() function) to add to the bean model that field(property) and to return that bean model. Is that what you had on your mind?
Something similar to that. I didn't know what you were talking about until my last message, otherwise I would have provided
Use the BeanModelSource to create a BeanModel. For every null or 0 property of your edited object, remove the corresponding field in the BeanModel by using its exclude() method.
-- Thiago H. de Paula Figueiredo --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org