On Thu, 13 Oct 2011 06:50:47 -0300, Dávið Klein Sundsskarð <d...@amc.dk> wrote:

Hi,

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?

I'm not aware of any way to do that, but it seems like something simple for Tapestry to provide. You can file a JIRA at the Tapestry issue tracker: https://issues.apache.org/jira/browse/TAP5.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to