ICEfaces
  1. ICEfaces
  2. ICE-6256

ACE components need to support f:params children

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEFaces ACE components
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      The LinkButton component needs to provide support for nested f:param children. In the case where the link is generated as an anchor, the necessary parameters need to be encoded as query string parameters, ?param1=value, when the link is rendered as a action event source, the parameters need to be included in the post parameters.

        Activity

        Hide
        Judy Guglielmin added a comment -

        mistakenly committed modifications for LinkButtonRenderer since org.icefaces.component.RendererBase was not included in the commit for f:param support (encoding of paramters), to ICE-6248. Should have been to this jira.

        Once this has been checked in, can use these modifications for PushButtonRenderer as well.

        Still outstanding is <ice:commandButton> from compat library of components. It does not have <f:param> support either.

        Show
        Judy Guglielmin added a comment - mistakenly committed modifications for LinkButtonRenderer since org.icefaces.component.RendererBase was not included in the commit for f:param support (encoding of paramters), to ICE-6248 . Should have been to this jira. Once this has been checked in, can use these modifications for PushButtonRenderer as well. Still outstanding is <ice:commandButton> from compat library of components. It does not have <f:param> support either.
        Hide
        Ken Fyten added a comment -

        Need to review this technique and then apply to any other ace components that are missing f:param support.

        Show
        Ken Fyten added a comment - Need to review this technique and then apply to any other ace components that are missing f:param support.
        Hide
        Greg Dick added a comment -

        I have a solution in place for the linkButton, pushButton, checkbox, and slider. A test page exists in the ace-test application.

        The general approach consists of passing the values of any f:param children to the component javascript and then using the submit method with extra parameter support to send the parameters back to the server.

        Show
        Greg Dick added a comment - I have a solution in place for the linkButton, pushButton, checkbox, and slider. A test page exists in the ace-test application. The general approach consists of passing the values of any f:param children to the component javascript and then using the submit method with extra parameter support to send the parameters back to the server.

          People

          • Assignee:
            Greg Dick
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: