Hi everybody,
I'm integrating Spring Framework with the following modules:
Spring WebFlow
SpringFaces with myFaces implementation
RichFaces
JPA (Hibernate)
I'm using the versions:
<spring.version>3.0.2.RELEASE</spring.version>
<spring-security.version>3.0.2.RELEASE</spring-security.version>
<hibernate.version>3.5.1-Final</hibernate.version>
<myfaces.version>2.0.0</myfaces.version>
<javax.faces.version>1.2_12</javax.faces.version>-->
<primefaces.version>1.0.0.RC</primefaces.version>
<richfaces.version>3.3.3.Final</richfaces.version>
<spring.webflow.version>2.1.0.BUILD-SNAPSHOT</spring.webflow.version>
Everything seems ok but I have one problem: the el expression syntax parser does not seem do make the difference between deferred and immediate expressions.
For example:
I have a datatable in witch I build a link action on each line. It looks like this:
The problem is that the expression seems to be evaluated when I do click on the link. So the el ${dmd} is always pointing on the last table record whereas I'm using a "$" and not a "#" which should result in an immediate evaluation.Code:<rich:extendedDataTable rowKeyVar="dmdRK" sortMode="single" value="#{demandelist.dataModel}" rows="10" var="dmd" id="exttable" selection="#{demandelist.selected}" height="355px"> <s:ifAnyGranted roles="...,..."> <rich:column id="actionColumn" width="30" label="Action"> <rich:menuItem submitMode="ajax"onclick="javascript:Richfaces.showModalPanel('batchPanel');" ajaxSingle="true" icon="../images/crayon.png" reRender="batchPanel2"> <f:setPropertyActionListener value="${dmd}" target="#{demandeBean.unitaryDemandeProcessing}" /> </rich:menuItem> </rich:column> </s:ifAnyGranted>
In the debug mode, I can see the elFactory used are the myFaces ones. I don't even know how to configure other implementations in the Spring workflow context.
Any idears ?


Reply With Quote
