You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/08/28 15:27:32 UTC
[jira] Created: (TRINIDAD-657) Create FormData dynamically as
necessary
Create FormData dynamically as necessary
----------------------------------------
Key: TRINIDAD-657
URL: https://issues.apache.org/jira/browse/TRINIDAD-657
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Components
Affects Versions: 1.0.2-core
Reporter: Adam Winer
In an A4J application, Trinidad components get extremely unhappy because the FormRenderer often doesn't get called, so the FormData doesn't get created, leading to NullPointerExceptions.
We should have a basic codepath to:
- Try getting the form data
- If it's null, try finding a Form component
- If one is found, create the form data on the fly and attach it to the RenderingContext
This'd address null pointer exceptions. You wouldn't get client-side validation state
updated correctly, but that's a smaller issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.