ICEfaces
  1. ICEfaces
  2. ICE-10634

mobi:outputListItem - Add an action/actionListener

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: EE-3.3.0.GA_P02, EE-4.0.0.GA
    • Fix Version/s: 4.4
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      ICEmobile 1.3.1

      Description

      Feature Request - Add the ability to call and action or actionListener when an outputListItem is selected by the user. Allowing the user to click the entire contents of the list item to fire the action.

      It is possible to add a commandLink to the contents. This may not be an option for instances where the content is much more complex.

        Activity

        Hide
        Arran Mccullough added a comment -

        To elaborate on my comment related to complex content. The following is a sample of what they have:

        <mobi:outputListItems>
        <h:panelGrid>
        <h:panelGrid>
        <h:outputText />
        <h:outputText />
        </h:panelGrid>
        <h:outputText />
        <h:commandLink>
        <f:param />
        </h:commandLink>
        </h:panelGrid>
        </mobi:outputListItems>

        In this case only the commandLink is clickable. Selecting the outputText or other content will have no effect. Essentially they want to use the outputList as a menu. It is understood that through CSS or other workarounds (parent div that calls an onclick event) it is possible to gain this functionality.

        Adding an action/actionListener method would greatly reduce the complexity required with implementing the workarounds and be more straight forward for easier development.

        Show
        Arran Mccullough added a comment - To elaborate on my comment related to complex content. The following is a sample of what they have: <mobi:outputListItems> <h:panelGrid> <h:panelGrid> <h:outputText /> <h:outputText /> </h:panelGrid> <h:outputText /> <h:commandLink> <f:param /> </h:commandLink> </h:panelGrid> </mobi:outputListItems> In this case only the commandLink is clickable. Selecting the outputText or other content will have no effect. Essentially they want to use the outputList as a menu. It is understood that through CSS or other workarounds (parent div that calls an onclick event) it is possible to gain this functionality. Adding an action/actionListener method would greatly reduce the complexity required with implementing the workarounds and be more straight forward for easier development.

          People

          • Assignee:
            Ken Fyten
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: