Missing <form> tag, <h:form> renders as input hidden field.

UI Components for JSF
Post Reply
joy192k
Posts: 6
Joined: 21 Jan 2011, 21:10

22 Jun 2011, 09:16

Hi,

I have come across a unique problem, I am using JSF <ui:composition> with template, in the template I am using Primefaces <p:layout>.

I use the <ui:insert> inside <p:layoutUnit> in the template as below :

Code: Select all

<p:layoutUnit position="center" id="center" scrollable="true" styleClass="layoutStyle" resizable="true" closable="true" collapsible="true">
		<ui:insert name="contentRight" />
</p:layoutUnit>
The content is driven by this template and it has has conditional <ui:include> for fragments.

Now the problems is described as below:

In the fragment I define <h:form> but this <form> tag is never rendered, I used firebug to check it.

Instead of <form> tag I am finding a hidden field in the rendered page.

Code: Select all

<input type="hidden" value="createDsForm" name="createDsForm">
Why is <form> tag never rendered??

Thanks,
Vijay

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 41 guests