On Tue, 30 Aug 2011 06:40:39 -0300, Wechsung, Wulf <wulf.wechs...@sap.com>
wrote:
Hello Thiago,
Hi!
thanks for your reply.
:)
I understand that store could be used to hook any code into form
submission. I was trying to say that sometimes this is used to simply
save some value to the form and restore it to the component on form
submit.
Again, this is not true.
For an example, see controlName in AbstractField.
This is not AbstractField saving a value: it's saving the control name
(a.k.a. query parameter) that will receive the value the user provided for
this field.
What I wanted to know is if this specific usage of formsupport.store
could be implemented as Persistence strategy in addition to Session,
Flash and Client if that makes any sense. It's not even that I want you
guys to implement this, just if you think this is possible and would
makes sense.
IMHO, this doesn't make any sense because FormSupport.store* don't store
field values. The information is stored in a hidden field inside the Form.
Again, you haven't said what you want to accomplish, so we can't suggest
anything for you.
--
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