ADF Passing Parameter to View Object
I created a view object that has, as part of it's where clause, ":1 = field". :1 can also be replaced with ?. I added this Object to my AppModule and was wondering how to bind that value from a "web tier" object. (I'm new to the "whizzy wig" development, maybe this isn't possible) thanks for any help
-Alan
Check out the following posting on my blog.
http://radio.weblogs.com/0129487/2003/10/06.html#a3
raghu
JDev Team
Similar Messages
-
How to pass parameter to view object
hi, I want to create lov with "where clause" depends on one attribute in ui fragment
hi,
think this will help u,
http://technology.amis.nl/2011/11/28/synchronize-viewobject-queryies-by-dynamically-linking-bind-parameters/
https://kr.forums.oracle.com/forums/thread.jspa?threadID=2392894
try to make lov passing parametor from view criteria. orelse set it in backing bean.
http://andrejusb.blogspot.com/2008/12/cascading-lovs-in-oracle-adf-11g-update.html
http://www.jobinesh.com/2011/03/initializing-bind-variables-in-query.html
thks. -
Uix passing page's view object as a parm to another page
I want to pass a VO used on one uix page for use as the view object on another page. I'm using 9.0.5.2 and bc4j. I'm trying code as follows:
<bc4j:registryDef>
<bc4j:rootAppModuleDef name="SmGoalsViewAppModule"
definition="smart.Smartbc4jModule"
releaseMode="stateful" >
<bc4j:viewObjectDef name="${uix.pageProp.goalViewObject}">
<bc4j:rowDef name="RowGoalViewObject" autoCreate="false" >
<bc4j:propertyKey name="key" />
</bc4j:rowDef>
</bc4j:viewObjectDef>
</bc4j:rootAppModuleDef>
</bc4j:registryDef>This does not work. It appears the Expression Language statement, ${uix.pageProp.goalViewObject}, does not get parsed at this point in the UIX page.
Is there another way to do this?
Thanks, SteveSteve,
Sorry, I'm not sure how to do this. Anybody else have experience with this?
- Ryan -
How to use bind parameter in view object
in my view object has parameter as below
where :organization_id IS NULL
:organization_id parameter get value from LOV
I can run the page but it show following error :
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hou.name organization_name
,hapf.name position_name
,hapf.attribute1 position_fund
,pg.name grade_name
,pbd.budget_detail_id
,hapf.position_id
,pbd.budget_version_id pbd_budget_version_id
,pbv.budget_version_id pbv_budget_version_id
,'Y' VIEW_DETAIL
,'Y' VIEW_DETAIL_OCC
,greatest(hapf.effective_start_date, pbv.date_from) effective_date
FROM pqh_budget_details pbd
,hr_all_positions_f hapf
,hr_all_organization_units hou
,per_grades pg
,pqh_budget_versions pbv
WHERE pbd.budget_version_id = pbv.budget_version_id
AND pbd.position_id = hapf.position_id
AND hapf.effective_end_date = hr_general.end_of_time
AND hou.organization_id = hapf.organization_id
AND pg.grade_id = hapf.entry_grade_id
AND EXISTS (
SELECT 'X'
FROM hr_all_positions_f hapf1
WHERE hapf1.position_id = hapf.position_id
AND hapf1.availability_status_id = 1
AND (pbv.date_from BETWEEN hapf1.effective_Start_date AND hapf1.effective_end_date
OR
hapf1.effective_Start_date BETWEEN pbv.date_from AND pbv.date_to))
and :gl_organization = 10)
## Detail 0 ##
java.sql.SQLException: ORA-01008: not all variables bound
Thank you very muchIs it a seeded view or a custom view? Ideally, in OAF you do parameter binding in the style
organization_id = :1
Also make sure to call setWhereClauseParams(null) on your view object before going for binding.
--Shiv -
Discoverer -- Pass parameter to viewer in URL
I would like to pass a parameter to viewer via the URL. In plus this is possible using ¶m_. Is anything like this possible in viewer?
to viewer parameters are passed with "&qp_" (instead "¶m_").
-
Unable to create ADF Table based on view object
Hi
I am using Jdeveloper 11.1.1.5
I have created a view object based on the entity object. I am trying to drag and drop view object from data controls in to a blank page and choosing table -> ADF Table. The table is not getting created and at the same time I am not seeing any error message.
Please help me
Thanks
Edited by: 880409 on Aug 19, 2011 5:58 AMhttp://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/adfbc_new_features/adfbc.html -
ADF BC: LOV in view object and af:table
Using JDev 11g PS2
I have a few question about the use of LOV's in BC.
Let's take the HR schema as an example.
Suppose i am building a basic CRUD operation for the employee table. The employee has a FK to the department, job and manager table.
I have build a view that only uses the Employee entity. I have also defined a LOV for the departmentId and jobId.
This is all working quiet well when i put it into a form.
When i am adding a read only table to my page, the departmentId and jobId are shown as a number instead of their corresponding value for the department and jobs table.
The question i am having, what is the best practice for solving this? Is there a way to tell the output text to show the value of the LOV instead of the actual ID? Or do i need to modify my VO and add the department and jobs view to my Employee view so i can add the departmentName and jobTitle column to my employee VO?
I also notice that when i enable the filter on my table, it does not show my LOV for the department and job column... How can i enable that?
Edited by: Yannick Ongena on Jun 6, 2011 12:57 PMThe departmentId and jobId are shown as a number instead of their corresponding value for the department and jobs table1) What ADF Faces components do you use for the Department ID and Job ID in the table?
2) What Control Type is chosen for these VO attributes on "Control Hints" page of VO attribute definition dialog (Default, Choice List, Combo Box, Input Text With LOV, etc.)?
The generated table/tree binding does not specify the type of corresponding attribute bindings (have a look at the generated PageDef). The types of these attribute bindings (and also the types of the UI components inside corresponding <af:column>s) depend on the values of Control Type. If you use Choice Lists, then Department Name and Job Name should be displayed (if your LOV configurations specify them as displayed attributes). If you use "Input Text With LOV", then IDs should be displayed. I am not sure what should be displayed if "Combo Box" is specified, I suspect that IDs would be displayed.
Do i need to modify my VO and add the department and jobs view to my Employee view so i can add the departmentName and jobTitle column to my employee VOIf you use Choice List and if the LOV has parameters (from values of another VO attributes), then the Choice List query will be executed once for each VO row (if the parameter values are different for the different rows), so the performance will be slow. It is recommended to avoid Choice Lists in such cases but to include the corresponding "name/descrription" attributes in the VO query. If the LOV's query does not depend on any parameters and you use Choice List, then the query will be executed once at page load and then it will be reused from the VO cache.
When i enable the filter on my table, it does not show my LOV for the department and job column... How can i enable that?Table filter fields are text fields by default. You are able to override default filter fields (for example, with <af:inputListOfValues>) by using <f:facet name="filter"> within corresponding <af:column>. Just specify the necessary input component(s) within this facet.
Dimitar -
ADF Passing parameter between 2 Page Fragments
Hi,
I have One Bounded task flow. Inside there are 2 page framgments.
1)Header Page Pragment has table
I changed table column itemId to af:commandLink to navigate to next detail page.
<af:column sortProperty="ItemId" sortable="false"
headerText="#{bindings.XxTestStgVO1.hints.ItemId.label}"
id="c4">
<af:commandLink id="ot3" text="#{row.ItemId}"
action="select">
<af:setPropertyListener from="#{row.ItemId}"
to="#{pageFlowScope.pfsItemId}"
type="action"/>
</af:commandLink>
</af:column>While navigating to detail page we are using ExecuteWithParameters.
<action IterBinding="FilesByItemParam1Iterator" id="ExecuteWithParams"
RequiresUpdateModel="true" Action="executeWithParams">
<NamedData NDName="p_item_id" NDValue="#{pageFlowScope.pfsItemId}"
NDType="java.lang.String"/>
</action>However click on Command Linkon header Table is not working.
I followed steps as in
http://www.youtube.com/watch?v=4eyzBiIf5MM
Did i miss anything ? or is there any Property needs to be changed ?
Thanks,
JitHi,
Source Master Page
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
id="pt1">
<f:facet name="center">
<af:table value="#{bindings.XxTestStgVO1.collectionModel}" var="row"
rows="#{bindings.XxTestStgVO1.rangeSize}"
emptyText="#{bindings.XxTestStgVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.XxTestStgVO1.rangeSize}"
rowBandingInterval="0"
filterModel="#{bindings.XxTestStgVO1Query.queryDescriptor}"
queryListener="#{bindings.XxTestStgVO1Query.processQuery}"
filterVisible="true" varStatus="vs"
selectedRowKeys="#{bindings.XxTestStgVO1.collectionModel.selectedRow}"
selectionListener="#{bindings.XxTestStgVO1.collectionModel.makeCurrent}"
rowSelection="single" id="t1">
<af:column sortProperty="ItemId" filterable="true" sortable="true"
headerText="#{bindings.XxTestStgVO1.hints.ItemId.label}"
id="c1">
<af:commandLink id="ot4" text="#{row.ItemId}" action="select"
partialSubmit="true">
<af:setPropertyListener from="#{row.ItemId}"
to="#{pageFlowScope.pfsItemId}"
type="action"/>
</af:commandLink>
</af:column>
<af:column sortProperty="ItemNumber" filterable="true"
sortable="true"
headerText="#{bindings.XxTestStgVO1.hints.ItemNumber.label}"
id="c2">
<af:outputText value="#{row.ItemNumber}" id="ot3"/>
</af:column>
<af:column sortProperty="RequestId" filterable="true"
sortable="true"
headerText="#{bindings.XxTestStgVO1.hints.RequestId.label}"
id="c3">
<af:outputText value="#{row.RequestId}" id="ot2">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.XxTestStgVO1.hints.RequestId.format}"/>
</af:outputText>
</af:column>
<af:column sortProperty="StatusId" filterable="true"
sortable="true"
headerText="#{bindings.XxTestStgVO1.hints.StatusId.label}"
id="c4">
<af:outputText value="#{row.StatusId}" id="ot1"/>
</af:column>
</af:table>
</f:facet>
<f:facet name="header"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>Target Page
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
id="pt1">
<f:facet name="center">
<af:outputText value="#{pageFlowScope.pfsItemId}" id="ot1"/>
</f:facet>
<f:facet name="header"/>
<f:facet name="end"/>
<f:facet name="start"/>
<f:facet name="branding"/>
<f:facet name="copyright"/>
<f:facet name="status"/>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>Appreciate your help.
Jit -
How to pass parameters to view object having oracletext keyword contains
Hi ,
I am using the below query to get the document details in irecruitment with the matching keywords
contains (doc.character_doc,:SR,1) >0_ -condition to get the key word search provided by oracletext
i am not able to pass the value to the parameter :SR using vo.setSR or vo.setWhereClauseparams
please suggest on this.
This is the query :
SELECT score (1) AS score, doc.document_id, doc.file_name,
doc.last_update_date, ppf.email_address, addr.derived_locale,
addr.address_id, ppf.full_name, inp.notification_preference_id,
ppf.person_id, ppf.effective_start_date, ppf.effective_end_date,
ROWNUM AS rownumber, pov.vendor_id, pov.vendor_name,
inp.creation_date, NULL AS selectflag,
(SELECT meaning
FROM hr_lookups
WHERE lookup_code = ircreferralinfoeo.source_type
AND lookup_type = 'REC_TYPE') AS sourcetype,
DECODE
(ircreferralinfoeo.source_type,
'ER', (SELECT full_name
FROM per_all_people_f ppf3
WHERE ppf3.person_id = ircreferralinfoeo.source_person_id
AND SYSDATE BETWEEN ppf3.effective_start_date
AND ppf3.effective_end_date),
ircreferralinfoeo.source_name
) AS sourcename
FROM irc_notification_preferences inp,
irc_documents doc,
per_addresses addr,
per_all_people_f ppf,
po_vendors pov,
irc_referral_info ircreferralinfoeo
WHERE trunc(sysdate) BETWEEN ppf.effective_start_date AND ppf.effective_end_date
AND doc.person_id = inp.person_id
AND inp.person_id = addr.person_id(+)
AND NVL (inp.address_id, DECODE (addr.address_type(+), 'REC', addr.address_id(+),
-1)) = addr.address_id(+)
AND trunc(sysdate) BETWEEN addr.date_from(+) AND NVL (addr.date_to(+), sysdate)
AND doc.person_id = ppf.person_id
AND doc.TYPE IN ('RESUME', 'AUTO_RESUME')
AND doc.end_date IS NULL
AND EXISTS (SELECT NULL
FROM per_people_f ppfs
WHERE ppfs.person_id = doc.person_id)
**AND contains (doc.character_doc,:SR,1) >0**
AND ( (inp.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME'))
OR ( fnd_profile.VALUE ('IRC_AGENCY_NAME') IS NULL
AND inp.allow_access = 'Y'
AND inp.agency_id = pov.vendor_id(+)
AND ppf.party_id = ircreferralinfoeo.object_id(+)
AND SYSDATE BETWEEN ircreferralinfoeo.start_date(+) AND ircreferralinfoeo.end_date(+)
ORDER BY score (1) DESC
Thanks
Maheswara RajuGyan,
find the error message
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT score (1) AS score, doc.document_id, doc.file_name,
doc.last_update_date, ppf.email_address, addr.derived_locale,
addr.address_id, ppf.full_name, inp.notification_preference_id,
ppf.person_id, ppf.effective_start_date, ppf.effective_end_date,
ROWNUM AS rownumber, pov.vendor_id, pov.vendor_name,
inp.creation_date, NULL AS selectflag,
(SELECT meaning
FROM hr_lookups
WHERE lookup_code = ircreferralinfoeo.source_type
AND lookup_type = 'REC_TYPE') AS sourcetype,
DECODE
(ircreferralinfoeo.source_type,
'ER', (SELECT full_name
FROM per_all_people_f ppf3
WHERE ppf3.person_id = ircreferralinfoeo.source_person_id
AND SYSDATE BETWEEN ppf3.effective_start_date
AND ppf3.effective_end_date),
ircreferralinfoeo.source_name
) AS sourcename
FROM irc_notification_preferences inp,
irc_documents doc,
per_addresses addr,
per_all_people_f ppf,
po_vendors pov,
irc_referral_info ircreferralinfoeo
WHERE trunc(sysdate) BETWEEN ppf.effective_start_date AND ppf.effective_end_date
AND doc.person_id = inp.person_id
AND inp.person_id = addr.person_id(+)
AND NVL (inp.address_id, DECODE (addr.address_type(+), 'REC', addr.address_id(+),
-1)) = addr.address_id(+)
AND trunc(sysdate) BETWEEN addr.date_from(+) AND NVL (addr.date_to(+), sysdate)
AND doc.person_id = ppf.person_id
AND doc.TYPE IN ('RESUME', 'AUTO_RESUME')
AND doc.end_date IS NULL
AND EXISTS (SELECT NULL
FROM per_people_f ppfs
WHERE ppfs.person_id = doc.person_id)
AND contains (doc.character_doc,:1,1) >0
AND ( (inp.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME'))
OR ( fnd_profile.VALUE ('IRC_AGENCY_NAME') IS NULL
AND inp.allow_access = 'Y'
AND inp.agency_id = pov.vendor_id(+)
AND ppf.party_id = ircreferralinfoeo.object_id(+)
AND SYSDATE BETWEEN ircreferralinfoeo.start_date(+) AND ircreferralinfoeo.end_date(+)
ORDER BY score (1) DESC
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.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java: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.server.OAViewObjectImpl.initQuery(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.handleSubmitButton(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequestAfterController(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
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.server.OAViewObjectImpl.initQuery(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setCriteriaOnVO(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.handleSubmitButton(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequestAfterController(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
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 oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Thanks
Maheswara Raju -
Use ? style Parameter for View Object
I'm guess that if you set the ViewObject to use ? style parameter. You have to use the whereclause to pass in the parameter, correct? If so then how do you pass in parameter (use input) to the whereclause in a jsp page?
Never mind I was trying to set the whereclause in the tag, whereclause="application_id=<%=appId%>".
-
ADF forms based on BPM human tasks - Invoking webservices/view objects.
Hi All,
Is anyone aware of whether the following is a valid implementation that has been carried out before.
1. ADF forms based on BPM 11G human tasks.
2.The ADF forms invoke webservices via Webservice data controls. It is pertinent to note that the webservice bring back complex data types. We've tried writing a few forms, resulting in data benig brought back, but not being able to print them to the screen.
3. The ADF forms also use View Object based on sql to bring back tables of data. If view objects are embedded within the forms, the applciation gives rise to a null pointer exception.
Considering the form will be invoked via a BPM worklist entry, is there a setting or configuration we should consider before hand. Is this feasible, is there knowledge of this being done commercially.
Any examples or information regarding the same will be immensely helpful.
Thanks and Regards,
Preethi.
NB : I have posted this in the BPM forum as well as I feel it is relevant to both BPM and ADF.Hi Joonas.
Plese let me explain me better for your understanding
A big summary for what I meant it's the following:
1- In the procces you made, when you add the HT activity, you have to implement it, this means declare the input(s) parameters you want. This implementation create the .task file.
2- Create an application, and projects as HT you have. Each poject are based on the .task file, and automatically create a Data Control (for each project based on a .task) with all you need.
This w'll be an empty application, so you can customize it all you want. The task selected should have all the parameters previously defined. Those parameters can change if you want.
2- Create a page(s) in the task flow for the task implementation. You can even split the the payload of the task in differents pages, create your custom pages and any logic you need.
3- An important aspect is how to match these application with the HT implemented in the process. It's possible, it's a configuration en the Enterprise Manager.
4- Deploy your application
All these are explain in the book I mentioned
Th book you can find it here:
https://blogs.oracle.com/soacommunity/entry/oracle_soa_suite_11g_handbook_1
Regards Dariel.
PS: Please, let me know if you need more details. -
Programmatically populate ADF BC view object based on user's JAZN roles
I currently have a ADF BC read-only view object that is based on an sql query.
I would like to assign values to the bind variables based upon the user's JAZN
roles. My problem is that I am uncertain how to obtain the roles the user has.
Any help would be appreciated.
Thanks,
KenrickI do believe this topic is discussed in detail in the 4GL Developer's Guide. Section 30.8 describes everything how to obtain user info programatically. Aside from pointing you in a direction that will get you where you need to be, I can't be of much help. I'll be crossing that hurdle in the coming months.
Download the guide from this page:
http://www.oracle.com/technology/documentation/jdev/b25947_01/index.html. I printed and bound it and use it as my bible.
Good Luck,
Jeff -
Error while passing parameter in Oracle Jdeveloper
Hi All,
I was passed Crystal report viewer object From Servlet it is Running fine but one problem in that while passing parameter from that page to data base it is not supporting (The ok Button on page).
can any one tell me how to find Action Button (.Jsp page)
Because i am using .jsp page That was made in CR4E
in that i found only jsp code I have not get how to work Action of that button
Also another problem while making Viewer.jsp pge ..rpt-Crystal reports--->>Create Viewer Jsp->>Insert CrysatlReport viewer API code------->>>1.Connectparameterinthat report 2.connect the crystalreportPageViewer while makin this page i was running on Apache tomcat Server it is not displaying Anything only Displaying Blank Browser
Can Any one help me...
Sincerly
AmolFor your first question can you please be a little more clear as to what you are referring to? I am not familiar with an action button for the parameter pages.... what I can tell you is that we don't have any jsp code for the viewer controls, all of that is generated dynamically at runtime. We do have a viewer SDK that you can use to set properties on the viewer; information about this can be found in the [Developer Library|https://boc.sdn.sap.com/developer/library] in the Viewer SDK documentation book.
For your second question, I assume you are referring to generating a viewer page from a report in Crystal Reports for Eclipse. You will need to uncomment the viewer code (for some reason when the page is generated, the viewer code has block comments surrounding it). You will probably want to make sure the parameter code is uncommented as well.
In addition to this, there is a helper file called JRCHelperSample.java that contains all of the helper methods for the automatically generated viewer page. This can be modified in whatever way you wish to suit your needs. -
BC Archive - problem with opening view object based on entity from archive
We have encountered a weird problem with a reusable BC library on different PCs.
Library was imported into a project following steps in section 25.7 of the ADF guide.
A view object was created using some of the entities from the library.
Model tested successfully with view object (using AppModule tester).
Page developed with no problems.
Application copied to a different PC.
BC JAR files set up in lib folder and removed/readded to application model project. When attempting to open view object, get the error below.
However, the View object still tests successfully using the AppModule tester.
The page using the View object still runs successfully.
I believe the problem is that when the archive was originally imported, it was imported from a different location. The Containees tag in the project .jpx file references that path name. But even when I edited the path name, I still could not open the view object. Do we have to remove and redo the import of the library each time the application is copied to a different machine?
Error when attempting to edit View Object:
oracle.jbo.dt.objects.JboException: The following object(s) referred to objects that could not be found:
com.guideworkstv.ibo.webstagemodel.AcctReqForReviewViewObj
com.guideworkstv.ibo.webstagemodel.AcctReqForReviewViewObj
Could not find the following referenced object(s):
com.guideworkstv.ibo.model.webstage.entities.IboAccountRequest
com.guideworkstv.ibo.model.webstage.entities.IboAccountRequest
at oracle.jbo.dt.objects.JboException.throwException(JboException.java:81)
at oracle.jbo.dt.objects.JboPackage.loadResolveReferencesXML(JboPackage.java:1397)
at oracle.jbo.dt.objects.JboPackage.finishObjectsLoad(JboPackage.java:1042)
at oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:972)
at oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:951)
at oracle.jbo.dt.objects.JboBaseObject.loadFromXMLFile(JboBaseObject.java:2615)
at oracle.jbo.dt.objects.JboPackage.loadFromXMLFile(JboPackage.java:880)
at oracle.jbo.dt.objects.JboPackage.checkForLoad(JboPackage.java:451)
at oracle.jbo.dt.objects.JboPackage.findContainedObjectByName(JboPackage.java:440)
at oracle.jbo.dt.objects.JboPackage.findObjectByName(JboPackage.java:1999)
at oracle.jbo.dt.objects.JboApplication.findObjectByName(JboApplication.java:959)
at oracle.jbo.dt.objects.JboUtil.fileURLToObject(JboUtil.java:510)
at oracle.jbo.dt.jdevx.ui.JdxJboAddin$1.handleCopy(JdxJboAddin.java:997)
at oracle.jdeveloper.compiler.CopyTranslator.handledByListeners(CopyTranslator.java:125)
at oracle.jdeveloper.compiler.CopyTranslator.translate(CopyTranslator.java:263)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:516)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:609)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:666)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:894)We have resolved this problem by making sure that all machines have identical paths for both the working and the lib directories. It would be nice not to have to do this though.
-
ADF faces:pass parameter from TextInput to LOV view object
Txt1----- LOV1
Txt2----- LOV2
This case it's happen in the Create Mode
LOV2 depend on Txt1 value for make filtration on the LOV2 View Object
I use HttpSession for that, but in create mode it pass nothing in HttpSession
How can I solve it?You'll need to do something like what's described in example#62 on my blog:
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62
Maybe you are looking for
-
I have installed Oracle 9iAs (infrastructure & business intelligence) along with developer kit. To my problem , I am finding when starting services trough OEM. Report service is not getting starting up. Engine status is as Unavailable and server tr
-
Call to package not being executed in Pro*C
Hello! We are doing a machine migration from a Sequent Computer System (DYNIX/ptx(R) V4.4.8) to an HP-UX B.11.11 U 9000/800; and from the Oracle version 8.1.7.3.0 to 8.1.7.4.0. And we are having some problems, which we did not found a valid solution
-
Null pointer exception when relaunching the admin console after failover
Hi All, I am facing a strange type of problem for last few days can you please help me in solving this problem . This Problem is like That In the My domian or other similar enviroment (i.e. Service Gu
-
can type Chinese email but cannot display Chinese email when it receive. any hints to fix it? thx!
-
Mp4 video files convert to QT for import
I have mp4 video files and I'm trying to import them into FCP but they are unrecognizable. What is the best way to convert them? J