DataTable Oncomplete Issue

UI Components for JSF
Post Reply
swathi
Posts: 8
Joined: 13 May 2010, 15:41

17 May 2010, 16:12

<p:dataTable value=#{ bean.some list} >
<p:column>

--------
</p:column>
<p:column>
<p:commandButton oncomplete="javascrpt Function()" actionListener="bean.method" update="clientid" />

</p:column>

I am trying to load the tree in the listener method . So after ajax call i need to execute some javascript to check the nodes based on some condition.
The problem with it is javascript is executed before actionListener.

Am I doing any thing wrong.
please help me out to resolve this issue.

Thanks in advance

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

19 May 2010, 18:07

Where is your tree? I can't see in the code.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 57 guests