[richfaces-issues] [JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Tue Feb 19 13:59:56 EST 2013
[ https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stan Silvert reassigned RF-12797:
---------------------------------
Assignee: Brian Leathem (was: Stan Silvert)
Assigning back to Brian. This doesn't look like an AS7 issue.
I tried just looking at a RichFaces app using ckeditor and observed how each component retrieves its javascript.
If you look at the difference between ckeditor and other components you see a difference in how they obtain js resources. All other components go through the ResourceHandler, so you see a request that maps to the FacesServlet like this:
http://localhost:8080/bootstrap-quickstart/javax.faces.resource/inplaceInput.js.jsf?ln=org.richfaces
But with ckeditor you see the GET from above which does not use the JSF ResourceHandler. In my app I see this for getting the Spanish language js:
http://localhost:8080/bootstrap-quickstart/org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/lang/es.js?t=D03G5XL
So I'm fairly certain that the problem is in the ckeditor component.
> rich:editor not rendered when using RichFaces module
> ----------------------------------------------------
>
> Key: RF-12797
> URL: https://issues.jboss.org/browse/RF-12797
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.3.0.Final
> Environment: JBoss 7.1.1
> Reporter: Serge Mürset
> Assignee: Brian Leathem
> Attachments: editor-test.zip
>
>
> I want to configure my Webapp to use RichFaces as a JBoss module not a library. To achieve this, I create the module org.richfaces with version 4.3.0 in module directory of JBoss.
> As soon as I switch from library to module, the rich:editor is not rendered anymore. In the Browser History i read
> [15:07:25.511] GET http://localhost:8080/editor-test/org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/lang/de.js?t=D03G5XL [HTTP/1.1 404 Not Found 1ms]
> I validated that the resource lang/de.js is available in classpath though.
> 15:01:02,780 INFO [stdout] (MSC service thread 1-5) The following resource(s) are found at location /META-INF/resources/org.richfaces.ckeditor/lang/de.js
> 15:01:02,781 INFO [stdout] (MSC service thread 1-5) --- jar:file:/opt/jboss-7.1.1/modules/org/richfaces/main/richfaces-components-ui-4.3.0.Final.jar!/META-INF/resources/org.richfaces.ckeditor/lang/de.js
> Weird enough, all other components I checked still work. I followed the instructions of https://issues.jboss.org/browse/RF-12008.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list