Skip to Main Content

APEX

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Implement jQuery modal form

610880Feb 18 2010 — edited Nov 10 2010
Hi,
For a long time I am trying to find anything related to implementation of modal popup windows into Apex and so far no luck.
Here is a link:
[http://jqueryui.com/demos/dialog/#modal-form]

and that is close to whatever I want to get. I have a page with lots of items and buttons, by clicking on one of the buttons I want modal window to popup and value from Parent Page (stored in hiden item) passed to modal window. In modal window I want to enter some data and by clicking "submit" data will go to the table and window shold be closed after that. In the same time I need Parent Page to get just entered data from modal (or just simply be refreshed)............ so it is all just basic stuff of popups and modals.....but I can not get this working.
Anyone has done it before? Any resuls?

Thanks a lot
This post has been answered by paulgall on Feb 22 2010
Jump to Answer

Comments

586120
Hi casey, I had a similar error, and it was because I had this line in the context.properties with oc4j_soa, instead of home:
java.naming.provider.url=opmn:ormi://xpone:6003:home/orabpel

If you have basic installation your instance name is home, oc4j_soa is the default instance name for an advance installation.

So check this parameters your error must be related with them.

Regards
Jorge Alvarado
586206
hi,

i am not able to resolve the same issue (to invoke a bpel process from a jsp page).

i have used the tutorial that comes with the oracle soa suite installation .

created the invokeHelloWorldJsp to invoke the HelloWorld web service which is already deployed.

i got the following exception:

java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:195)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at _InvokeJSP._jspService(_InvokeJSP.java:78)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)

when i saw the ejb modules in the oracle application server (oracle soa suite), i found that the Delivery bean (Stateless session bean ) was unavailable.(including all other beans)

could any one help me out to resolve this.

Regards,
Akila

Message was edited by:
user583203
232663
See: http://clemensblog.blogspot.com/
Specifically: http://clemensblog.blogspot.com/2006/02/infamous-javaxnamingnamenotfound.html

When you deploy and run your JSP:

java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean;
exception reported is: "javax.naming.NameNotFoundException:
ejb/collaxa/system/DomainManagerBean not found
...

Clemens blog addresses this error. You need to modify the server.xml file each time you do a deployment. The error requires your process to reference the orabpel application as its parent. The orapbel application, defined in the server.xml file, contains the needed DomainManagerBean. Assume you have deployed your
application as webapp1. Therefore you must modify the servel.xml file after you deploy your application as per the following. The server.xml file you must change is located in:
<OraBPELPM_1>\integration\orabpel\system\appserver\oc4j\j2ee\home\config
Where <OraBPELPM_1> is the directory wherein you installed OraBPELPM_1.

...
<application name="orabpel" path="../applications/orabpel_ear" auto-start="true" />
...
<application name="webapp1" path="../applications/webapp1.ear" parent="orabpel" auto-start="true" />
...

The first line is already in the server.xml file and you must add parent="orabpel" to your deployment line. Each time you do a deployment this line is overwritten and therefore you must make the same change each time you do a deployment. ALSO - after the deployment and the editing change you
must bounce the server for the server to reread your change.

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

Post Details

Locked on Dec 8 2010
Added on Feb 18 2010
58 comments
8,340 views