0 Replies Latest reply on Nov 23, 2009 3:24 PM by sushi6677

    Richfaces, Spring, EL question

    sushi6677

      Hi,

      I'm quite new using JSF, Spring and Richfaces.
      I'm currently trying to pass an object as parameter and it is just working when using an object from type STRING. This example uses a class called Entity implements Serilizable.... And it is just not passed. Can anyboday tell me why?

      <rich:dataGrid columns="3" value="${middlePage.entities}" var="entity" id="data" rowKeyVar="rowKey">
       <rich:panel>
       ...
       <a4j:commandLink id="zoomLink" reRender="zoomImage" styleClass="zoomLink">
       <h:graphicImage id="zoomIcon" value="/images/zoom.png" width="16" height="16" />
       <a4j:actionparam name="big" value="${entity}" assignTo="${middlePage.zoom}" />
       <rich:componentControl for="zoom" attachTo="zoomLink" operation="show" event="onclick" />
       </a4j:commandLink>
      ...
      


      The Bean middlePage contains a methos called setZoom having a parameter from type ENTITY....