RE: how to handle clear input for custom FormComponents

2010-04-19 Thread Jeremy Thomerson
You shouldn't be committing your changes to the actual domain object until the form is submitted (your ok button). Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Dan Haywood dkhayw...@gmail.com Sent: Monday, April 19, 2010 5:53

Re: how to handle clear input for custom FormComponents

2010-04-19 Thread Dan Haywood
I found a way to make this work (though I worry the solution might be a little fragile). Basically, I'm overriding getInputAsArray() in my wrapper EntityLink, delegating to a hidden text field; then, in onBeforeRender() I check if there is input, and if not then infer that clearInput must've