2 Replies Latest reply: Apr 30, 2012 4:46 PM by Tshifhiwa RSS

    align inputtext horizontal in panelformlayout

    Tshifhiwa
      hi am having this layout trying to make inputtext horizontal what could be the problem,i what my inputtext to be next to each other not under one another
      <af:panelFormLayout id="pfl4" rows="1" maxColumns="10">
      <f:facet name="footer">
      <af:group id="g2">
      <af:inputComboboxListOfValues id="nameId"
      popupTitle="Search and Select: #{bindings.Name.hints.label}"
      value="#{bindings.Name.inputValue}"
      label="#{bindings.Name.hints.label}"
      model="#{bindings.Name.listOfValuesModel}"
      required="#{bindings.Name.hints.mandatory}"
      columns="#{bindings.Name.hints.displayWidth}"
      shortDesc="#{bindings.Name.hints.tooltip}">
      <f:validator binding="#{bindings.Name.validator}"/>
      </af:inputComboboxListOfValues>
      <af:inputText value="#{bindings.F1.inputValue}" label="#{bindings.F1.hints.label}"
      required="#{bindings.F1.hints.mandatory}"
      columns="#{bindings.F1.hints.displayWidth}"
      maximumLength="#{bindings.F1.hints.precision}"
      shortDesc="#{bindings.F1.hints.tooltip}" id="it9">
      <f:validator binding="#{bindings.F1.validator}"/>
      </af:inputText>
      </af:group>
      </f:facet>
      </af:panelFormLayout>
        • 1. Re: align inputtext horizontal in panelformlayout
          Navaneetha Krishnan Nataraj
          You have the code content in the footer facet. This will NOT work as expected.

          Try as below:
          <af:panelFormLayout id="pfl4" rows="1" maxColumns="10">
                      <af:inputComboboxListOfValues id="nameId"
                                                    popupTitle="Search and Select: #{bindings.Name.hints.label}"
                                                    value="#{bindings.Name.inputValue}"
                                                    label="#{bindings.Name.hints.label}"
                                                    model="#{bindings.Name.listOfValuesModel}"
                                                    required="#{bindings.Name.hints.mandatory}"
                                                    columns="#{bindings.Name.hints.displayWidth}"
                                                    shortDesc="#{bindings.Name.hints.tooltip}">
                        <f:validator binding="#{bindings.Name.validator}"/>
                      </af:inputComboboxListOfValues>
                      <af:inputText value="#{bindings.F1.inputValue}"
                                    label="#{bindings.F1.hints.label}"
                                    required="#{bindings.F1.hints.mandatory}"
                                    columns="#{bindings.F1.hints.displayWidth}"
                                    maximumLength="#{bindings.F1.hints.precision}"
                                    shortDesc="#{bindings.F1.hints.tooltip}" id="it9">
                        <f:validator binding="#{bindings.F1.validator}"/>
                      </af:inputText>
                    <f:facet name="footer"></f:facet>
                  </af:panelFormLayout>
          Thanks,
          Navaneeth
          • 2. Re: align inputtext horizontal in panelformlayout
            Tshifhiwa
            af:panelFormLayout id="pfl2" labelAlignment="top" rows="1"