hi there,
I am trying to add 2 pm:listviews with in the one form and for some reason the second one doesnt show up in the rendered page.
ex code:
<pm:view id="summaries" swatch="c">
<pm:header title="#{controller.title}">
<f:facet name="left"><pm:button value="Back" icon="back" role="back"/></f:facet>
</pm:header>
<pm:content>
<h:form id="entriesForm">
<pm:listView id="entries1" inset="true" value="#{controller.learners}" var="regLearner">
<p:column>
<p:commandLink value="#{regLearner.learnerName}" update="content" oncomplete="PrimeFaces.navigate('details')">
</p:commandLink>
</p:column>
</pm:listView>
<p:spacer height="10em" />
<!-- This list right here does not show up in the UI -->
<pm:listView id="entries2" inset="true" value="#{controller.learners}" var="regLearner">
<p:column>
<p:commandLink value="#{regLearner.learnerName}" update="content" oncomplete="PrimeFaces.navigate('details')">
</p:commandLink>
</p:column>
</pm:listView>
<pm:field>
<h:outputLabel for="inputTextarea" value="Comments: "/>
<h:inputTextarea id="inputTextarea" />
</pm:field>
<pm:buttonGroup orientation="horizontal">
<pm:commandButton value="Submit" type="button"/>
<pm:commandButton value="Cancel" type="button"/>
</pm:buttonGroup>
</h:form>
</pm:content>
</pm:view>
Any pointers would be greatly appreciated....
cannot add 2 pm:listview with in a form
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests