Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

About onMessage

885259Aug 29 2011 — edited Aug 30 2011
Hello,

I would like to know what happen if my application fail (lets suppose the computer break) before the onMessage() return (on a class that implement javax.jms.MessageListener). Suppose the acknowldge used is AUTO_ACKNOWLEDGE. What happen? The JMS Server was acknowledge or not?

Thank you for the attention.
This post has been answered by 883902 on Aug 29 2011
Jump to Answer

Comments

fac586
Answer

I haven't figured out how to do it using declarative Open Region DAs, or the documented API. From hints here and here I've got a solution using the underlying widget methods.
Modify the card link icon HTML Expression to use a data attribute instead of an id:

<a href="#" class="t-open-popup" data-empno="#EMPNO#">
 <span class="fa fa-user" aria-hidden="true"></span>
</a>

This provides JavaScript with a simpler, more direct way to access the unique card key value.
Change the DA Execute JavaScript Code:

var empno = this.triggeringElement.dataset.empno,
    o = { autoOpen: true,
          parentElement: "[data-empno=" + empno + "]",
          callout: true,
          relativePosition: "after" };

$('#showDetails').popup(o);

See demo on page 586 of your app.

Marked as Answer by Veerendra Patil · May 20 2021
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 27 2011
Added on Aug 29 2011
3 comments
192 views