1 Reply Latest reply on Apr 11, 2014 6:10 AM by Michal Petrov

    RF5 - Strange behavior

    David Cohen Newbie

      I have a button which redirect to another page, the first time I click on it, I get in the console the following error message:

       

      <update id="j_id1:javax.faces.ViewState:0"><![CDATA[3452443148330635927:4541429332626520857]]></update>

      info [12:28:26.512]: Received 'begin' event from <input id=form:buheadertable:0:displayleadsbutton ...>

      info [12:28:26.616]: Received 'beforedomupdate' event from <input id=form:buheadertable:0:displayleadsbutton ...>

      info [12:28:26.617]: Listing content of response changes element:
      Element update for id=j_id1:javax.faces.ViewState:0
      <update id="j_id1:javax.faces.ViewState:0"><![CDATA[1861015056024990547:-389425517581392512]]></update>

      warn [12:28:26.619]: richfaces.queue: ajax submit error: Object #<Text> has no method 'getAttribute'

      error[12:28:26.619]: Received 'error@malformedXML' event from <input id=form:buheadertable:0:displayleadsbutton ...>

      error[12:28:26.620]: [200] Object #<Text> has no method 'getAttribute'

      info [12:28:26.620]: Received 'complete' event from <input id=form:buheadertable:0:displayleadsbutton ...>


      This is the source code of this button:

      <r:commandButton id="displayleadsbutton" value="#{msg['Leads']}" action="/user/leads" style="width:70px;">

        <r:param value="#{businessunitItem.id}" assignTo="#{user.selectedBusinessUnitId}" />

      </r:commandButton>

       

      What can be the problem?

        • 1. Re: RF5 - Strange behavior
          Michal Petrov Master

          Hi,

           

          the problem seems to be that somehow client side and server side use different versions of JSF. There has been a change in how the viewState is handled and what happens here is that JSF 2.0 doesn't recognize the viewState from JSF 2.2 (and vice versa) but I am not sure of the exact cause. I suggest running RF 5 on WildFly 8 where there should be no issues.