Creation of a Personalised LOV in a seeded OAF page
Hi,
I am trying to create a LOV item (personalised/CO extension) in a seeded OAF page.
When I am trying to do from Create Item option of personalised page then I cannot find the option for creating the LOV mappings.
When I am trying to create it by CO extension then there is an error that it cannot fetch the values, though I have created a customised Region with a customised LOV and by programming attaching it in the said region.
Please suggest.
Regards,
Arindam.
Hi,
this is an Oracle JDeveloper and ADF forum. OAF has its own forum on OTN.
Frank
Similar Messages
-
Need help with adding a Key flex field to a seeded OAF page
We have a seeded OAF page on which we already have Account Key Flex Field.
Properties of this flex field are:
The ApplShortName - SQLGL
Name - GL#
Type - Key
As per the client requirement, in the KFF screen, we have disabled the seeded structure for Accounting Flexfield and created a custom structure.
Our custom structure for the KFF is displayed correctly on the OAF page.
But now the requirement is to add a new KFF on the OAF page which is duplicate of the existing KFF, along with the existing KFF field; the structure and segments are same. Only difference being the display name of the existing KFF field is Account; the new one needs to be Tax structure.
Using personalization we added a new flex item and added the properties same as the existing KFF.
ApplShortName - SQLGL
Name - GL#
Type - Key
But the page is giving following error:
The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: KeyFlexfieldDefinitionFactory.getStructureNumber could not find the structure definition for the flexfield specified by Application = SQLGL, Code = GL# and Structure number =
We tried options like compiling the flexfield definition, but the error persists.
Any help in this regard is highly appreciated.
Regards,
Kiranmayi.Hi,
Please check whether your key flex structure is frozen or not. If now please freeze it and re compile and try.
This may helps too
error while developing KFF in oaf
Thanks
Bharat
Edited by: Bharat on May 10, 2013 4:51 AM -
Stale Data Error in seeded OAF page
Hi All,
In my custom oaf page I used master-detail between two tables using PPR (with single selection radio button in master table). From time to time I get "Error: Stale Data ..."
Absolutely the same error I was able to reproduce in seeded oaf page (R12.1.2):
1. open OA Framework ToolBox Tutorial -> Sample Browser -> Partial Page Rendering (PPR)
2. expand Coordinate Master Detail Tables
3. select first record (Supplier Number 1) and wait when the page will be fully refreshed
4. VERY FAST select second and immediately third record.
After that I get:
Error: Stale Data
The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
Cause:
The number of displayed records, 3, exceeds the actual number of records, 1, in view object SampleBrowserAM.SupplierSitesVO1. Some of the displayed records may have been deleted
Additional conditions:
1. Your connection to server should be "a little slowly" (in my case it's VPN). If apps server is in your local network you can get response very fast and will not get error. In this case repate 1-4 several times.
2. Browser - IE7 or IE8. In FireFox 3.6 works fine.
Thanks in advance.
Regards,
SergeyHi
Are you using
if (!vo.isPreparedForExecution()) if (! vo.isPreparedForExecution ())
vo.executeQuery(); vo.executeQuery ();
for VOs in process request of base page!For detailed explanation on this look at this thread: for VOs in process request of base page.
Please refer this thread may be it help you out..
Re: Page Refresh and Page Date Rollback
Ajay -
Opening a seeded OAF page from custom JSP page.
Hi All,
We have requirement to open a seeded OAF page from custom JSP page.
When we try to open URL of an OAF page after passing URL input parameters, we are always getting following error:
'You have insufficient privileges for the current operation. Please contact your System Administrator.'
On directly accessing the seeded OAF page, its encoding all the input parameters passed in URL. Also some more encoded parameters are getting added to the URL dynamically.
Is there any standard way exists to invoke seeded OAF pages without passing encrypted parameters to it? Also where can we get more details about
encrypting OAF URL parameters.
Any pointers would be appreciated.
Thanks in advance!
SaurabhHave you duplicated entire Customer Service module's menu in your responsibility?
or Also ping me the menu name..
--Prasanna -
Running seeded OAF page in JDeveloper
I'm trying to run a seeded OAF page in Jdeveloper. I get error when i try to run (right click and run on the page). Steps followed to load the page in JDeveloper...
1. zip JAVA_TOP and load in myclasses in JDeveloper
2. zip MDS file (for OKC) and load in myprojects in JDeveloper
3. Create a new workspace and project
4. Add the page i need to run in project properties/project content.
5. Right click on XML page to run
I have to eventually customize the page to add few additional tabs. Currently I want to try to run the seeded page with no changes and then start from there.
Please advise as to what should I look at in order to resolve the error. This is for OKC module and pages I am getting error on are (ContractDetailsPG.xml AND UpdateContractPG.xml). I tried few other pages and they run fine (from same MDS folder). These are for contract repository responsibility. When opening these pages from Oracle application (using proper responsibility), they are fine.
EBS: 12.1.3
JDeveloper version: 10.1.3.3.0.3
I get following error when I run the page.
--------------------------------------------------------- start of error message -----------------------------
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT DISTINCT orc.action_code
action_code,
fl.meaning
action_name
FROM
okc_rep_con_actions orc,
fnd_lookups
fl
WHERE orc.status_code = :1
AND
fl.lookup_code = orc.action_code
AND
fl.lookup_type = 'OKC_REP_CON_ACTIONS'
AND (:2 is null OR orc.action_code <> :3)
AND (:4 is null OR orc.action_code <> :5)
AND
nvl(disabled_flag, 'N') = 'N'
AND
((OKC_REP_UTIL_PVT.has_contract_access(:6, 'OKC_REP_AU_UPDATE') = 'T' AND orc.page_mode = 'UPDATE')
OR
(OKC_REP_UTIL_PVT.has_contract_access(:7, 'OKC_REP_AU_SELECT') = 'T' AND orc.page_mode = 'VIEW'))
AND (:8 is null OR orc.action_code <> :9)
at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
at _OA._jspService(_OA.java:87)
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.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
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:595)
## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1566)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2996)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:857)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(Unknown Source)
at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.composite.ContextPropertyUINode$Rndr.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseUINode.render(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
... and it continues
----------------------- end of error ------------------------------Try these:
1. Right click on .jpr in your Jdeveloper, go to project settings->Configurations->Development->Runner
Under "Java Options" field delete parameters which has CACHE in it's name. They are
-DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true
Restart Jdeveloper and test.
2. Refer Unable to run the page from JDeveloper
-Anand -
How to catch the fire action/Id of a flex field button in a seeded OAF page
Hi,
I have to catch the ID of a submit type button in a seeded OAF page from an extended controller.
The button is of flexfield type and the credentials of the button are as ::
ID :: applyCreActBut
Prompt :: A&pply
Additional Text :: Apply: Alt + p
Attribute Set :: /oracle/apps/fnd/attributesets/Buttons/Apply
In extended controller if any IOException is thrown at processRequest the it is getting reflected in the page, but if any exception is thrown in processFormRequest, then it is not getting reflected
(according to my understanding the extended controller's processFormRequest is not working even when the super is defined at the last line).
Please suggest if there is any other way of catching the ID or event of the buttons.
Regards,
Arindam.The call to super should not be the last line in the PFR of the extended controller, it should be the first. In you extended controller you can use a call to getParameter passing "applyCreActBut" as the parameter.
Kristofer Cruz -
LOV Auto Refresh Issue - OAF Page
Hi,
Currently we are facing one issue with one OAF page.
We have one LOV in the page. Currently it is fetching the details as per the VO SELECT query associated with it and no issues in the query part.
But, if you try to update the tables which are associated to the above VO query, the updated results are not showing in the LOV even after re-login also.
One interesing thing is, we are able to get the updated results in the LOV once the server is bounced. Can any one pls let me know how to get this resolved and we are expecting this updated results needs to picked by LOV without bouncing the server.
Best Regards,
HariHi Ankul,
We have already tried the approach which you have suggested. But still that did not worked.
Best Regards,
Hari -
Enter in LOV Triggers Go in OAF page
Hi,
In the OAF page, I have a LOV field. In the LOV text field if I enter some partial value like H% enter Enter button in Keyboard, automatically it fires the Go button and showing all the records starting with H in the results table which is not the required functionality. If I click Enter, it should open the LOV and ask the user to select one value.
How can I acheive this?
Thanks,
HCwill u plz explain it in little detail. I am not able to get ur query..
-
How to make a lov value readonly on click of other lov on seeded OAF page
Hi all,
I have a requirement to make some lov value of "currency" readonly on click of other LOV payment template.
I tried to extend controller of page to check lov event of payment template if it is clicked the other LOV becomes readonly . Here is my code(not working...)
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
if (oapagecontext.isLovEvent())
String lovInputSourceId = oapagecontext.getParameter("PaymentTemplate");
Hashtable lovResults =
oapagecontext.getLovResultsFromSession(lovInputSourceId);
if (lovResults!=null)
OAMessageLovInputBean msglovbean= (OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("currency");
msglovbean.setReadOnly(true);
Please help....thxHey Sunil,
sims wrote:
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
if (lovResults!=null)
OAMessageLovInputBean msglovbean= (OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("currency");
msglovbean.setReadOnly(true);---We cant change the webBean properties in ProcessFormRequest.
---Use SPEL and PPR
or --Try below
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
if("Lov1".equals(pageContext.getParameter(SOURCE_PARAM)) &&
"lovValidate".equals(pageContext.getParameter(EVENT_PARAM))
&& "lovUpdate".equals(pageContext.getParameter(EVENT_PARAM)))
pageContext.putSessionValue("Flag", Flag);
pageContext.forwardImmediatelyToCurrentPage(null,
false,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
if(pageContext.getSessionValue("Flag") != null)
OAMessageLovInputBean msglovbean= (OAMessageLovInputBean)oawebbean.findIndexedChildRecursive("currency");
msglovbean.setReadOnly(true);}
Regards
Meher Irk
Edited by: Meher Irk on Dec 2, 2010 6:17 PM -
How to find seeded OAF pages where a particular VO is used
Hi,
I am doing some impact analysis. So I want to find out all the pages where a particular VO is used.
We need to change a lookup value. I found out all the VO where this lookup is used. But I am not able to find out the pages where these VO are used.
I tried to find it using about the page link on the page but unable to find the VO and this is a time consuming process.
Is there any way to find all the pages using these VO?
For seeded pages I can see only CO in webui folder. There are no pages in this folder.
Could anyone please help me out?
ThanksI am not aware of any method to do so. Also dont think it exists. But I have a suggestion you can try out.
Look for the VO name (Do a grep in linux) at the directory structure where you have stored the Page and Region XML files. The references can be caught here. Also you need to query for the VO name in java files (Controllers, may be entity Experts etc) and then you can find that.
Hope it helps.
Thanks
Sumit -
Unable to retain menucontext when opening a seeded OAF page from Custom OAF
Hi All,
We are opening a Standard OAF page from a custom OAF page
We have a custom page where we are providing a link “PlanElements” to the user. When the user clicks on this link he will get “PlanElements” page.
In “PlanElements” we are providing a link UpdateRates. When the user clicks on this link he will get “UpdateRates” page of another responsibility in new window.
Our problem is if the user clicks on the updaterates link we are losing the menucontext on our custom page. We are able to retain the AM but we are losing the menu context. We have tried using OAWebBeanConstants.KEEP_MENU_CONTEXT to retain menu context but of no use.
Any pointers on this would be helpful.
With Regards,
Anjani ChakkaHave you duplicated entire Customer Service module's menu in your responsibility?
or Also ping me the menu name..
--Prasanna -
Stale Data error when invoking seeded OAF from a custom OAF page
Hi All,
We have a requirement in OAF where we have to open a Seeded OAF Page (Install Base) from our Custom Page. We are using the javascript function “openWindow()” to open the page in a new window. When we close the seeded page by clicking seeded page window using the Window-close button and then perform any event on the custom page, we get the Stale Data error as given below.
Error: Stale Data
The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
Cause:
The number of displayed records, 2, exceeds the actual number of records, 1, in view object OwqAM.IKNCICOWQDetailVO1. Some of the displayed records may have been deleted.
Here is the part of code we have tried.
String destination = "/OA_HTML/RF.jsp?function_id="+Func_Id+"&"+"resp_id="+Resp_id+"&"+"resp_appl_id="+Application_id+"&security_group_id=0&lang_code=US";
String testDest = "javascript:openWindow(top,'"+destination+"',null,{width:750, height:550},false,'document',null);void(0);";
OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
bodyBean.setOnLoad(testDest);
Also this issue is encountered only when we open an OAF page in a new window. We also have a functionality where a JSP page is opened on similar lines, but above said navigations do not result in the same error.
If anyone has come across such a issue and have a resolution, please let me know. Any pointers would be of great help.
Thanks,
MrugeshHi,
We had tried passing RetainAM = Y and then bouncing apache. Still we were getting the same error.
We are not facing the STALE DATA issue when we invoke JSP page and oracle forms. It is only when we launch a seeded OAF page from our custom OAF page that we are getting this error.
Regards,
Mrugesh -
Hi,
In one of the seeded pages. I can't see the LOV Input Item.
When I checked the LOV region ( from About this page link) , I can see that for that particular region the Rendered is true and inherited for the site and all other levels.
Any pointers about ,
Why the LOV item is not visible at all in the page
Thanks in advanceHi,
Check with the CO whether rendered property has been programmatically set as false.
Regards,
Gyan -
Need to change the LOV field based on checked box selection in OAF page
Dear ALL,
I have a requirement as below:
I have a custom OAF page having a lov field which is mandatory, a check box and a two text fields.
So based on LOV value selection i am defaulting two text field value automatically.
So my requirement is when user selects the check box automatically the LOV field should be non mandatory and user can insert in values to the lov field and text field and submit it.
SO basically based on check box field selection i need to make the lov field in such a way it should accept all the values what user enters instead of check the query added in VO behind the LOV.
Please suggest me some pointers to achieve this requirement.
Thanks
Debhi,
in PFR use:
if ("checkevent".equals(pageContext.getParameter(EVENT_PARAM)))
HashMap hashMap = new HashMap();
String checkboxval=pageContext.getParameter("item2");
hashMap.put("checkboxval",checkboxval);
pageContext.setForwardURLToCurrentPage(hashMap ,
true, // retain the AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
and in PR use:
if((pageContext.getParameter("checkboxval'))!=null)
OAMessageLovInputBean lovInputBean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("item3");
lovInputBean.setRequired("false");
try it
Regards
Mahesh -
How to call the custom code in Seeded OA pages when an event Occured.
Hi,
I need to call a Oracle Create Task API when User saves the data from Seeded OA Page(Sales OA Page).When User Pressed on the Save button,based on Value he selected in " Sales Methodology" Field ,I need to call Call API.
How can I achieve it.Is it suggestable to call Custom Code in OA Page.
Thanks
Raju.hi
extend the controller
1.) In PFR method of controller capture the event of save button.
2.) If the save button event ocurred capture the value of Sales Methodology.
3.) if select Sales Methodology is required value then call the API using the below method (change it accordingly)
import java.sql.CallableStatement;
import java.sql.SQLException;
import java.sql.Types;
OADBTransaction txn = getDBTransaction();
CallableStatement cs =
txn.createCallableStatement("begin dbms_application_info.set_module(:1, :2);
end;");
try
cs.setString(1, module);
cs.setString(2, action);
cs.execute();
cs.close();
catch (SQLException sqle)
try { cs.close } catch (Exception(e) {}
throw OAException.wrapperException(sqle);
thanx
Pratap
Maybe you are looking for
-
Problems transferring photos from a Windows formatted iPod Photo to new G5
Hi all, I have recently come back from an overseas trip where I stored many many photos on an iPod Photo, using a PC with Windows XP. Now that PC is stuck in the repair shop - most likely not worth saving - and I have bought myself a G5 with OS X and
-
How do I format bullet lists in the Notes tab?
I have a transcript of the audio narration in the Notes section of my source PowerPoint slides. When I publish with Adobe Presenter, these transcripts appear in the Notes tab in the published course. However, when I publish my course, any bullet list
-
Fine white lines going across screen Horz.
I was working a iDVD project lastnight and left it working on it as I was sleeping. When I checked on it this morning my DVD had burnt fine. However I noticed that my display had 2 fine white lines going across the screen Horz. down about 2 inches fr
-
File Copy to Clipboard includes path - how to avoid
I'm writing an Automator action that does several actions to whatever file in the Finder is selected (or right-clicked). The first action in the Automator action is Copy To Clipboard. This works, however, it copies the entire absolute path of the fil
-
Extra/more EFX wish list for X
.Environment 2.Special FX 3.Advanced EQ 4.Custom 5.Studio 6.Karaoke <FONT color=#ff00ff>Include all the EQ settings from the <FONT color=#996666>Audigy2 <FONT color=#996666>