4 Replies Latest reply on Apr 15, 2012 9:20 PM by Daniel015

    align inputtext horizontal in panelformlayout

    Daniel015
      i what my inputtext to be horizontal where can i align that in panelFormLayout and i what inputtext to be stuck to each other, i what the inputText to be next to each other not under each other
      <af:panelFormLayout id="pfl1" labelAlignment="top">
      <f:facet name="footer">
      <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="it8">
      <f:validator binding="#{bindings.F1.validator}"/>
      </af:inputText>
      </f:facet>
      <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:panelFormLayout>
        • 1. Re: align inputtext horizontal in panelformlayout
          Rommel Pino
          Hi,

          Try to add rows and maxColumns attribute like as follows:
          <af:panelFormLayout id="pfl1" labelAlignment="top" rows="1" maxColumns="5">
          regards,
          Rommel Pino
          • 2. Re: align inputtext horizontal in panelformlayout
            Daniel015
            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>

            Edited by: Tshifhiwa on 2012/04/16 12:16 AM
            • 3. Re: align inputtext horizontal in panelformlayout
              Daniel015
              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>
              • 4. Re: align inputtext horizontal in panelformlayout
                Daniel015
                <af:panelFormLayout id="pfl3" labelAlignment="top" rows="1" maxColumns="12">