Display the data on same page and not in popup in JSF? -


i have been given task display data on same page displaying in popup. have 2 buttons 1 search , searchbooks. search books displays result on same page , on click of search popup opens. have display results getting displayed on click of searchbooks. please find below code search button. code search button , searchbooks button same dont understand why fetching different results. can hidden code written.. idea?

    <h:panelgrid columns="1" style="width:214px">                            <a4j:outputpanel style="float:right;" layout="block">                         <a4j:commandbutton value="search"                              id="searchbutton" execute="@form"                             action="#{searchcontroller.search()}"                             styleclass="myclass"                             onclick="return myvalue" render="checkpanel" />                                      </a4j:outputpanel>                 </h:panelgrid> 


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -