Reputation: 71
When i am clicking on tapestry submit present outside the form;form is not getting submitted and throwing an exception
"no object of type FormSupport is avalibale for the Environment".
ALso i am npot able to pass string as context from it to event handler.Please help
Upvotes: 1
Views: 761
Reputation: 16311
Yes, that is expected behavior. All form field components, including Submit
, must be enclosed by a Form
component.
You can find more information in the forms sections of the documentation.
Upvotes: 0