FYI, Greg just checked in an update that adds a clear() method to Component. You can now call this on your form to clear it, which will probably be easier than the aforementioned "clear bind context".
Cheers, -T On Mon, Oct 5, 2009 at 11:51 AM, Greg Brown <gkbr...@mac.com> wrote: > You could wrap your bean in a "decorator" dictionary that converts > totalPrice to an empty string when it is 0. The Stock Tracker tutorial does > something similar. > > On Oct 5, 2009, at 11:46 AM, Vicente de Rivera III wrote: > > Only one very small prob, I have a double totalPrice in my java bean. Some > other parts of the app, I need it to show 0.00 and now I need to show it > blank > > On Mon, Oct 5, 2009 at 7:10 PM, Todd Volkert <tvolk...@gmail.com> wrote: > >> I'd do it via data binding -- call form.load() and pass a dictionary that >> contained data binding key/value pairs whose values would clear your >> components. >> >> -T >> >> >> On Mon, Oct 5, 2009 at 6:56 AM, Vicente de Rivera III < >> thirdy.deriv...@gmail.com> wrote: >> >>> Hi, how do you clear the contents of a Form? >> >> >> > >