2.1 RC1 - Dialog - onCloseUpdate

UI Components for JSF
Post Reply
User avatar
oriolmartiribas
Posts: 26
Joined: 24 Feb 2010, 17:15

29 Jun 2010, 10:13

In a p:dialog, I use the onCloseUpdatae to update a p:dataTable after closing the p:dialog.
With 2.0.2 it works but not with 2.1 RC1 :(

Code: Select all

            
<h:form id="form_taula">
    <p:dataTable  id="tbl" value="#{fctControl.fctList}" var="fc" paginator="true" paginatorPosition="top" rows="10"
                              selection="#{fctControl.fct_sel}" selectionMode="single" dynamic="true">
    ....................
    </p:dataTable>
</h:form>

Code: Select all

<p:dialog id="dlg_edicio" widgetVar="dlg_e" position="true"  width="620" header="Modify" modal="true" visible="false"
               closeListener="#{fctControl.OkCloseFct}" onCloseUpdate="form_taula">
     ....................
</p:dataTable>
PrimeFaces 2.1 RC1 / JSF 2.0 / GlassFish 3 Server

User avatar
oriolmartiribas
Posts: 26
Joined: 24 Feb 2010, 17:15

29 Jun 2010, 15:15

I've got the 2.1 RC1 from 28/06/2010 (and not the version from 22/06/2010) and now it works.
Thanks.
PrimeFaces 2.1 RC1 / JSF 2.0 / GlassFish 3 Server

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 Jun 2010, 12:16

Good to hear :)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests