[
https://issues.apache.org/jira/browse/WICKET-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678027#action_12678027
]
SoulSpirit commented on WICKET-2134:
------------------------------------
When the current form is contained in a Border, all Border's children
(including already-visited children and other forms) are visited.
It looks like the problem rises at
Form.visitFormComponentsPostOrder(FormComponent.IVisitor), during the
validation process:
if (getParent() instanceof Border)
{
FormComponent.visitFormComponentsPostOrder(getParent(), visitor);
}
It seems to me that this piece code breaks everything.
> Conversion Exception Thrown for Submitting A Page with Multiple Forms within
> A Border
> --------------------------------------------------------------------------------------
>
> Key: WICKET-2134
> URL: https://issues.apache.org/jira/browse/WICKET-2134
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC2
> Environment: JDK 1.5, OS X
> Reporter: TH Lim
> Attachments: myproject.zip
>
>
> "org.apache.wicket.util.convert.ConversionException: Can't convert null value
> to a primitive class: int for setting it on" exception thrown when submitting
> a Page with multiple Forms within a Border. A "Bordered" Page with a single
> Form would not have this problem manifests. Also, if the Page by itself (not
> contained in a Border) is alright too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.