ICEfaces
  1. ICEfaces
  2. ICE-10419

mobi:fieldsetRow doesn't display child content

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: EE-4.0.0.GA, 4.1
    • Component/s: MOBI-Components
    • Labels:
      None
    • Environment:
      Tomcat
    • Assignee Priority:
      P1

      Description

      mobi:fieldsetRow seems to have changed how it renders its child content, so that:

      <mobi:fieldsetRow>
          <h:outputLabel for="nameIn" value="Name:"/>
          <h:inputText id="nameIn" value="#{userBean.name}"/>
      </mobi:fieldsetRow>

      will only display the input field without a matching label.

      This is most easily seen on the live showcase:
      http://icefaces-showcase.icesoft.org/showcase-mobile.jsf
      Just click to the "Fieldset" demo to see a bunch of input text fields without the proper and expected labels.

        Activity

        Hide
        Judy Guglielmin added a comment -

        rev 43640

        Show
        Judy Guglielmin added a comment - rev 43640
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43640. Tomcat 7, IE 11, FF 33, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43640. Tomcat 7, IE 11, FF 33, Chrome 39.
        Hide
        Ken Fyten added a comment -

        Carlo's actual issue also occurred in his project and in that case, he had content like this that wasn't rendering:

        <mobi:fieldsetRow>
            <h:outputLabel for="rt" value="Request Type:"/>
            <h:selectOneMenu id="rt" value="#{dataBean.requestTypeId}" required="true" style="float: right;">
                <f:selectItem itemValue="" itemLabel="-- Select --" noSelectionOption="true"/>
                <f:selectItems value="#{typeLists.requestTypeList}"/>
            </h:selectOneMenu>
        </mobi:fieldsetRow>
        
        Show
        Ken Fyten added a comment - Carlo's actual issue also occurred in his project and in that case, he had content like this that wasn't rendering: <mobi:fieldsetRow> <h:outputLabel for = "rt" value= "Request Type:" /> <h:selectOneMenu id= "rt" value= "#{dataBean.requestTypeId}" required= " true " style= " float : right;" > <f:selectItem itemValue= "" itemLabel=" -- Select -- " noSelectionOption=" true "/> <f:selectItems value= "#{typeLists.requestTypeList}" /> </h:selectOneMenu> </mobi:fieldsetRow>
        Hide
        Ken Fyten added a comment -

        Turns out Carlo did the same thing in his app., using a search and replace to move from mobi:inputText (which had built in label support), to h:inputText, which does not. Adding the missing h:ouputLabel components resolves the issue for him as well.

        (Note that he could also have used the ace:textEntry component which also supports built-in labels).

        Show
        Ken Fyten added a comment - Turns out Carlo did the same thing in his app., using a search and replace to move from mobi:inputText (which had built in label support), to h:inputText, which does not. Adding the missing h:ouputLabel components resolves the issue for him as well. (Note that he could also have used the ace:textEntry component which also supports built-in labels).

          People

          • Assignee:
            Judy Guglielmin
            Reporter:
            Carlo Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: