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!

Calling Applet dynamically from JSF and JSF Fragment differences.

Arun TJul 28 2016 — edited Jul 29 2016

Hi All,

              I have simple requirement to call Applets from click of button in my jsf page. Everything works fine as expected.

I have have placed my button inside jsf page its working fine. If i place the same button inside an jsff page and use it as region the applet is not working

I would like to understand the differences here and also kindly advise on how to invoke applet from JSF fragment - Button.

Thanks in Advance

-Arun

Comments

Timo Hahn

Arun, tell us your jdev version, please!

I guess it will only work for full pages, meaning the alert has to be defined the jsf page.

You can compare the html which is generated from the jsf page the fragment. You may spot a difference which you can then eliminate by e.g. putting the applet into a panelformlayout.

Timo

Arun T

Hi Timo, thanks for your reply.

We are using 12.1.3 JDev and as a workaround i am calling the jsf button from an jsff button. From the jsf button the applet is created in bean dynamically, not in the page. It works fine

I will compare the source generated and get back on this.

Thanks

- Arun

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 26 2016
Added on Jul 28 2016
2 comments
283 views