Sunday, March 29, 2015

GWT Editors - temporary field

Hi everyone,

my question is regarding the Editors framework with Requestfactor, that im qctually using.

I got a proxy with two dates, that is used with editors. Now I want to show the difference of these two dates in a seperate field (i.e. 2 hours).
One simple approach could be, after calling driver.edit(proxy), to calculate the diff for the dates manually.
Another could be, to add the diff-field to my proxy. Since the field is read-only + its a temporary field, that is not and should not be persisted, that wouldnt be the best solution I think.


Im not deep in editors, I just got the base Editors+Requestfactory example running. So my question is, whats the best / simplest way, to include a temporary non persitent field with editors?

Thanks in advance.

Regards,
Manuel

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment