0 Replies Latest reply on Sep 9, 2008 4:44 AM by Beletsky Andrey

    Rich:InplaceSelect - queue of calling events SetValue and On

    Beletsky Andrey Newbie

       

      <rich:column style="text-align:center">
      
      <rich:inplaceSelect editEvent="ondblclick"
      value="#{selectedWorkBBAlive.selectedOfSelectedWorks[selectedWork.id].postId}">
      <f:selectItems value="#{selectedWorkBB.availablePosts}"/>
      <a4j:support event="onchange" reRender="sumOfPosts"/>
      </rich:inplaceSelect>
      
      <f:facet name="footer">
      <h:panelGroup id="sumOfPosts" style="text-align:right">
      <h:outputText value="#{selectedWorkBB.sumOfDifferentPosts}" styleClass="total"/>
      </h:panelGroup>
      </f:facet>
      </rich:column>
      


      Truble:
      Value in the field selectedWorkBBAlive.selectedOfSelectedWorks[selectedWork.id].postId
      was seted after the calling the method selectedWorkBB.sumOfDifferentPosts.

      I want quite the contrary.

      Help, please, who knows what the reason of this conduct... (bad arms or this truble of JSF framework)
      May be to be other solution this problem?

      Andrew.