Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-240

aliasbean + datalist|datatable + commandlink + actionlistener = rendered but actionlistener is not performed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.2-SNAPSHOT
    • None
    • Alias Bean
    • None
    • I have the last snapshots downloaded from the myfaces.org. I use debian unstabel.

    Description

      laBean is an alias for the bean ubicacion and this command links are rendered but they has no efect on click.

      <x:aliasBean id="alias2" alias="#

      {laBean}" value="#{ubicacion}">
      <f:subview id="sub">
      <x:dataList id="didyoumean" layout="simple" value="#{laBean.didyoumeanList}" var="unlink">
      <h:column id="jja">
      <h:commandLink value="#{unlink}" actionListener="#{laBean.didyoumeano}"></h:commandLink>
      </h:column>
      </x:dataList>
      </f:subview>
      </x:aliasBean>

      But this works: Note the change in datalist.value: i'm using the realbean.

      <x:aliasBean id="alias2" alias="#{laBean}

      " value="#

      {ubicacion}

      ">
      <f:subview id="sub">
      <x:dataList id="didyoumean" layout="simple" value="#

      {ubicacion.didyoumeanList}

      " var="unlink">
      <h:column id="jja">
      <h:commandLink value="#

      {unlink}

      " actionListener="#

      {laBean.didyoumeano}

      "></h:commandLink>
      </h:column>
      </x:dataList>
      </f:subview>
      </x:aliasBean>

      This happends with dataTable too.

      It's very frustrating because I have a list of links in the aliades bean ... I want to renderer them.. but I can not . I tried to bind a panelGrid but there is an "acepted limitation that will not be fixed"!!!! : search in google : aliasbean +panelGrid + binding

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mjenik Michael Jenik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: