Form.findForm(Component c) bug. When form is part of Border and form component
like TextField is inside another Border , component cannot resolve its form.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-2453
URL: https://issues.apache.org/jira/browse/WICKET-2453
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.4.1
Reporter: Branislav Kalas
I have Border class which renders Form and some other elements for feedback
messages.
Class included in attachments.
Into this border i am putting form component which is Panel and in that Panel
is another Border.
Borders form has body container added.
When i submit form i get error "Could not find Form parent for ..."
It's because Form.findForm method search for Form.class just in nearest
component Border and not in all Borders upper in hierarchy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.