JET – using busy-context for custom components by Anirban Mukherjee

image

This article demonstrates the power of JET’s busy context concept. The busy context API provides the developer with an elegant way to check if a custom web component has been completely loaded into the DOM and is READY to perform its duties.

To illustrate this feature, I have a sample application, which has two custom components: user-component-one and user-component-two. On the click of a button, I populate an knockout observable-array variable with some metadata which loads both these components twice. As I am looping through my array, I am also interested to access a method from each of the components. And this is where I have my problem! As soon as I try to access a method on the web components, while they are still being loaded, I get the following error: Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.