Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-10824

Tables: behaviors for row* events are not decoded properly

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      <h:form id="form">
      <a4j:jsFunction name="selectRow" actionListener="#

      {userBean.actionListener}

      " render="out">
      <a4j:param name="currentRow" assignTo="#

      {userBean.name}"/>
      </a4j:jsFunction>
      <h:outputText value="#{userBean.name}

      " id="out" />

      <rich:dataTable value="#

      {carsBean.allInventoryItems}

      " var="car" footerClass="footerCklass" onrowclick="selectRow('#

      {car.vendor}

      ');"
      ...
      seems works fine. request fired and info about current row object passed.

      Show
      <h:form id="form"> <a4j:jsFunction name="selectRow" actionListener="# {userBean.actionListener} " render="out"> <a4j:param name="currentRow" assignTo="# {userBean.name}"/> </a4j:jsFunction> <h:outputText value="#{userBean.name} " id="out" /> <rich:dataTable value="# {carsBean.allInventoryItems} " var="car" footerClass="footerCklass" onrowclick="selectRow('# {car.vendor} ');" ... seems works fine. request fired and info about current row object passed.

      Description

      See linked forum thread

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pyaschenko Pavel Yaschenko
                  Reporter:
                  nbelaevski Nick Belaevski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: