Passing the parameter when pageloads as processRequest in OFA
Hi friends,
I developed a page (EmpDetailPG) to view the details of the employees. The data appearing on the EmpDetailPG uses a ViewObject that is based on a query. The query lists the details of all employees.
However, I have to include this page with EBS. The usercontext is available now in the EBS, and when the user loads the page the usercontext of EBS should be taken and passed this ViewObject on loading the page. This will ensure that the page displays the details of the only employee who is logged. How this can be in the ADF page. Ideas please let me know.
JDeveloper version is 11.1.2.4.0. EBS is 12.1.3
Thank you
Hello
(1) you must pass the username as a parameter of workflow. And then, you will need to filter your from vo of this username. You can do it on the loading of the page. See the blog post very useful for this http://tompeez.wordpress.com/2014/08/20/jdev-12-1-3-use-default-action-instead-of-invoke-action/
(2) you need to access the user name of the context and value as a workflow parameter. There might be some expressionLanguage which will return the username you see directions to the user of the present session in EBS
/ Context parameter that provides you with the user name, you need to workflow parameter. Refer
http://docs.Oracle.com/CD/E14571_01/Web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ
Thank you
Tags: Java
Similar Questions
-
Pass the parameter page fragment in a dynamic region
Hello.
I use Jdeveloper 11.1.1.3.
Can someone explain to me how to pass the parameter page fragment in a dynamic region?
My situation is:
I have only 1 page: index.jspx.
This page includes 2 items:
1. < af:tree >
< af:tree id = "t1" var = 'node' rowSelection = 'single '.
2. < af:region >:
value = "#{bindings." Rendering FpsrVO1.treeModel}"="true"expandAllEnabled ="true ".
contentDelivery = "lazy" initiallyExpanded = "false".
contextMenuSelect = 'false' fetchSize '-1' = >
< f: facet name = "nodeStamp" >
< af:commandLink id = "cl1" rendered = 'true '.
actionListener = "#{backingBeanScope.RegionDynamicBean.treeClick}" >
< af:outputFormatted id = "outForm' value = ' #{node." Name}' has made = "true" / >
< name f: attribute = "Flash" value = "#{node." Code} "/ >"
< / af:commandLink >
< / f: facet >
< / af:tree >
< af:region value = "#{bindings.dynamicRegion1.regionModel} '"
region could be changed to 3 delimited taskFows who have just a fragment of page.
ID = "r1" / >
Can someone explain to me how I can send < name f: attribute = "Flash" value = "#{node." Code} "/ > element tree to page fragment that will appear on the screen?"You can move a card to the dynamic region that would take the parameters of workflow task in the form of key-value pairs.
taskFlowId = "${backingBeanScope.TestPageBean.dynamicTaskFlowId}" "
Activation = "deferred."
xmlns = "http://xmlns.oracle.com/adf/controller/binding."
parametersMap="#{backingBeanScope.TestPageBean.parameters}"/ >When reloading the taskflow, ensure that the settings are loaded into the taskflow.
See this example from exactly your use case:
http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zipThank you
Nini -
passing the parameter through links page (navigation)
Hello
suggest me the way to pass the parameter through links in the page navigation.
I tried it in EL, I'm not able to get on the page.
is it a right approach or any other.
Thank you
A
After showing the steps in the similar thread, I found this thread then re-post here.
Pass the connection parameter to connected in portal Builder page
Here are the steps to pass the parameter in a URL to another page:
- Add a custom attribute to the attributes of the current portal (say MyPortal1) page [link Direct: http://127.0.0.1:8888 / webcenter, portal, MyPortal1, attributes ]
OR
Sign in to your personalized Portal (say MyPortal1)
http://127.0.0.1:8888 / webcenter/Portal/MyPortal1
Click the settings (e.g. Pages & portals Actions)-> manage-> all settings
It will take you to the page view of all of the current portal (i.e. MyPortal1).
Then click attributes in the left pane, and you can create/edit/delete the custom attributes for the current portal on the right side.
- Click Add an attribute and specify the following information:
Attribute name = myvar
This is the attribute that we will refer to any page using the EL "MyVar".
Attribute value = #{param.myvarval}
"Myvarval" is the name of the query parameter (i.e. suffix query param & myvarval = TestSuccess will be passed as part of the URL later)
- Now, create a new page "TestPage" and add the element of HTML markup on the page using the composer.
- In the Properties window, change the HTML markup element.
Replace the existing value
#{componentExtensionBundle.OUTPUT_TEXT_TEXT}
with
#{spaceContext.currentSpace.metadata.customAttributes ['myvar']}
- Click apply and then click OK to close the pop-up window.
- Click on save and view Portal
- CHECK: Replace/change the URL the following OR open in a new tab in the browser
Http://127.0.0.1:8888 / webcenter, portal, MyPortal1, TestPage ? myvarval = TestSuccess
and you will see "TestSuccess' message in the"TestPage"rendered using the HTML markup component.
This confirms passing the parameter to a page URL works as expected.
Now, to add a link to the "TestPage" passing a parameter in the URL of the page in another page (Home Page say).
- Now goto homepage, correct it in composer and add the hyperlink element. Click change to set the hyperlink in the Properties window.
- Set the title to display (i.e. the value of the title TestPage)
- Set the Destination URL by clicking on the search icon and choose "TestPage".
Destination is defined with values that resembles
/faces/Oracle/WebCenter/page/scopedMD/sf5926dd1_9e6a_45ab_a99c_d79fabb362c0/Page1.JSPX
Add a suffix '& myvarval = TestWorks' to him.
- Click apply & OK.
- Click on save and view Portal
- CHECK: Since your home portal or the home page, click on the link "TestPage" which brings you to the TestPage and you will see "TestWorks' message in the"TestPage"rendered using the HTML markup component.
I hope it helps.
References:
How to pass a parameter of argument the query URL to a parameter input workflow? (Doc ID 1545808.1)
https://mosemp.us.Oracle.com/epmos/faces/DocumentDisplay?ID=1545808.1
Works with the global attributes in portals
http://docs.Oracle.com/CD/E29542_01/WebCenter.1111/e27738/wcadm_ps_attrib.htm#WCADM11701
-
pass the parameter in PL/SQL on UNIX "such what."
Hello
I need the 4 parameters of Oracle procedure through Unix Shell script...procedure signature :- PROCEDURE Builder(csvFileName OUT VARCHAR2,pdfFileName OUT VARCHAR2, fileId IN NUMBER, csvresult OUT VARCHAR2,pdfresult OUT VARCHAR2);
Problem: 1 suppose pdffile pdfresult has Null values in the procedures of the Oracle, and unix shell will read parameters with spaces soUNIX Shell script: BudResult=$(exec_Builder $fileId) echo $BudResult | read csvfileName pdfFileName csvresult pdfresult
I am incorrect parameter values in UNIX script.Oracle Procedure result: Unix Shell Result csvfile = ABC.csv csvfile = ABC.csv pdfFile = NULL pdfFile = Success csvresult = Success csvresult = pdfresult = NULL pdfresult =
In nut shell how to pass the parameter "like what" PL/SQL in UNIX...2. suppose csvresult has value "Userdefined Exception" in oracle procedure but Unix reads it as following Oracle Procedure result: Unix Shell Result csvfile = ABC.csv csvfile = ABC.csv pdfFile = XYZ.pdf pdfFile = XYZ.pdf csvresult = Userdefined Exception csvresult = Userdefined pdfresult = Success pdfresult = Exception Success
Thank you
SandySo, what kind of problem you know now? What output do you get it?
echo oenResult=$oenResult
-
How to pass the parameter one form to another form?
Hello
I want to pass the parameter one form to another form called.
What are the steps I want to do.
Please guide me
Iqbal
Published by: Sabrina on July 21, 2010 23:38You want to see this link...
sheikyerbouti.developpez.com/forms/Forms_Parameters.doc
-
passing the parameter to bounded taskflow
jdev 11.1.1.7
I call a taskflow 1 with parameters as:
< taskFlow id = "OrgRegistrationTF1".
taskFlowId="/WEB-INF/OrgRegistrationTF.xml#OrgRegistrationTF".
Activation = "deferred."
xmlns=" http://xmlns.Oracle.com/ADF/controller/binding "> "
< Parameters >
< parameter id = "OrgId" value = "#{pageFlowScope.OrgId}" / >
< / Parameter >
< / taskFlow >
Now this taskflow calls internally the taskflow(taskflow 2) another and I need to pass the same parameter that I got while watching taskflow1.
How can I change the setting to a taskflow which is called from a taskflow?
Sorry for this question!
It's simple
When you set the parameters of taskflow were suppased to be be designated as:
/Web-INF/OrgRegSubTF.XML OrgRegSubTF OrgId #{pageFlowScope.OrgId} -
Passing the parameter of workflow with shows the http 404 error pages
Hello
I have a parent workflow with fragments of page deleted as a region on a page. The fragment of a page in the parent workflow displays the read-only table employees. The service Id of the table appears as a link. When you click this link, the following is provided:
- action listener is called which calls the managed bean that retrieves this Department Id and defines in the pageFlowScope.
- Pass this value as an input to the child workflow parameter. Child workflow contains its display type is inline-popup page.
The problem is that when there is no parameter passed to the child workflow the popup is fine. But if the parameter is passed it gives the following error:
ADF_FACES - 60105:HTTP error state Code: 401.
Parameters passed from parent to child, such as:
#{pageFlowScope.DepartmentIdBean.value}
(DepartmentIdBean is the bean class that gets and sets the Id selected Department)
Parameter received in the child as workflows:
#{pageFlowScope.pdeptId}
Can someone please help me solve this problem? Is that the path parameter is spent creating problem? The same scenario works very well if the child workflow is invoked with fragments of page and like exterior window. I use JDev 12 c.
I looked at the code and modify it to make it work. There were a few errors. the way main reason you got the error was that you tried to read the non-existing parameter values.
Download the app from work OTNempDeptTaskFlow.zip | JDev & amp; Goodies ADF
After downloading the doc you rename to zip and can then decompress.
Timo
-
Form of Oracle 10 g by passing the parameter of the forms to reports
Hi all
I work in 10g AS and have a form which is called a Menu. When we run the form he asks that the connection information. and once it is successful, then it opens a menu.
Here in the menu, I ask a report before a form of parameter. In this setting, I have 3 userid startDate and endDate fields.
It's the part of my code that executes the report.
ADD_PARAMETER (PARAM_ID, 'Hogshead', TEXT_PARAMETER, USER);
ADD_PARAMETER (PARAM_ID, 'start_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));
ADD_PARAMETER (PARAM_ID, 'end_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));
Rep: = find_report_object ('MyReport');
vc_reportserver: = 'rep_prothonotary5_FRHome1 ';
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);
SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'HTMLCSS');
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,*'paramform=yes'*);
v_rep: = RUN_REPORT_OBJECT (repid, PARAM_ID);
Here I am able to get the report when I speak of paramform = no. As the parameters are passed directly to the form. Start date and end Date will be SYSDATE as it is in the code above.
But I need to be as paramform = yes, so that the form of the parameter appears before the report and, I can change the settings for Start Date and End Date . When I put paramform = yes in my code, the parameter form appers, but this form of parameter, there is a button submit Querry and Reset and when to drop querry button is pressed, the page Web site can not display the page .
How should I make it work?a possible solution is to create a simple form to let the user enter its parameters, and then call the report itself with paramform = no
-
Pass the parameter to the functions called from a dll
Hi all
I am interfacing a motor controller for PMC - 100 through the Protocol of Performax using labwindows.
I need to explicitly link the PerformaxCom.dll and call functions with him. I'm calling this function
BOOL fnPerformaxComOpen (DWORD IN dwDeviceNum, OUT HANDLE * pHandle);
Faithful:
If you want to link explicitly, you can consult this article: http://zone.ni.com/devzone/cda/tut/p/id/8503
It has a code snippet that shows passing two parameters to a DLL function.
But as for your statement that "I don't know how to pass parameter to him", in the example, you reference, you pass a parameter: it's just a constant string rather than a variable.
-
How to pass the parameter to the script for interface/Package in ODI
Hello
Yesterday I asked a question how to pass a parameter to run the script interface or the procedure?
I don't know if it's possible.
Any clarification will help you.
Kind regards
Mahesh
Mahesh, why not try this in your machine? This will give you more clarity and confidence.
ODI has always check if there is any variable used inside an object regardless of the interface or procedure or package. So whenever you generate the script, you will be asked to select the boot parameters. She's. Whenever you use this scenario, make sure you that you add the variables in the additional variables section of the Properties tab.
So answer is that it is possible.
Bravo!
-
How to pass the parameter in where clause contained in the custom file?
I have the tracking query
Blue are the parameters
I paste this to a custom folder
and
Select last_update_date, creation_date
of ra_customer_trx_all
"where trunc (last_update_date) = 29-SEP-2012."
and customer_trx_id = 1109
in another folder custom return 1 row only and create a different worksheet in the same workbook and create
3 setting and 2 of them pointing to the 1 row to query and create a calcualtion
SET_CONTEXT ("Date_From", TO_CHAR(:Date From)) and SET_CONTEXT ('Date_TO', TO_CHAR(:Date To))
and 1 condition 1 = SET_PARAM3(:Period)
but this does not work for me, no data back please help
Select m.party_name TENANT_NAME
b.interface_line_attribute10 lease_num
-, b.interface_line_attribute12 «PPS Number.
b.interface_line_attribute2 LOCATION_CODE
flexv.description property_name
INVOICE_NUMBER a2.trx_number
-, t.nom "Type of Transaction".
-, e.attribute15 "AS400 Key."
, b2.description 'BILL_ITEM_INVOCIE_DESCRIPTION '.
, case when gcc.segment5 like 6% ' then ' P/L '.
When gcc.segment5 like 7% ' then ' P/L '.
When gcc.segment5 as 8% ' then ' P/L '.
When gcc.segment5 like 9% ' then ' P/L '.
else "B/S".
end as account_nature
-, gcc.concatenated_segments as 'account of burden '.
gcc.segment1 company_code
gcc.segment2 department_code
gcc.segment3 property_code
gcc.segment4 business_segment
gcc.segment5 account_code
gcc.segment6 project_code
gcc.segment7 intercom_code
gcc.segment8 spare1
gcc.segment9 spare2
b2.extended_amount BILL_ITEM_INVOICE_AMOUNT
to_char (substr(ps.gl_date,4,8)) gl_period
b.interface_line_attribute11 bill_start_date
b.interface_line_attribute14 bill_end_date
decode (a2.invoicing_rule_id, '-2',
DECODE (TO_CHAR ("b.RULE_START_DATE, ' YYYYMM"), to_char (to_date (to_char (TRUNC (to_date (SETPARAM.) GET_PARAM3, "YYYYMM"), 'Month')-1), "MON-DD-YYYY"), "YYYYMM"), "Current", "Forward").
'In progress' Bill_nature)
, to_char (a2.trx_date, ' MON-DD-YYYY "") invoice_date
pal.lease_commencement_date
pal.lease_termination_date
h.user_name created_by
-, NULL as remarks
of ra_customer_trx_all one
ra_customer_trx_lines_all b
pn_leases_all d
e pn_tenancies_all
hz_cust_accounts l
hz_parties m
fnd_user h
ar_payment_schedules_all ps
RA_CUST_TRX_LINE_GL_DIST_ALL dist
gl_code_combinations_kfv gcc
AR_RECEIVABLE_APPLICATIONS_all app
ra_customer_trx_all a2
ra_customer_trx_lines_all b2
RA_CUST_TRX_TYPES_all t
fnd_flex_values_vl flexv
pn_lease_details_all pal
where
App. APPLICATION_TYPE = "CM".
and flexv.flex_value = gcc.segment3
and flexv. FLEX_VALUE_SET_ID = 1014916
and pal.lease_id = d.lease_id
and app.applied_customer_trx_id = a.customer_trx_id
and app.customer_trx_id = a2.customer_trx_id
and a2.cust_trx_type_id = t.cust_trx_type_id (+)
and a2.org_id = t.org_id (+)
and b.customer_trx_line_id = b2.previous_customer_trx_line_id
and dist. CUSTOMER_TRX_LINE_ID = b2. CUSTOMER_TRX_LINE_ID
and dist.account_class = 'REV '.
and dist.account_set_flag = DECODE (NVL(a2.invoicing_rule_id,1)-2, 'Y', 'n')
and gcc. CODE_COMBINATION_ID (+) is Dist. CODE_COMBINATION_ID
and b.interface_line_attribute10 = d.lease_num
and d.lease_id = e.lease_id
and e.primary_flag = 'Y '.
and b2.customer_trx_id = a2.customer_trx_id
and a2.bill_to_customer_id = l.cust_account_id
and l.party_id = m.party_id
and a2.created_by = h.user_id
and ps.customer_trx_id = app.customer_trx_id
and ps.gl_date between trunc (trunc (TO_DATE (SYS_CONTEXT ('DISCO_CONTEXT', 'Date_From')), 'MM')-1, 'MM') and trunc (TO_DATE (SYS_CONTEXT ('DISCO_CONTEXT', 'Date_To')), 'MM')-1
What exactly is the problem with the results? Can you do the report include the gl_date, so that you can see exactly what is included?
The only way to solve this is back to basics. You must be certain that the setting and calculations for the date work 100%. You have granted the Execute permission on the function to your landlord EUL - Yes? I did create the function in a package belonged to EUL_US, then I got no problem with permissions or grant.
Also, gl_date is a DATE string and not a right? I ask because if it is not a date, but a string then a few dates could be left out.
Assuming that you are 100% some of the building blocks, you should start by including only the gl_date and the primary key of the table you are using. Once you are sure you have found the right data, you can start adding in addition to fields.
I note that you use the E-Business Suite objects. I copied the code in my system where I don't use rental. So I put comment references to tables 3 PN. I had 150 lines of data when I asked for it by using the parameter, and then when I hard coded the BETWEEN operator for the gl_date. You don't have to make sure that your landlord EUL got right SELECT all tables and views used in your code and, if you want to share this code with someone else, you must also have LICENSING rights.
Try your code in a SQL like TOAD tool and see what happens. Are you absolutely sure that each of your transactions has an entry in the tables PN? Maybe it's why you don't get the results you expect. You can try, as I did, to comment these lines out and then see what happens.
Hopefully this has given you enough to solve your problem
Michael
PS. It would be nice to know your name. You have not used once it in your thread.
-
passing the parameter having the place of hyperlink 11.1.1.64
Hi all
I use the hyperlink in rtf report spend the detailed report parameter. 11.1.5.0 editor bi version, the setting was correctly, however, in 11.1.6.4, the parameter if it has spaces such as district of Columbia, it is extra 25 value which is passed (% 2520 instead of 20). Everyone has faced this problem in 11.1.6.4 version and it's a known bug or a patch for it.
Thank you
Sushil
20 https://ABX.com...final.XDO? & PV_REGION = 03 & PV_STATE = district %25%2520Columbia
OK:https://abx.com...Final.xdo/? & PV_REGION = 03 & PV_STATE = District % 20of % 20Columbia
Since you are passing to encode as below
https://ABX.com...final.XDO?&PV_REGION=03&PV_STATE=district%20Of%20Columbia
you have found
https://ABX.com...final.XDO?&PV_REGION=03&PV_STATE=district%2520of%2520Columbia
Try to pass the actual url without encoding for spaces in URLs
-
How to pass the parameter of column in a table of trinidad to the next page?
Hello
In fact, we work with trinidad tables and forms on our pages snce we will deploy to mobile.
I saw a video shared by Shay, parameter passing between pages with adf components - the column was converted to create a link, then it a setProperty earphone is placed on the table to catch the parameter.
How can do us same with paintings of the Trinity? I do not see any place to convert the column link, but in vain.
I tried to use a radio button select with the table, but I do not know how to extract the value of this.
Please provide your valuable suggestions on this.
ConcerningHello
If you go to the source of table view you see something like
TR:column containing--> tr:outputText
You would simply change the tr:outputText to tr:commandLink
Frank
-
Passing the value of processFormRequest to processRequest
How does one pass variable to the processFormRequest to processRequest is using pageContext.putSessionValue ("xxx", xxx). It is not passing the value and want to ensure that the right way to spend it. an example would help. still a beginner in training. Thanks for the helpOnce you do the pageContext.putSessionValue ("xxx", xxx), then run pageContext.forwardImmediately back to the original page. Then in your processRequest, check that the value using pageContext.getSessionValue.
Remember that the first time you page loads, that value be here if will be sure the return NULL value or you can get a null pointer exception. It was only after the processFormRequest and the forwardImmediately back to the page as your processRequest will see a value.
I hope this helps.
Kristofer Cruz
-
Passing the parameter to bounded taskflow with setPropertyListener
Hi, OTN,.
I can't get how to pass a parameter of ADF defined taskflow entry while I'm trying to follow the dev guide.
On my JSF page in an area, I have a command button with setPropertyListener. Him his "code:"
JDev warns me that "inputValue is an unknown property.<af:commandButton text="newInformation" id="cb14" action="newInformation"> <af:setPropertyListener type="action" from="Hello" to="#{pageFlowScope.inputValue}"/> </af:commandButton>
action "newInformation" navigates the region to a taskflow bounded, which has input parameter:
Taskflow call activity has input parameter:<input-parameter-definition> <name>inputParm1</name> <value>#{pageFlowScope.inputValue}</value> <class>java.lang.String</class> </input-parameter-definition>
On the default view of taskflow activity I want to display the parameter:<task-flow-call id="new-inf-tfd"> <task-flow-reference> <document>/WEB-INF/new-inf-tfd.xml</document> <id>new-inf-tfd</id> </task-flow-reference> <input-parameter> <name>inputParm1</name> <value>#{pageFlowScope.parm1}</value> </input-parameter> </task-flow-call>
And I don't see anything there.<p> Here's your param:<af:outputText id="ot1" value="#{pageFlowScope.parm1.inputValue}"/> </p>
What did I miss?
JDev 11.1.1.1.0. Thank you.Hi ILya Cyclone,
I think you're confused. I think it should be like this:
On my JSF page:
action = "newInformation" >
from = 'Hello '.
to = "#{pageFlowScope.inputValue}" / >
in stubborn taskflow, which has input parameter:
inputParm1
#{pageFlowScope.inputParam}
java.lang.String
Taskflow call activity has input parameter:
/Web-INF/new-INF-TFD.XML
new-inf-tfd
inputParm1
#{pageFlowScope.inputValue}
On the default view of taskflow activity:
Here are your settings:
Sameh Nassar
Maybe you are looking for
-
Is - will this work with Thunderbird V.29 Beta lightning?
I tried to install Lightning via the function "get module", and he let me. I restarted, and the timetable given. but when I tried to create "new" or "new missions", all the commands to create new tasks/events appear in gray and do not work. Is - will
-
I was looking through the old videos of my daughter's House, and most of them cannot play. First pictures says it can't open it so I want to try QuickTime and then he can't either! Here are the mp4, they should be playable. I'm including two screensh
-
HP dc7800 graphic card problem
Hi, I just bought asus eah6450 graphics card for my hp dc780 sff. My specs are Intel core duo 2.33 processor, 4 GB ram, 3.5 avaible. At present I have intel q35 express chipset, which suck at the game. So I decieded to change. I read formus and in th
-
my microsoft Streets & Trips is been installed sucessuful but is not open
Is not open my strrets & cards 2008 no mistakes don't just do not respond
-
In the last days, I had a problem installing the Windows updates on my laptop the two home. I get the error 80078641 and 8641 code. Help!