Forum Stats

  • 3,837,505 Users
  • 2,262,265 Discussions
  • 7,900,308 Comments

Discussions

outputtext is not wrapping inside PanelGridLayout

SZ_06
SZ_06 Member Posts: 4 Blue Ribbon
edited Dec 30, 2013 9:42PM in JDeveloper and ADF

JDeveloper version 11.1.1.7

The OutputText "LegalName" value may be a very long text and is over lapping with next Cell.

Tried everything I could find but it is not wrapping inside PanelGridLayout.

It either overlapping with next cell

Or if I set the Cell halign="stretch" valign="stretch", it wraps to next line but over lapping with next row plus I lose the left align.

However, in the printable page (using PrintableBehavior) it displays pefectly for the code shown below.

Any ideas? Thanks.

<af:panelGridLayout id="pgl5" inlineStyle="border-width:thin; border-style:double;">

               <af:gridRow marginTop="2px" height="auto" id="grClientDetails">

                  <af:gridCell marginStart="2px" id="gcClientDetails" marginEnd="2px" halign="start" width="17%">

                     <af:outputLabel value="Client Details" id="olClientDetails" inlineStyle="font-weight:bold; font-size:small;"/>

                  </af:gridCell>

                  <af:gridCell marginStart="2px" id="gcClientSp" marginEnd="2px" columnSpan="5"/>

               </af:gridRow>

               <af:gridRow marginTop="10px" height="auto" id="grClient1">

                  <af:gridCell marginStart="2px" width="17%" id="gcClient1" halign="start" marginEnd="2px">

                     <af:outputLabel value="#{bindings.LegalName.hints.label}\:" id="olLegalName"

                                     inlineStyle="font-weight:bold;"/>

                  </af:gridCell>

                 <!-- This text in this cell is over lapping with next cell -->

                 <!--- It needs to be left alig->

                  <af:gridCell marginStart="0px" id="gcClient2" halign="start" columnSpan="2" valign="middle">             

                     <af:panelGroupLayout id="pgl9" layout="scroll" halign="left" valign="top">

                        <af:outputText value="#{bindings.LegalName.inputValue}"  noWrap="false" id="otLegalName"/>                   

                     </af:panelGroupLayout>                    

                  </af:gridCell>

                  <af:gridCell marginStart="0px" width="17%" id="gcClient3" halign="start">

                     <af:outputLabel value="#{bindings.Abn.hints.label}\:" id="olAbn" inlineStyle="font-weight:bold;"/>

                  </af:gridCell>

                  <af:gridCell marginStart="0px" id="gcClient4" columnSpan="2" halign="start">

                     <af:outputText value="#{bindings.Abn.inputValue}" id="otAbn">

                        <af:convertNumber groupingUsed="false" pattern="#{bindings.Abn.format}"/>

                     </af:outputText>

                  </af:gridCell>

               </af:gridRow>

Tagged:

Answers

This discussion has been closed.