Forum Stats

  • 3,851,487 Users
  • 2,263,988 Discussions
  • 7,904,736 Comments

Discussions

Setting region height to stretchContent="auto"

Hi,

I have the below code snippet in my jspx page to auto stretch the content in a region. This works if my region does not render any table.

<cust:showDetailFrame

                      id="sdf1"   

                      stretchContent="auto">       

<af:region value="#{bindings.vivirtplatformgener al1.regionModel}" id="r1"/>   

</cust:showDetailFrame>

But if the region contains a table, the table is not rendered correctly. The last column in the table gets shrinked leaving significant blank space on the right side of the layout. Below is the table definition in the region -

<af:panelStretchLayout id="psl1">

     <f:facet name="center">

        <af:table id="t1" width="100%" columnStretching="column:col1" ...../>

    </f:facet>

</af:panelStretchLayout>

Can anyone help me on this?

Thanks,

Shubha

Tagged:
This discussion has been closed.