Identify parent region id in oracle adf
Hi,
Can any please answer me how to identify parent region from which the child region being invoked or rendered.
For Ex :
I have 2 parent regions and 2 child regions.
//Start
parent1_region.jsp
child1_region.jsp
child2_region.jsp
parent1_region.jsp
//End
//Start
parent2_region.jsp
child1_region.jsp
child2_region.jsp
parent2_region.jsp
//End
Please note that the child regions embedded or rendered in those parent regions are same.
I need to identify from which parent region the child sends the request to the server(for ex : a button event or action from a child region)
Thanks in advance for answer
Hi,
starting from the command button, you call getParent() until you find an instance of RichRegion. This region has a unique ID that you can define with a meaningful name so you can distinguish which region issued a request
Frank
Similar Messages
-
Unable to open OAF page oracle.adf.mds.MetadataDefException:
I am unable to open a OAF OAF page. The error message that i am getting is
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /bob/oracle/apps/ak/pmrtest/webui/PMRTestPG-ROHR-MRA=36105=3014=Y=Y, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
I tried running the below
begin
jdr_utils.printdocument(<PageName>);
end;
It throws and error "Could not find document <Pagename>"
Can anyone pls help resolve this issue
ThanksHi Gyan,
When I printdocument for that region, I see the xxpositionname1 as the messagestyledtext item.
<insert before="ManagerColumn">
<oa:column id="xxPositionName" adminCustomizable="true" bandingShade="none" cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true" rendered="true" scope="." totalValue="false" userCustomizable="false"
xmlns:oa="http://xmlns.oracle.com/oa">
<ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:sortableHeader id="xxPositionNameSH" adminCustomizable="true" cellNoWrapFormat="false" initSortSeq="none" prompt="Position" rendered="true" required="no" scope="." sortState="yes" userCustomizable="false"/>
</ui:columnHeader>
<ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:messageStyledText id="xxPositionName1" adminCustomizable="true" cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" prompt="Position" queryable="false" rendered="true" required="no" scope="."
selectiveSearchCriteria="false" serverUnvalidated="false" sortState="no" tipType="none" totalValue="false" userCustomizable="false" vAlign="middle" viewAttr="Name1" viewName="IrcOfferSearchVO" warnAboutChanges="true"/>
</ui:contents>
</oa:column>
</insert>
Thanks,
HC -
Trying to add a new region to an Oracle seeded page
Hi,
I have a requirement in my project where I have to add a sub tab region to standard OAF page. I have created an independent region for the same and using XML importer loaded the page on server.
Through personalization, I am trying to add region of stack layout in subtab region of the standard page. I get the following error while trying to do so:
Error
Extends: Invalid value: /sspn/oracle/apps/po/document/agreement/webui/SSPN_SiteRegBpaRN: the reference may not exist. (oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /sspn/oracle/apps/po/document/agreement/webui/SSPN_SiteRegBpaRN, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.)
Do i need to create a controller for this region as my intention was just to first see the layout on screen and then add the controller later. Anybody who has encountered similiar error, please help.
Regards
SwatiYes I have bounced the Apache.
I have also imported the xml file using the following command:
java oracle.jrad.tools.xml.importer.XMLImporter /shapp001/applmgr/ODEV1/apps_st/appl/sspn/12.0.0/xml/oracle/apps/po/document/agreement/webui/SSPN_SiteRegBpaRN.xml -username apps -password <apps_pwd> -dbconnection "(description=(address_list=(address=(protocol=tcp)(host =chelan.stl.mo.boeing.com)(port=1568)))(connect_data=(sid=ODEV1)))"
It gave the output in command prompt as:
Importing file "/shapp001/applmgr/ODEV1/apps_st/appl/sspn/12.0.0/xml/oracle/apps/po/document/agreement/webui/SSPN_SiteRegBpaRN.xml" as "/oracle/apps/po/document/agreement/webui/SSPN_SiteRegBpaRN".
Please let me know if tha above command is correct or not. Also the xml file should be kept in which path
in /shapp001/applmgr/ODEV1/apps_st/comn/java/classes/sspn/oracle/apps/po/document/agreement/webui
or
/shapp001/applmgr/ODEV1/apps_st/appl/sspn/12.0.0/xml/oracle/apps/po/document/agreement/webui
Edited by: 862896 on Jun 1, 2011 8:06 AM -
hi, I am using 11g 1.2 and ADF BC
I followed the sample "http://andrejusb.blogspot.com/2010/05/crud-operations-in-oracle-adf-11g-table.html" and built a same thing in my bound task-flow.
the 'Edit' , 'Insert' , 'Save' and 'Undo' button worked perfectly, but the 'Delete' button is not. let say I have three lines in the table, If I click a row and click the 'Delete' button, then all three lines are disapear, May I know why? Thanks for your guide!
Rgds!But I do have the af:form in the page level. My table is inside the region which is in the page.
I have added a af:Subform around my af:PanelCollection, but the result is worse, even when I click 'INSERT' button, the all three lines are disapear!!!
May this sample and code can not work properly inside the region?
Edited by: xsyang on Jul 19, 2011 4:42 AM
finally I understand that the solution in the sample is for bindings in the page, but my af:table component in the page fragment. may not directly coding like sample. am i worng? can anybody guide me how to refer to binding in the fragment. Thanks!
Edited by: xsyang on Jul 19, 2011 8:06 AM -
Building Oracle ADF Applications Workshop
I have finished going through the "Building Oracle ADF Applications: Workshop"
from the following link:
http://www.oracle.com/technology/obe/obe9051jdev/ide1012/adfworkshop/buildingadfapplicationsworkshop.htm
Hopefully that is sufficient for the doc writer to locate the context of my
comments. If not, let me know and I'll provide additional information.
I grouped all of these together as one big comment. If you want it in a
different format, again, let me know.
Prior starting the workshop I printed out the entire document which resulted in
51 pages of output. In each comment, except for the first general comment, I
list the section name, step number and my page number which should be enough to
uniquely identify the area that the comment relates to. My suggestions start
out with "It would be nice...". I numbered the comments so I could have
comments refer to each other.
(1) One of the things I really liked was the "If you want to see a
demonstration of these steps, click here" links. Sometimes the discussion
was not precise so being able to see the actual usage worked well. It would
be nice if there were more of these in the workshop.
(2) "Building the Basic Page Flow", step 2, page 13.
I had some trouble with this because it wasn't clear how one changes the
DataPage's name. I used the property sheet and did it wrong, resulting in
an error. I had to consult the "If you what to see..." link to determine
how to do this correctly.
It would be nice if there were a paragraph before "When you are done"
saying something like:
To change the name of a DataPage just click on the icon's label and
enter the new value, starting with the leading slash.
(3) "Connecting the Pages", step 9, page 21.
This step has one switch to the Source editor view to make a change. This
change can also be made in the Design view.
It would be nice to stay in the Design view. The suggested wording for this
is:
In the Design view you can change the Edit button link by clicking on
the Edit button and pressing the left arrow (<--) key once on the
keyboard. The Property Inspector will be in an <A> element. Edit the
href property by appending the following:
&event=Edit
(4) "Connecting the Pages", step 10, page 22.
The first time I had trouble drawing the links. A bit more discussion on
how to draw the links with corners would be nice. One of the troubles was
that I would edit one link and another (or all of them) would suddenly
change to simple vertical links (no corners). The link lines were
separated, but the link names were displayed making it more difficult than
necessary to tell which link line went with which link name.
(5) "Adding a Create Function", step 4, page 24.
I have the same comment on this step as I did in comment (3).
(6) "Creating Session Variables with onEvent() methods", step 2, page 27.
The last paragraph describes how JDeveloper will prompt you to enter an
import statement. The comment I wrote on that page was:
Cool!
It's nice that JDeveloper handles this booking task.
(7) "Building a Message Stack with a findForward() method", step 1, page 28.
In the second paragraph it's not clear what the context is. It would be
nice if the second paragraph would start out with:
In struts-config.xml, right-click ...
(8) "Building a Message Stack with a findForward() method", step 6, page 30.
This code fragment at the end of this step has all lines starting in column
1. It would be nice if this was indented so it could be followed with less
effort. The same is true for the other code fragments in this section.
(9) "Building a Message Stack with a findForward() method", step 12, page 32.
I wrote a simple Java program that compared a String variable to a string
literal. In all cases using == to compare returned false, while .equals()
worked correctly. I was using Java 1.4.2_06_b03. Even if Java 1.5 supports
converting the == between strings to equals(), it would be nice if the
comparisons to the "type" variable used the .equals() method instead of ==,
so that those of us still using Java 1.4 would have properly working code.
Note that == in 1.4 compares the hash values while equals() looks at the
contents.
(10) "Enabling the Delete Confirmation Page", step 5, page 36.
The last sentence of the first paragraph contains the phrase:
if there are errors, build the ActionMessage object.
It would be nice if this contained an extra word as in:
if there are no errors, build the ActionMessage object.
(11) "Enabling the Delete Confirmation Page", step 6, page 36.
Line 12 (or 13 if you count blank lines) is storing a value in the request
object. It would be nice to have a discussion in this step instead of
having to wait until section "Intercepting the Middle-Tier Message", step
8, page 42 before we know what this is all about.
(12) "Overriding the findForward() Method", step 1, page 44.
It appears that the call to the super.findForward method is missing. It
would be nice if the following were inserted before the closing curly
brace:
super.findForward(actionContext);
(13) "Overriding the findForward() Method", step 9, page 46.
Near the end of this step it mentions the imports that are added. It
appears that there is a missing import statement. If this is correct, it
would be nice to also include the following import:
import oracle.adf.controller.struts.actions.DataActionContext;
(14) "Overriding the findForward() Method", step 10, page 46.
My diagram doesn't look like this. The "Edit" link between /browseCustomers
and /editCustomers should be "Commit". The "Cancel" link from
/editCustomers back to itself shouldn't be there. The "Commit" link from
/sure to /browseCustomers should be "Cancel". Compare this with the diagram
in section "Creating a Delete Confirmation Page and a Forward", step 5,
page 25.
(15) "Internationalizing Field Labels", step 3, page 48.
This is another case where the context is not clear. It would be nice if
the following was added to the first paragraph:
In the browseCustomers page,
(16) "Internationalizing Field Labels", step 10+, page 49.
Everything is internationalized except for the buttons. How does one
internationalize them?
(17) "Conditionally Displaying a Field", step 1, page 49.
The last sentence says "The result should look like the following:". If one
were following this workshop from front to back then what should be shown
is the internationalized version of this page.
(18) "Conditionally Displaying a Field", step 5, page 50. Bug?
When I look at the Source view of editCustomers.jsp the <INPUT> element has
a property setting of disabled="true". When I run the application and look
at the HTML source used by the browser, that same <INPUT> element has a
property setting of disabled="disabled". It works, but isn't that somewhat
redundant? I recommend that the source code should have the disabled
property setting as it appears in the Source view.Hi Jean,
Can you please provide the document part number and book title where you have seen this errors? This way I can forward this to the doc writer.
If this is not a document issue, please try the Members Feedback Forum. Community Feedback (No Product Questions)
Thanks -
Hi,
I am getting the below error when I press enter key after selecting a value lov value in the page. This page works fine when I press GO button.
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/irc/offers/webui/OfferSearchPG.OfferSrchQueryRN.xxPositionName1, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.webui.OACustomizationCOHelper.isExcludedStyleForAT(OACustomizationCOHelper.java:4006)
at oracle.apps.fnd.framework.customjrad.webui.CustomJRADTableViewsUpdateColShownCO.processRequest(CustomJRADTableViewsUpdateColShownCO.java:400)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/irc/offers/webui/OfferSearchPG.OfferSrchQueryRN.xxPositionName1, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findRelativeWithException(MetadataManagerBase.java:1532)
at oracle.adf.mds.internal.MElementImpl.findRelative(MElementImpl.java:157)
at oracle.apps.fnd.framework.webui.OACustomizationCOHelper.isExcludedStyleForAT(OACustomizationCOHelper.java:4002)
at oracle.apps.fnd.framework.customjrad.webui.CustomJRADTableViewsUpdateColShownCO.processRequest(CustomJRADTableViewsUpdateColShownCO.java:400)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/irc/offers/webui/OfferSearchPG.OfferSrchQueryRN.xxPositionName1, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findRelativeWithException(MetadataManagerBase.java:1532)
at oracle.adf.mds.internal.MElementImpl.findRelative(MElementImpl.java:157)
at oracle.apps.fnd.framework.webui.OACustomizationCOHelper.isExcludedStyleForAT(OACustomizationCOHelper.java:4002)
at oracle.apps.fnd.framework.customjrad.webui.CustomJRADTableViewsUpdateColShownCO.processRequest(CustomJRADTableViewsUpdateColShownCO.java:400)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1182)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:968)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:935)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:659)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2607)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1940)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
at OA.jspService(_OA.java:212)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at OA.jspService(_OA.java:221)
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:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)
Logout
Copyright (c) 2006, Oracle. All rights reserved.
Thanks,
HCHi Gyan,
When I printdocument for that region, I see the xxpositionname1 as the messagestyledtext item.
<insert before="ManagerColumn">
<oa:column id="xxPositionName" adminCustomizable="true" bandingShade="none" cellNoWrapFormat="false" columnDataFormat="textFormat" displayGrid="true" rendered="true" scope="." totalValue="false" userCustomizable="false"
xmlns:oa="http://xmlns.oracle.com/oa">
<ui:columnHeader xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:sortableHeader id="xxPositionNameSH" adminCustomizable="true" cellNoWrapFormat="false" initSortSeq="none" prompt="Position" rendered="true" required="no" scope="." sortState="yes" userCustomizable="false"/>
</ui:columnHeader>
<ui:contents xmlns:ui="http://xmlns.oracle.com/uix/ui">
<oa:messageStyledText id="xxPositionName1" adminCustomizable="true" cellNoWrapFormat="false" dataType="VARCHAR2" initSortSeq="none" prompt="Position" queryable="false" rendered="true" required="no" scope="."
selectiveSearchCriteria="false" serverUnvalidated="false" sortState="no" tipType="none" totalValue="false" userCustomizable="false" vAlign="middle" viewAttr="Name1" viewName="IrcOfferSearchVO" warnAboutChanges="true"/>
</ui:contents>
</oa:column>
</insert>
Thanks,
HC -
General Query to identify parent columns and child columns in a table
Does anyone know a general query that can be run to identify the child records associated with the parent column within a single table.....and between other tables?
Am I correct in assuming the parent column is the 'primary key'?
Thanks.....I'm a new to oracle...and need some help understanding
my company's crazy DB structureYou can use
User_Constraints
User_Cons_Columns
views to identify parent and child table columns
SELECT * FROM User_Constraints WHERE Constraint_Type = 'R' AND Table_Name = '<TABLENAME>';
SELECT * FROM User_Cons_columns WHERE Constraint_Name = '<Name from Above query>';
will give you columns of the parent table (if you use value from constraint_name) and of child table (if you use value from r_constraint_name).
HTH.. -
Hi friends,
We are in to new development in Oracle ADF and newbie to this technology.
Created .jsf page and in corresponding pagedef, has "ControllerClass" with refering "DummyPagePhaseListener" and we have master-detail relationship using Viewlink(created using a SQL Query and entity based view).
Below exception raised when navigating from one to another record in Master af:table. Any help will be appreciated. Thanks in Advance......
java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController
at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:5197)
at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4247)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:300)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:70)
at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:202)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$600(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:323)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Hi timo,
Thanks for ur reply...
we are using unbounded taskflow.
In Controller class(page def file), we refered the class that implements PagePhaseListener
The following override methods has created
public void afterPhase(PagePhaseEvent pagePhaseEvent) {
//In this area we used to read the session object file which is written and sent by another application(application to application navigate).
If session object file exists,will allow the user to navigate into the requested page else will navigate in to login(security aspect).
public void beforePhase(PagePhaseEvent pagePhaseEvent) {
Is we used Controller class wrongly ???
Is there any relationship with region controller???
Mani
[email protected] -
Hi,
Please help me to understand why this error comes.
I have deployed ear file into glass fish server.
Using adf essential in Jdevelepor 11.1.2.3.0.
[#|2012-12-04T19:17:51.658+0530|INFO|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=21;_ThreadName=Thread-2;|PWC1412: WebModule[null] ServletContext.log():JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.lang.ClassCastException: java.lang.String cannot be cast to oracle.adf.view.rich.model.RegionModel|#]
[#|2012-12-04T19:17:51.658+0530|INFO|glassfish3.1.2|oracle.j2ee.jsp|_ThreadID=21;_ThreadName=Thread-2;|unable to dispatch JSP page: The following exception occurred:.
java.lang.ClassCastException: java.lang.String cannot be cast to oracle.adf.view.rich.model.RegionModel
at oracle.adf.view.rich.component.fragment.UIXRegion.getValue(UIXRegion.java:1587)
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:415)
at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:107)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspIterationTagNode.executeHandler(OracleJspIterationTagNode.java:45)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
Thanks for the help in advance..It seems you have used a taskflow on a page and one of the binding.
It will be easy to point out if you paste the code of region tag *<af:region.......*. -
Regarding Oracle ADF Enterprise Application Development - Made Simple book
Hi guys,
I am trying to do Sten Vesterli's Oracle ADF Enterprise Application Development - Made Simple
book. But I am stuck setting up OTPC. When I am trying to run "tpcinstaller.jar" and give my database connection information I am given a TPC-90019 error.
The log file says it is a "ORA-01882: timezone region not found" error.
My timezone is 'Asia/Calcutta'.
This is what tpcinstaller log file contains,
-------------------------------------------------------------------------------------log_file
oracle.alminternal.version.Version: file:/C:/install/tpcinstaller.jar!/META-INF/version.xml
11.1.1.4.37.59.23
Launched from jar:file:/C:/install/tpcinstaller.jar!/oracle/alminternal/installer/Installer.class
Found installer jar file /C:/install/tpcinstaller.jar
Installer jar file name: /C:/install/tpcinstaller.jar
Created temporary directory: tpctemp
Execute command[tpctemp]: [D:\Oracle\Middleware\jdk160_21\bin\jar.exe, -xf, /C:/install/tpcinstaller.jar, lib]
Extracting files ...
Launching installer wizard, it may take a minute or so, please wait ...
Execute command[tpctemp\lib]: [D:\Oracle\Middleware\jdk160_21\bin\java.exe, -classpath, annotations.jar;commons-io-1.2.jar;dms.jar;forms-1.0.6.jar;ideimpl.jar;idert.jar;javatools-nodeps.jar;javatools.jar;javax-ide.jar;javax.persistence_1.0.0.0_2-0-0.jar;jewt4.jar;oicons.jar;ojdbc6dms.jar;ojdl.jar;ojmisc.jar;oracle.ide.jar;oracle.ide.webbrowser.jar;oracle.ide.webupdate.jar;org.eclipse.persistence_1.0.0.0_2-1.jar;share.jar;TimingFramework.jar;uic.jar;xercesImpl.jar;xmlparserv2.jar;/C:/install/tpcinstaller.jar, oracle.alminternal.installer.Installer, -W]
Temporary directory: connector created
C:\install\tpctemp\lib\otpc created
Jan 5, 2013 11:38:33 PM oracle.alminternal.installer.ideimpl.webbrowser.ProxyAddin loadProxyNative
WARNING: Unable to default HTTP proxy: Native support is not available.
:::settingsInitialized = false
jdbc.url = jdbc:oracle:thin:@localhost:1521:xe
jdbc.user = BOOK
jdbc.password = BOOK
SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-01882: timezone region not found
-------------------------------------------------------------------------------------log_file
Regards !
Sameera
Edited by: samme4life on Jan 5, 2013 9:10 PMI have the same problem, when I delete row and after that I use refresh button in internet explorer. What I do is I drag and drop button "removeEntity" and edit it in backing beans adding new bindigs that commit changes and referesh page. Code:
public String commandButton2_action1() {
BindingContainer bindings = getBindings();
OperationBinding operationBinding =
bindings.getOperationBinding("removeEntity");
Object result = operationBinding.execute();
if (!operationBinding.getErrors().isEmpty()) {
return null;
OperationBinding commit1 = bindings.getOperationBinding("Commit");
commit1.execute();
OperationBinding requery = bindings.getOperationBinding("findAllRezerwacja1");
requery.execute();
return null;
In page definition I added "Commit" action and code with methodAction is:
<methodAction id="removeEntity" InstanceName="SessionEJBLocal.dataProvider"
DataControl="SessionEJBLocal" MethodName="removeEntity"
RequiresUpdateModel="true" Action="999">
<NamedData NDName="entity"
NDValue="${bindings.findAllRezerwacja2.currentRow.dataProvider}"
NDType="java.lang.Object"/>
</methodAction>
<action id="Commit" IterBinding="findAllRezerwacja1Iter"
InstanceName="SessionEJBLocal.dataProvider"
DataControl="SessionEJBLocal" RequiresUpdateModel="true"
Action="2"/>
Can sb tell is there is normal that when I delete row in table, and after it I refresh manually by IE page is normal that I get error messages. I this is the same situation using Back in IE. Deleting row that is commited to database works fine, but the problem is with manually refreshing page?
Next question is about using Delete action from node instead of removeEntity, what is the difference? As you can see, I use removeEntitity method. Choosing Delete action instead doesnt works. Why? Rest of the code is the same but instead of dropping method removeEntity I drop Delete action
Sorry for my English, its not my native.
Thank in advance -
Free Oracle ADF training by Oracle Product Management in the UK
For anyone learning Oracle ADF, we are running some free ADF training including a hands-on lab. Check out
https://blogs.oracle.com/grantronald/entry/free_hands_on_adf_training
regards
Grant RonaldHi, many of these events come about as a result of local demand. If you have an account manager in UAE please let him know you want this kind of training/events. This kind of demand from the field is what helps us target these events. So, to answer your question, I don't have anything planned from my group, but this is something we could put together if we have demand in a region.
Regards
Grant -
View links in oracle ADF/query featching from Database
Please any one help for this query
I have two tables Emp, Dept
I have query like this select * from Emp e, Dept d where e.deptno=d.deptno
Query is fetching like this
Empno Ename job Salary Comm deptno deptno dname Loc
15 i1 support 50000 11 5 5 IT sss
15 i1 support 50000 11 3 3 Account sss
16 i2 support 8000 10 5 5 IT sss
16 i2 support 8000 10 3 3 Account sss
16 i2 support 8000 10 3 3 Software sss
16 i2 support 8000 10 4 4 Operation sss
Query is fetching 6 rows.
but my requirement is what ever records fetching from database with same employee number is one record that is same employee number dept names grouped I will show it as one record how to fetch records from data base.
Here is the example (My Requirement):
This is first row:
Empno Ename job Salary Comm
15 i1 support 50000 11
Deptno dname Loc
5 IT sss
3 Account sss
This is second row:
Empno ename job Salary Comm
16 i2 support 8000 10
Deptno dname Loc
5 IT sss
3 Account sss
2 Software sss
4 Operation sss
i am useing oracle ADF if any possibility in view links either i get from the query as i mentioned.
plz any one can help
thanksPlease any one help for this query
I have two tables Emp, Dept
I have query like this select * from Emp e, Dept d where e.deptno=d.deptno
Query is fetching like this
Empno Ename job Salary Comm deptno deptno dname Loc
15 i1 support 50000 11 5 5 IT sss
15 i1 support 50000 11 3 3 Account sss
16 i2 support 8000 10 5 5 IT sss
16 i2 support 8000 10 3 3 Account sss
16 i2 support 8000 10 3 3 Software sss
16 i2 support 8000 10 4 4 Operation sss
Query is fetching 6 rows.
but my requirement is what ever records fetching from database with same employee number is one record that is same employee number dept names grouped I will show it as one record how to fetch records from data base.
Here is the example (My Requirement):
This is first row:
Empno Ename job Salary Comm
15 i1 support 50000 11
Deptno dname Loc
5 IT sss
3 Account sss
This is second row:
Empno ename job Salary Comm
16 i2 support 8000 10
Deptno dname Loc
5 IT sss
3 Account sss
2 Software sss
4 Operation sss
i am useing oracle ADF if any possibility in view links either i get from the query as i mentioned.
plz any one can help
thanks -
JsCookMenu - Problem with display of Menu (Oracle ADF)
I am using Oracle ADF with JSF components. The jsCookMenu displays the menu along with "x" representing images on the right and left side of the menu label. Please suggest me how to remove this icon from the menu display. Please find the code below.
<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="/css/jscookmenu" >
<t:navigationMenuItem id="nav_1" itemLabel=" Menu1 " >
<t:navigationMenuItem id="nav_1_1" itemLabel="Menu1.1" > </t:navigationMenuItem>
</t:navigationMenuItem>
</t:jscookMenu>
I am getting this problem with IE when the application starts. When I do ctrl+refresh, this issue doesnot occur. Also, with Firefox I am not getting any problem. I need to know how to fix this issue with IE when the application starts. Any suggestions on this would be of great help.User, please always tell us your jdev version.
The interesting part is what you did not tell us.
Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code means hte code has once run OK and now after you did some changes doesn't any longer. Querstion: what did you change, not oly to the code but to the environment.
Timo -
hi ,OTN
I have an ADF 10g application which I migrate to Jdeveloper 11.1.1.3.0 version after migration and turning Adf faces to Apache Trinidad components and fixing all my code,compiling the application without any Errors,when I deployed my application to weblogic I had a deployment exception this is all the stack trace
User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener '
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:195)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286547027015' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException:
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
>
<08/10/2010 EET 04:11:11 م> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Version4'.>
<08/10/2010 EET 04:11:11 م> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Documents and Settings/Administrator/Application Data/JDeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/Version4/ViewControllerWebApp.war/WEB-INF/faces-config.xml
Cause: Unable to find class 'oracle.adf.controller.faces.lifecycle.ADFPhaseListener'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:248)
at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
Truncated. see log file for complete stacktrace
help please?thank you for quick reply. but I ran my application in the integrated weblogic server in the Jdeveloper.I did not deploy it to a standalone one.did you mean the default domain?
-
Oracle ADF project help needed
Hi all,
Looking for some guys to help out on a project for about 7 weeks. Start early March. On site. Oracle ADF with Java. Good pay rates!
Thanks a lot, please contact me!Hi,
very nice to talking with you through oracle forums. what kinds of help you needed.
You are looking for java with oracle ADF, Toplink developer....or anyother
can you make it clear.
regards,
abu
Message was edited by:
asufian
Maybe you are looking for
-
Issue trying to connect oracle to mysql database
Hi there, I need some help with the configuration, i'm trying to connect a windows oracle 11g r2 to a linux mysql 5.5, but i'm having a lot of issue, here i will put the configuration. Thanks for everyone how will try to help me! here is my tnsname.o
-
I want to know what means CLASSPATH?
I asked this before, but I didn't get a good answer but I think it should be easy for you to help me. OS: Windows XP Professional SDK: J2SE v1.3.1_03 ( installed into standard directory C:\jdk1.3.1_03 ) PATH: %SystemRoot%;%SystemRoot%\system32;%Syste
-
Hi, I wrote RFC Func. Module in R/3, with just a Remote Enabled func module and code i gave is Using SE37 Func Module Name: <b>ZDumpData</b> ZTakeData is the Table name in R/3. In Tables Tab: ITAB LIKE ZTakeData In Source Tab: insert ZTakeDat
-
I've had no problem whatsoever with itunes
I've had no problem whatsoever with itunes for months, and now out of nowhere it wont show any songs on shuffle even though i have it clicked to my library, it says none are available. Whenever I play songs on a playlist it wont move to the next song
-
I have a Power Mac G5 with Tiger 10.4.11. Can I use, setup and administer an Airport Extreme base station if I have the Airport utility 5.4.2? Or is my machine hopelessly out of date?