2011/10/13 Dávið Klein Sundsskarð <d...@amc.dk>:

> Hi,
>
> I want empty textfields to post "" instead of null when empty. I have 
> implemented a nullfieldstrategy and it can be set on the textfield, but the 
> grid creates the textfields on the fly. I am therefore unable to set my 
> strategy.
> The AbstractTextField has a default NullFieldStrategy defined and I am 
> actually asking if any of you guys know how i can override it.
> I can't contribute a new "defaults" as that conflicts. I would prefer to 
> avoid MethodAdvice as that seems like a hack...
> Any ideas?

There's an ongoing discussion on dev@ to put those defaults into
Symbols so you just have to put your default into Symbol (for instance
ApplicationDefaults) and it will be picked up by any components.

I encourage you to participate to bring your use case.

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to