Hi, I'm playing with the examples...
In the first example of PPR:
<h:form>
[...]
<p:button value="Ajax Submit" update="display" async="true" />
[...]
<h:panelGrid id="display" columns="2">
<h:outputText value="Firstname:" />
<h:outputText value="#{PPRBean.firstname}" />
<h:outputText value="Surname:" />
<h:outputText value="#{PPRBean.surname}" />
</h:panelGrid>
</h:form>
it doesn't update the fields,
but putting one id in the form tag:
<h:form id="mainform">
and calling
<p:button value="Ajax Submit" update="mainform:display" async="true" />
works fine.
I don't if this is a issue or not, but anyway...
help me to fix that
Hi, couple of things...
- Please create a good title. This tile could be used for each and every question and is sort of useless
- Use [ c o d e ] ... [ / c o d e ] tags around code without the spaces. Makes it more readable
- Run your application in development mode https://stackoverflow.com/questions/191 ... ject-stage
- Find out the real reference to use in the update https://stackoverflow.com/questions/863 ... find-compo
- Please create a good title. This tile could be used for each and every question and is sort of useless
- Use [ c o d e ] ... [ / c o d e ] tags around code without the spaces. Makes it more readable
- Run your application in development mode https://stackoverflow.com/questions/191 ... ject-stage
- Find out the real reference to use in the update https://stackoverflow.com/questions/863 ... find-compo
-
- Information
-
Who is online
Users browsing this forum: No registered users and 27 guests