Hi!
I install Barcelona on my project but since I did it command buttons from primeFaces doesn't update any components on the view in my application.
Is there a special way to do this?
<p:commandButton value="Search" actionListener="#{bean.search()}" update="@form" />
Thanks.
Problem updating elements
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
I think this issue isn't related to Barcelona Layout or Theme. Could you please attach a sample page? Also, maybe you can use the following example;
Code: Select all
//bean
private boolean rendered = true;
public void search() {
rendered = false;
}
//getters; setters;
Code: Select all
<h:form>
...
<p:inputText rendered="#{bean.rendered}" />
<p:commandButton value="Search" actionListener="#{bean.search()}" update="@form" />
...
</h:form>
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests