Upgrade from Richfaces 4.3.7 to 4.5 Problems
wish79 Nov 12, 2014 10:58 AMmy current environment is :
- Richfaces 4.3.7
- java 1.7.0.60
-JBoss 7.1.1 (JSF 2.1.17)
when i am trying to upgrad to Richfaces 4.5 , with the same JVM and Jboss server version i have the following problems:
1- in my log I see the following messages :
WARNING [javax.enterprise.resource.webcontainer.jsf.application] (http--0.0.0.0-8080-5) JSF1064: Unable to find or serve resource, select/select/select.js, from library, org.richfaces.
WARNING [javax.enterprise.resource.webcontainer.jsf.context] (http--0.0.0.0-8080-6) JSF1091: No mime type could be found for file RESOURCE_NOT_FOUND. To resolve this, add a mime-type mapping to the applications web.xml.
WARNING [javax.enterprise.resource.webcontainer.jsf.application] (http--0.0.0.0-8080-6) JSF1064: Unable to find or serve resource, RESOURCE_NOT_FOUND.
2- any rich select with empty values let my application hang (a4j:status hang)
ex:
<rich:select id="mydis"
defaultLabel="Select VALUE" />
I debug it by JavaScript debugger I see the following :
if (_this.clientSelectItems.length != 0) {
_this.__updateItems();
//Unable to get property 'length' of undefined or null reference
to solve this i add empty select item like this <f:selectItem />
3- my application have rich:collapsiblePanel and it is by default expanded="false" and switchType="ajax"
when i click on it it dose not expanded but if i change switchType to server or client it works
ex:
<rich:collapsiblePanel id="phAttachmentPanel"
immediate="true"
expanded="false"
switchType="ajax" this not working
>
i waste a lot of time on try migration from 4.3.7 to 4.5 can you help and give me a solution for the above Richface 4.5 problems, or it is a bug by Richfaces 4.5 and still it is not stable.
Note : i tried to upgrade the server to WildFly 8.1 final i have a lot of problem maybe by JSF 2.2 byt i back to Jboss 7.1.1 because it has JSF 2.1.17 when it my application stable with Richfaces 4.5 on it i will upgrade to jsf 2.2.
Regards
Wish79