Note that there are some explanatory texts on larger screens.

plurals
  1. PORemove JSF error messages
    primarykey
    data
    text
    <p>I am using JSF 2 with primefaces 3.3.1.</p> <p>I used the form tag in my template.xhtml page and I included all my pages inside that. So all pages are under the same form. My scenario is: I have two panels, one is customer search panel and another one is customer search results panel. Customer search panel contains some text boxes and one command button. In that text boxes I will give some inputs about the customer and I will click the commandbutton. After that I have to load the customer search results panel that will contain one datatable with search results.</p> <p>Initially I will load only the customer search panel. once I click the command button then only I will load the customer search panel. In that commandbutton of my customer search panel I have given the customer search result panel id in the update attribute. Like</p> <pre><code>&lt;p:commandButton value="click" action="#{bean.action}" update="cust_search_panel"/&gt; </code></pre> <p>When I press the commandbutton jsf says 'Cannot find component with the identifier cust_search_panel'. Because initially I will not load the customer search result panel so that id will not be there.</p> <p>When using the primefaces 2.2.1 there is no issue because if the component is not in the form then they will add info message saying 'Cannot find component with the identifier cust_search_panel'. but in the primefaces 3.3.1 they changed that info message to error message. So now my page is not getting loaded because of this error.</p> <p>When we receive messages like 'Cannot find component with the identifier cust_search_panel' this then if it is possible to remove that error message from the facescontext then my pages will load properly right?</p> <p>I have not found any solution other then this. Could anyone help me out to solve this issue.</p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload