Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1603

CommandLink problem with DataList

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1.4
    • None
    • None
    • None
    • Linux Ubuntu 6.04, JDK 1.5.0_11. Pentium IV 1 GB RAM 80 GB

    Description

      When the component DataList is used to print many columns using link (CommandLink), at the first time,
      the actions binding commandLink don't run.
      After the first POST Request, it gets OK.

      The expression to use a DataList:
      <t:dataList
      value="#

      {gerenteFilme.paginacao.paginas}

      "
      var="paginaFilme"
      rowIndexVar="curPaginaFilme"
      forceId="true" forceIdIndex="true">

      In the first request, the <a href=/> is printed as:
      <a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp98_0:_idJsp102');" id="_idJsp98_0:_idJsp102">
      But after first time:
      <a href="#" onclick="return oamSubmitForm('_idJsp8','_idJsp8:_idJsp98:0:_idJsp102');" id="_idJsp8:_idJsp98:0:_idJsp102">0</a>

      Clearly, it's a wrong tag invocation _0: It should be :0:, and something is missing.

      Attachments

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              jonataswingeter Jonatas Wingeter Rodrigues
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: