[richfaces-issues] [JBoss JIRA] Issue Comment Edited: (RF-10951) Dynamically created components lose CSS/JavaScript on POSTback
Richard Kennard (JIRA)
jira-events at lists.jboss.org
Mon Apr 25 07:21:18 EDT 2011
[ https://issues.jboss.org/browse/RF-10951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597739#comment-12597739 ]
Richard Kennard edited comment on RF-10951 at 4/25/11 7:21 AM:
---------------------------------------------------------------
Maven-based test app to reproduce the issue.
The app uses MyFaces 2 rather than Mojarra 2, because Mojarra 2 has issues of its own (http://java.net/jira/browse/JAVASERVERFACES-1826 - please vote!).
was (Author: kennardconsulting):
Maven-based test app to reproduce the issue
> Dynamically created components lose CSS/JavaScript on POSTback
> --------------------------------------------------------------
>
> Key: RF-10951
> URL: https://issues.jboss.org/browse/RF-10951
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.0.Final
> Reporter: Richard Kennard
> Attachments: RichFacesDynamicComponentTest.zip
>
>
> Hi guys,
> First, thanks for a great release in RichFaces 4!
> I have come across (what I think is) a bug and have put together a small test app that reproduces it. RichFaces components that are creating dynamically (programmatically) using...
> application.createComponent( context, componentType, rendererType )
> ...do not automatically re-inject their CSS/JavaScript resources into <h:head/> following a POSTback. For example, if an incorrect value is entered into a field and a validation error occurs, no programmatically created RichFaces components work when redisplayed. In fact, they may not redisplay at all (having lost their CSS).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list