I have written an ajax component: kind of tree which shows current node and
all its parent ind child nodes (but only for current node - nodes which are
not relatives of current are not visible). Component consists of zone which
is reloaded after user clicks on any of visible nodes.

I want this component to be a form element (it implements Field interface).
How can I pass current node id?
My idea was that html which is returned after ajax request (zone reload)
contains not only nodes to show but also hidden form field containing id.

Doesn't work. I get exception: "No object of type
org.apache.tapestry5.services.FormSupport is available from the
Environment".

It seems other people also face this problem:
http://www.nabble.com/-T5--Ajax-And-Zones---Missing-FormSupprt-td20373776.html
http://www.nabble.com/-T5--Ajax-And-Zones---Missing-FormSupprt-td20373776.html 

If form elements are not allowed in zones, what is the solution?

PS: missing hidden form element in core tapestry library is bad idea. But
that was discussed in other threads.


-- 
View this message in context: 
http://www.nabble.com/Form-elements-in-Zones-tp20464921p20464921.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to