[JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12797:
-------------------------------
Steps to Reproduce:
1) copy there richfaces jars from richfaces-4.3.0.Final.zip distribution:
{quote}
richfaces-components-api-4.3.0.Final.jar
richfaces-components-ui-4.3.0.Final.jar
richfaces-core-api-4.3.0.Final.jar
richfaces-core-impl-4.3.0.Final.jar
{quote}
2) add following module.xml:
{code}
<module xmlns="urn:jboss:module:1.1" name="org.richfaces">
<resources>
<resource-root path="richfaces-components-api-4.3.0.Final.jar"/>
<resource-root path="richfaces-components-ui-4.3.0.Final.jar"/>
<resource-root path="richfaces-core-api-4.3.0.Final.jar"/>
<resource-root path="richfaces-core-impl-4.3.0.Final.jar"/>
<!-- Insert resources here -->
</resources>
<dependencies>
<module name="org.w3c.css.sac"/>
<module name="net.sourceforge.cssparser"/>
<module name="com.sun.jsf-impl"/>
<module name="javax.api"/>
<module name="javax.faces.api"/>
<module name="javax.xml.bind.api"/>
<module name="javax.xml.jaxp-provider"/>
<module name="com.google.guava"/>
</dependencies>
</module>
{code}
3) Unpack the attached zip.
4) Build a War, which points to Richfaces module: gradle assemble
(to build a War with included RF, run: gradle -Dendorsed=true assemble)
5) Deploy to War to JBoss
6) Startup Log of JBoss will show that the required resources are available.
7) Go to http://localhost:8080/editor-test/index.jsf . With RF module, rich:editor won't show.
8) if you use gradle -Dendorsed=true assemble, the editor will be visible
was:
1) copy there richfaces jars from richfaces-4.3.0.Final.zip distribution:
richfaces-components-api-4.3.0.Final.jar
richfaces-components-ui-4.3.0.Final.jar
richfaces-core-api-4.3.0.Final.jar
richfaces-core-impl-4.3.0.Final.jar
2) add following module.xml:
<module xmlns="urn:jboss:module:1.1" name="org.richfaces">
<resources>
<resource-root path="richfaces-components-api-4.3.0.Final.jar"/>
<resource-root path="richfaces-components-ui-4.3.0.Final.jar"/>
<resource-root path="richfaces-core-api-4.3.0.Final.jar"/>
<resource-root path="richfaces-core-impl-4.3.0.Final.jar"/>
<!-- Insert resources here -->
</resources>
<dependencies>
<module name="org.w3c.css.sac"/>
<module name="net.sourceforge.cssparser"/>
<module name="com.sun.jsf-impl"/>
<module name="javax.api"/>
<module name="javax.faces.api"/>
<module name="javax.xml.bind.api"/>
<module name="javax.xml.jaxp-provider"/>
<module name="com.google.guava"/>
</dependencies>
</module>
3) Unpack the attached zip.
4) Build a War, which points to Richfaces module: gradle assemble
(to build a War with included RF, run: gradle -Dendorsed=true assemble)
5) Deploy to War to JBoss
6) Startup Log of JBoss will show that the required resources are available.
7) Go to http://localhost:8080/editor-test/index.jsf . With RF module, rich:editor won't show.
8) if you use gradle -Dendorsed=true assemble, the editor will be visible
> 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
> 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.res... [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
11 years, 4 months
[JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
by Serge Mürset (JIRA)
Serge Mürset created RF-12797:
---------------------------------
Summary: 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
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.res... [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
11 years, 4 months
[JBoss JIRA] (RF-12797) rich:editor not rendered when using RichFaces module
by Serge Mürset (JIRA)
[ https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.s... ]
Serge Mürset updated RF-12797:
------------------------------
Attachment: editor-test.zip
Test webapp to demonstrate that rich:editor does not work with RF module
> 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
> 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.res... [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
11 years, 4 months
[JBoss JIRA] (RF-12759) rich:hotkey doesn't work with a4j:commandButton
by Edilmar Alves (JIRA)
[ https://issues.jboss.org/browse/RF-12759?page=com.atlassian.jira.plugin.s... ]
Edilmar Alves commented on RF-12759:
------------------------------------
Tested with RF4.3.0, and it still doesn't work.
> rich:hotkey doesn't work with a4j:commandButton
> -----------------------------------------------
>
> Key: RF-12759
> URL: https://issues.jboss.org/browse/RF-12759
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-misc
> Affects Versions: 4.2.3.Final
> Environment: Linux Fedora 16 x64, NetBeans 7.2, GlassFish 3.1.1, CDI/Weld/CODI, JSF2, RichFaces4.2.3, Hibernate3.2.5, Firebird 2.5.1
> Reporter: Edilmar Alves
> Assignee: Lukáš Fryč
> Labels: hotkey, waiting_on_user
> Attachments: test.java, test.xhtml
>
>
> When I try to use rich:hotkey with a4j:commandButton, it doesn't work. A detailed explanation about this is in the forum.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12784) Showcase readme - update deployment from eclipse part
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12784?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12784:
-------------------------------
Original Estimate: 30 minutes
Remaining Estimate: 30 minutes
> Showcase readme - update deployment from eclipse part
> -----------------------------------------------------
>
> Key: RF-12784
> URL: https://issues.jboss.org/browse/RF-12784
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: doc, showcase
> Affects Versions: 4.3.0.Final, 5-Tracking
> Reporter: Juraj Húska
> Priority: Trivial
> Fix For: 4.3.1
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> The deployment of the showcase from eclipse needs to be written down in in more details, because it is not trivial:
> An user needs to be aware of:
> * select correct maven profile
> * alter the deployment assembly
> * be aware of wrong context root load in the eclipse browser
> I will send pull request for this one.
--
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
11 years, 4 months
[JBoss JIRA] (RF-12523) a4j:commandButton generates duplicated context path using a resource value expression within image attribute
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12523?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12523:
-------------------------------
Original Estimate: 1 hour
Remaining Estimate: 1 hour
> a4j:commandButton generates duplicated context path using a resource value expression within image attribute
> ------------------------------------------------------------------------------------------------------------
>
> Key: RF-12523
> URL: https://issues.jboss.org/browse/RF-12523
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.2.2.Final, 4.3.0.M1
> Environment: Windows 7 Professional, JBoss AS 6.1.0.Final, Mojarra 2.1.7
> Reporter: Andreas Owczarek
> Labels: testcase_provided
> Fix For: 4.3.1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> a4j:commandButton produces an extra context path prefix for the image resource path, when it is used with the value expression {code}#{resource['library:file']}{code} for the image attribute.
> {code:xml|title=Example code}
> <a4j:commandButton image="#{resource['icons:icon.gif']}" value="#{resource['icons:icon.gif']}"/>
> {code}
> {code:xml|title=Generated Result code}
> <input type="image" alt="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" src="/com.example.my.context.path/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" value="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" onclick="RichFaces.ajax("j_idt76",event,{"incId":"1"} );return false;" name="j_idt76" id="j_idt76">
> {code}
> The generated code show the correct value for the expression within the generated button label, but the image could not be located correctly because of the wrong generated image resource path.
--
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
11 years, 4 months