[
https://issues.jboss.org/browse/RF-10951?page=com.atlassian.jira.plugin.s...
]
Lukáš Fryč commented on RF-10951:
---------------------------------
Hi Richard, I have tried on your sample, but
getting:
java.lang.IllegalStateException: Cannot create a session after the response has been
committed
org.apache.catalina.connector.Request.doGetSession(Request.java:2377)
I will then try on tag 1.20 then, let me know if you expect it work.
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
Assignee: Lukáš Fryč
Fix For: 4.1.0.Milestone1
Attachments: addressbook-myfaces2-richfaces.war,
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