Layout Issue - Size Attribute

UI Components for JSF
Post Reply
murli.p.israni
Posts: 31
Joined: 15 Oct 2011, 14:12
Location: Mumbai, India

22 Oct 2011, 05:15

Hi,

Please comment on this -

The code snippet -
<p:layout fullPage="true">
<p:layoutUnit position="north" size="100">
<h:outputText value="Top unit content." />
</p:layoutUnit>

<p:layoutUnit position="south" size="100">
<h:outputText value="South unit content." />
</p:layoutUnit>

<p:layoutUnit position="west" size="400">
<h:form style="text-align: center">
</h:form>
</p:layoutUnit>

<p:layoutUnit position="east" size="500">
<h:outputText value="Right unit content." />
</p:layoutUnit>

<p:layoutUnit position="center">
</p:layoutUnit>

</p:layout>

gives the following output, which is responding the perfect in terms of SIZE attribute.

Image



AND -

<p:layout fullPage="true">
<h:form style="text-align: center">
<p:layoutUnit position="north" size="100">
<h:outputText value="Top unit content." />
</p:layoutUnit>

<p:layoutUnit position="south" size="100">
<h:outputText value="South unit content." />
</p:layoutUnit>

<p:layoutUnit position="west" size="400">
<h:form style="text-align: center">
</h:form>
</p:layoutUnit>

<p:layoutUnit position="east" size="500">
<h:outputText value="Right unit content." />
</p:layoutUnit>

<p:layoutUnit position="center">
</p:layoutUnit>
</h:form>
</p:layout>

gives the o/p as -

Image

Here, the SIZE atribute is not responding.

Here, changes are, in the layout and layout-unit FORM attribute is introduced. Others everything is normal, But Size attribute is not responding, though the other things rendered, header etc are responding to the dynamic values.


Please advice, since I am looking for the single FORM to the application, across the layouts.
Any alternative to persist the Layout unit SIZE functionality and single form.

Looking forward for the assistance.
Thanks,
Thanks,
Murli Israni

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 60 guests