[
https://jira.jboss.org/browse/JBDS-1410?page=com.atlassian.jira.plugin.sy...
]
Snjezana Peco commented on JBDS-1410:
-------------------------------------
The JBoss JSF portlet which includes Richfaces requires:
1) portlet-api that is within the EPP/GateIn distribution
2) portletbridge libraries placed within the portletbridge distribution
3) richfaces libraries within the richfaces distribution
4) dependent libraries
I have succeeded to find the dependent libraries only within the portletbride richfaces
example. The problem happens when the name of this example is changed in different
portletbridge/EPP distributions
- in the portletbridge 1.x that was RichFacesPortlet.war, in the portletbridge 2.0.0 BETA
that was richFacesPortlet.war, in EPP 5.0 that is richFacesPortlet-2.0.0.FINAL.war ...
- some previous version of EPP 5.0 has had seamPortlet.war, EPP 5.0.1 contains seamEAR.ear
...
I understand that using the libraries from examples isn't the best solution, but I
can't find them on any other place.
The fix within JBIDE-7702 tries to find dependent libs in the following examples:
- RichFacesPortlet..war
- richFacesPortlet*.war
- seamPortlet*.war
- seam*.ear
The best solution would be if portletbridge/EPP would contain dependencies for different
portlets : JSF Portlet, RichFaces JSF portlet, Seam Portlet (war and EAR version)
The following are workarounds for JBDS 3.0.1:
1) copy (or rename) portletbridge/examples/richFacesPortlet-2.0.0.FINAL.war to
portletbridge/examples/RichFacesPortlet.war
After that you will be able to create JSF Richfaces portlet using the above described
case. This solution is valid for some version of portletbridge/EPP and richfaces.
or
2)
- create JSF Richfaces Portlet (richfaces 3.3.3 and EAP 5.0.1/portletbridge 2.0.0.FINAL)
as described in this jira
- add the following libs to WEB-INF/lib:
commons-beanutils-1.8.0.jar
commons-digester-1.8.1.jar
jsf-facelets-1.1.15.B1.jar
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar (if you are using JSF 2.0)
richfaces-ui-3.3.3.Final.jar
These files can be found in
<EPP_HOME>/portletbridge/examples/richFacesPortlet-2.0.0.FINAL.war!/WEB-INF/lib
portletbridge-api-2.0.0.FINAL.jar and portletbridge-impl-2.0.0.FINAL.jar would need to be
in WEB-INF/lib
The solution is valid for richfaces 3.3.3 and portletbridge 2.0.0.FINAL.
RichFaces don't work in portlet generated by JBDS
-------------------------------------------------
Key: JBDS-1410
URL:
https://jira.jboss.org/browse/JBDS-1410
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: jsf
Affects Versions: 3.0.1.GA
Environment: Linux (and portlet generated by JBDS tested on EPP-5.1.0-ER4 (and
previous ER + GateIn-5.1.0.GA)
Reporter: Jan Jamrich
Assignee: Max Andersen
Fix For: 3.0.2.GA, 4.0.0.Beta2
RichFaces Portlet generated by JBDS don't display content of richFaces tags. (Added
manually, with RF jars added manually as well)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira