This content has been marked as final.
Show 5 replies
-
1. Re: How to do popup windows using jsf and ajax4jsf?
sergeysmirnov Mar 7, 2007 1:30 AM (in response to anycall)Could you tell more about your use cases?
-
2. Re: How to do popup windows using jsf and ajax4jsf?
anycall Mar 7, 2007 7:38 PM (in response to anycall)"SergeySmirnov" wrote:
Could you tell more about your use cases?
For example:<h:dataTable value="#{MaterialsBean.allMaterials}" var="tbM" border="1"> <h:column> <f:facet name="header"> <h:outputText value="Code"/> </f:facet> <h:inputText value="#{tbM.code}"/> <h:commandButton value="search" action="MaterialsBean.search"/> </h:column> <h:column> <f:facet name="header"> <h:outputText value="Name"/> </f:facet> <h:outputText value="#{tbM.name}"/> </h:column> <h:column/> </h:dataTable>
I want to click the button on the datatable,popup up a new windows to list search result by the CODE value of the current row.
Can do it?
Thanks! -
3. Re: How to do popup windows using jsf and ajax4jsf?
hysterio Jun 14, 2007 11:52 AM (in response to anycall)does anyone have any idea about this issue? is it possible?
scenario:
so i have a a4j:commandButton and when i hit it another popup (window) has to open and the response has to be put in this new window. -
4. Re: How to do popup windows using jsf and ajax4jsf?
liuliu Jun 15, 2007 3:52 AM (in response to anycall)why not use onComplete of a4j:commandbutton?
-
5. Re: How to do popup windows using jsf and ajax4jsf?
hysterio Jun 15, 2007 8:16 AM (in response to anycall)in the onComplete i can open a popup, but how do you tell to use that window for the response ?
and i noticed when i add target="_blank" to my h:form tag any a4j-request ignores it and the response keeps coming in the current window