Troubles with RichFaces when migration from JBoss Portlet Bridge 2.2.0 to 2.3.0.Final
antoine_h Mar 8, 2012 7:08 PMHello,
I run a portal, with :
jboss 5.1.0
GateIn 3.2.0 CR1
RichFaces 3.3.3 Final
JBoss Portlet Bridge 2.1.0 FINAL
I tried to use the JBoss Portlet Bridge 2.3.0 FINAL and found two problems with RichFaces.
I tried 2.2.0 Final : no problems.
so, for the time being, I will use 2.2.0 FINAL.
**********
The problems are :
- no extended CONTROL_SKINNING in the page : the buttons, the panels etc... are not skinned.
- the ajax action, on buttons, are not working anymore, in the portlet that is in the body.
************************************************************************************************************************
***** no extended CONTROL_SKINNING
************************************************************************************************************************
I digged a lot to find what was going on.
I compared the html files, the css files produced by the portal and richfaces.
I ended with this :
<link type="text/css" rel="stylesheet" media="rich-extended-skinning" href="/pexpalctnr/pcr/pexvw0010HomePage?portal:windowState=normal&portal:componentId=a87a503a-45ae-41a8-9806-307aae9017bd&portal:resourceID=/org.rf.resorg/richfaces/renderkit/html/css/extended_both.xcss/DB/eAHbud5gRejyGdIAE5UD8A__&portal:cacheLevel=PAGE&portal:type=resource&portal:portletMode=view" class="component">
this media="rich-extended-skinning" is not there, with 2.1.0 nor 2.2.0.
it prevents the styles to be applied.
with firebug, it is obvious : if removed, the buttons and input fields are skinned again
what is it made for ?
as far as I can see, It is odd to have this media value.
but may be this is a new way to manage the RichFaces Skinning Control, with level extended ?
any explaination is welcome...
may be, if it is a bug : shall I make a JIRA ?
************************************************************************************************************************
***** some ajax actions do not work
************************************************************************************************************************
The second problem is that some Ajax are not working anymore.
In the banner of my portal, the button is working (for the login window).
but in the body, in the central portlet, neither the buttons, nor the calendar nor the panel controls work.
I could not search much what's going on.
The JS scripts are there.
(The button in the banner is working...)
The only difference with JPB 2.2.0, is changing the dependency version of the JPB, and repackage my ear, and restart the portal... then most of the Ajax is not working anymore.
Anyone can see the same thing ?
Any idea to solve this ?
or shall I make a JIRA ?
*********************
Thanks for any explaination, or idea to search how to solve this.
Antoine
JBoss Portal and GateIn (JSR-286), JSF, Richfaces, J2EE, Drools, BRMS.
http://www.sysemo.com/Sysemo-expertise-portails-jboss-portal.php