Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

<af:serverListener> causing ADF page to hang while refresh

Rajan MFeb 27 2013 — edited Feb 28 2013
Hi All,

I am working on JDeveloper 11.1.1.5.0

We have developed an ADF application wherein we are using a <af:ServerListener> for implementing table row double-click action. below is the code
<af:clientListener method="handleTableDoubleClick"
                                     type="dblClick"/>
                  <af:serverListener type="TableDoubleClickEvent"
                                     method="#{UserBean.handleTableDoubleClick}"/>
 
<af:resource type="javascript">function handleTableDoubleClick(evt) { var
                                  table = evt.getSource();
                                  AdfCustomEvent.queue(table,
                                  "TableDoubleClickEvent", { }, true);
                                  evt.cancel(); }</af:resource>
there is a custom method written in UserBean to handle the event.

Now the problem is that when user refreshes this page using 'F5'...the page gets hanged and is not responding. I tried disabling the <af:serverListener> and it works correctly.

Please let me know any method to implement table double click listener without using <af:serverListener> component.

thanks,
Rajan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2013
Added on Feb 27 2013
12 comments
615 views