ICEfaces
  1. ICEfaces
  2. ICE-4034

Allow colspan on <ice:panelGroup>

    Details

    • Type: New Feature New Feature
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat 6

      Description

      i would like to have some support for creating colspans in tables: <td colspan="">

      my suggestion would be to add it to <ice:panelGroup colspan=""> (where i expected it to be).

      the intention is to position error messages below multiple input elements on the same row without loosing the alignment of the form elements (see screenshot example). i think one could find lots of use cases for colspan in tables.
      1. example.xhtml
        2 kB
        Werner Mueller
      2. output.xhtml
        4 kB
        Werner Mueller

        Activity

        Werner Mueller created issue -
        Adnan Durrani made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        Hide
        Adnan Durrani added a comment -

        The ice:panelGroup renders "div" element, it can not have colspan attribute. If you want to specify the "colspan" to the ice:dataTable, you can use "colspan" attribute on the ice:column component.

        Show
        Adnan Durrani added a comment - The ice:panelGroup renders "div" element, it can not have colspan attribute. If you want to specify the "colspan" to the ice:dataTable, you can use "colspan" attribute on the ice:column component.
        Adnan Durrani made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Hide
        Werner Mueller added a comment -

        use case attached

        Show
        Werner Mueller added a comment - use case attached
        Werner Mueller made changes -
        Attachment example.xhtml [ 11596 ]
        Attachment output.xhtml [ 11597 ]
        Hide
        Werner Mueller added a comment -

        sorry i could have been more precise.

        within a:
        <ice:panelGrid columns="5" cellpadding="0" cellspacing="8">
        which does render a table

        <ice:panelGroup /> is often used to nest components.

        if i want to allow an error message to be shown accross multiple columns in the panelGrid a colspan on the panelGroup would help a lot. (i hope the screenshot made it to this issue only once)

        a similar solution can be found in the tomahawk components:
        http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_panelGroup.html

        regards
        werner

        Show
        Werner Mueller added a comment - sorry i could have been more precise. within a: <ice:panelGrid columns="5" cellpadding="0" cellspacing="8"> which does render a table <ice:panelGroup /> is often used to nest components. if i want to allow an error message to be shown accross multiple columns in the panelGrid a colspan on the panelGroup would help a lot. (i hope the screenshot made it to this issue only once) a similar solution can be found in the tomahawk components: http://myfaces.apache.org/tomahawk-project/tomahawk/tagdoc/t_panelGroup.html regards werner
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Hide
        Werner Mueller added a comment -

        Could someone re-open this issue? I attached a use case / example to explain what i have in mind.

        Show
        Werner Mueller added a comment - Could someone re-open this issue? I attached a use case / example to explain what i have in mind.
        Hide
        Adrian Gygax added a comment -

        Werner has added some new comments and has asked me to reopen this issue

        Show
        Adrian Gygax added a comment - Werner has added some new comments and has asked me to reopen this issue
        Adrian Gygax made changes -
        Resolution Invalid [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Assignee Adnan Durrani [ adnan.durrani ]
        Tyler Johnson made changes -
        Salesforce Case [5007000000C52K8]
        Tyler Johnson made changes -
        Salesforce Case [5007000000C52K8] []
        Philip Breau made changes -
        Assignee Philip.breau [ philip.breau ]
        Philip Breau made changes -
        Assignee User Philip.breau [ philip.breau ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Werner Mueller
          • Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated: