On Apr 14, 2010, at 4:36 PM, Thiago H. de Paula Figueiredo wrote:

On Wed, 14 Apr 2010 18:32:39 -0300, Robert Hailey <rob...@cmediacorp.com > wrote:

I'd like to pragmatically change the super-class's field 'clientId' so that I can get a good string value coming into processSubmission.

What exactly are you trying to implement?


Well... it's a conglomerate field which is backed by a hibernate pojo and represents a date range (so it contains two dateFields).

So I'd like to be able to render it as: <t:dateRangeField value="dbPojo"/>

At present I just copied/modified AbstractField to get setClientId access, and it mostly works.

It looks like tapestry now and then does not initialize one of the injected parameters during the processSubmission time, though. Since my client id is derived from the hibernate id, I can easily reload it (it's just a bit kludge-ish).

--
Robert Hailey


Reply via email to