[
https://issues.apache.org/jira/browse/TAPESTRY-2690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12633267#action_12633267
]
Jonathan Barker commented on TAPESTRY-2690:
-------------------------------------------
I finally did the sensible thing and looked at what I actually did in a similar
situation...
Try adding:
public void onPrepareForSubmitFromForm(){
if (_users == null)
_users = new ArrayList<User>();
}
Assuming that solves your problem, the question is then, should a null source
be tolerated in this case?
> Cannot submit when Form is around Grid
> --------------------------------------
>
> Key: TAPESTRY-2690
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2690
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.15
> Reporter: Geoff Callender
> Attachments: Application Exception.webarchive, server.log
>
>
> When Form is around a Grid a submit results in:
> Failure reading parameter 'source' of component
> theapp/security/UserSearch:grid.columns.loop:
> org.apache.tapestry5.ioc.internal.util.TapestryException
> ...snipped...
> Caused by: java.lang.NullPointerException
> at
> org.apache.tapestry5.corelib.components.GridColumns.getColumnNames(GridColumns.java:226)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]