Invalid form action is generated on errorPresenter
- maarlin
- Member | 207
The problem is caused by this:
https://github.com/…/UI/Form.php#L69
When user gets an error rendered by an ErrorPresenter, and there's a form inside layout (therefore the component is inside BasePresenter), the action is generated as similar:
/error/?do=componentName-submit
Because Error presenter is not linkable, ain't sure about any good solution than:
- overloading
attached()method in desired form and setting it up to any other linkable presenter in case it is attached to error presenter - add a
ONE_WAYroute for error presenter, which would lead to a linkable presenter
Any other ideas?
Last edited by maarlin (8. 4. 2013 7:50)
RSS feed
Topic closed