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
Tags: Fusion Middleware
Similar Questions
-
How to manage the attribute date, passing the parameter from one page to another
Hi friends,
I want to spend attribute data from one page to another page-
I'm passing as below, in the log window jdev I get error below.
String StatusUpdateDate = row.getAttribute ("StatusUpdateDate");
params.put ("StatusUpdateDate", StatusUpdateDate)
Error (121.50): incompatible types. found: java.lang.Object, required: java.lang.String
Suppose that I'm passing as below, while moving from one page to the other, I am getting error in the application below
String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString)
Date of update of State - Houston-25009: failed to create an object of type: oracle.jbo.domain.Date with value: 26-MAR-2009
Please you can suggest me how to handle this error.
Thank you and best regards,
VandenplasHello
Vandenplas
you're right, this method is to launch error, which is why I got, bcz timstamp is also not implmenting Serializable interface, is there he throwing error at run time
u just go this way
another page of request-Destination page Controller-Process-
Add a new line below the following line
DATE StatusUpdateDate = (DATE) pageContext.getTransactionTransientValue ("StatusUpdateDate");
String stringStatusUpdateDate = StatusUpdateDate.toString ();
and also in your AM CODE
change your method like this
public void testselection (String Name, String Email, String product, the string, String StatusUpdateDate)
hope this will solve the problem
thanx
Pratap
-
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 -
How to pass the variable to bind page ADF view object
Would appreciate your help on this.
Set up a view with a variable binding object: param1 in where clause.
I want to pass the value of the variable to link from a page of the ADF (.jspx)
I know that one Option using executeWithParams() method binding in the ADF page.
But, I want to pass a pageFlowScope parameter (which is already set when loading the page) to the variable binding VO, and the VO should also display the results filtered on the page the first time itself.
Could someone help me understand with a code, how to achieve the same. (Is there a groovy expression to access the param pageflowscope?)
Thank you
Published by: user5381160 on August 12, 2010 20:01You should also consider dragging operation executeWithParams on your workflow and of wiring to occur before your page instead of in the definition on the page itself - so it is more clear what is happening and is the approach recommended for 11 g applications. When drag-and you - drop operation, you can use the dialog box bind the parameter to your page flow - scope variable by providing the good EL there.
There is no expression Groovy in the model layer to access the workflow variable scope page (which is in the controller layer) because this would violate the separation of concerns inherent in an MVC application.
John
-
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 value from one page to the other page
Hi gurus,
I need to pass the value from one page to the other page and two pages use different AMs.
In the first page I have sellers results region table where the $vendor_name column is a hyperlink that navigates to the page Vendor_Sites. Now after accessing the second page, I want to excute the VendorSitesVO in PR of CO based on the value passed to VendorsVO (vendor_id) of first page.
can someone help me on this?
Thank you
Vincent.
Published by: user4933347 on December 4, 2009 12:19 AMYou can set parameters of Pagecontext and transmit values through them. These values can be passed between pages, even if the AMs are different.
Try:
pageContext.putParameter ("Parameter1", value1);
pagecontext.setForwardURL (second page)Concerning
Sumit -
How to pass the parameter of workflow
As being new owb, I'm still trying to figure out how to pass a parameter through workflow.
I have this map with an input parameter, and I included this mapping in this workflow. I wonder how to pass a parameter value for this workflow and bind it to the mapping?
~ PrabhaPrabha,
Select the activity start then in the Explorer window (in the left upper corner of the process editor) on green sign more for adding parameter processflow.
Enter the name of the parameter and specify the type of data (perhaps by default).
Select your map, and then in the Exporer window click parameter mapping entry.
now the object details window, you can bind the input parameter to the parameter processflow with change of binding propertyKind regards
Oleg -
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
-
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
-
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.
-
Problems in passing a parameter through a button, php
Hi all
I'm new to the forum and web design and Dreamweaver, please go a little easy on me!
I am currently doing a fantasy football website in Dreamweaver and phpmyadmin. When a user visits the site and wants to enter the competition, he clicks on record that brings to the top of registration page. There they can complete the form containing the information, username, password etc. When they click the button Save at the bottom of the form, their details are inserted into the users table in the database, and they passed on the next page, where they are called upon to choose their team. Details of the team are kept in a separate table in the database.
What I'm trying to do is to pass the user name that is created in the form of registry to the team page choose as a parameter.
Currently, my button code is as follows:
< input type = "submit" value = "Insert file" / >
and after sql code inserting goto is currently?
$insertGoTo = "pickteam.php";
In another section of the site, I spent a parameter with a link as follows:
< a href = "editgoalkeeper.php? gkid_gk = <?" PHP echo $row_rs_viewgks ["gkid_gk"];? > ">"but I'm not sure about how to pass a parameter by using a "submit" button, can someone help me please?
You should use PHP sessions and store the username as a session variable.
Start page that registers the user with session_start();. You can then save the username to a session variable:
session_start(); if (isset ($_POST['username'])) { $_SESSION['username'] = $_POST['username']; }
Subsequently, $_SESSION ['username'] will be available on any page that begins with session_start();
-
Pass the parameter of application deployed in the ADF library jar file
Hi all
I use JDeveloper 11.1.2.4.0, i have 2 Applications appA, appB.
I created in taskflow appA containing departments viewobject, appB contain stubborn workflows which has Employee.jsff page.
I have deployed appB as library of ADF jar file and add it to appA, I need to pass the id of employee viewobject, Department
Kind regards
Hello
In order to create a business application, are usually required several workflow tasks. These workflow will perform different functions, but they may have to communicate with each other. To enable this communication, you can use task flow settings, contextual events or sharing of the data control Instances.
Please check below link
Java / Oracle SOA blog: events ADF passing between areas of workflow
Communication between task flow using the flow of the task - Waslley Souza Blog settings
Thank you
Amey
-
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
-
OBIEE11g - by passing the quick values between pages of dashboard
Hello
I'm working on OBIEE 11.1.1.3 and need help on the question of the value of guests passing between the dashboard pages.
Scenario:
-J' built 2 reports of the separate fact tables. Customers and products are the common dimensions between these fact tables. Temporal dimension is different for each of them.
-J' have a dashboard and 2 pages it contains - Page1 and Page2.
Page1:
-J' have a dashboard guest with filters product, customer and year.
-J' have a relationship with the product, customer, year and income of the columns.
-J' have an Action - "Click here" link, which directs the user to page 2.
Page2:
-J' have a dashboard guest with filters product, customer and week.
-J' have a relationship with the customer, product, week and Total Volume of the columns.
I select some values in Page1 guests and generate a report. Then I click on the "Click here" action link, which will take me to page 2.
Now, on page 2, I want the common guests (product and customer) have default selected as the values that were selected in the common guests on Page1. And, as a result, the report on page 2 must be generated.
Tried solutions:
1. added the below javascript in page 1, but the link that is clicked, does nothing.
< script >
function navigateToPage2()
{
DashboardChangePage ('path to Page2');
}
< /script >
Click here
2. I put a Variable presentation when you select a value in a prompt on Page1. But I am unable to set this as the default valie variable in the corresponding prompt on Page2.
Ask what the experts kindly suggest how I can get this to work.
Thank you and best regards,
Rahul
Published by: Rahul December 1st, 2011 05:10Hello Rahul,
This is a bug in 11.1.1.3, application of patch 10381088 solve this problem.
Bug 10381088: dash PROMPT VALS NOT KEPT WHEN you NAVIGATE TO OTHER PAGES IN the dashboard
Rgds,
DpKa
Maybe you are looking for
-
Can I use a group generator camping in Qosmio F60
I go to this site and need to know if I can use a generator to power my laptop
-
Restore the project individual mail deleted
I tried to use Time Machine to restore a deleted project. I can see the deleted project opens in the e-mail program. The instructions on the screen say 'click on restore' but the restore button does not appear when saved mail screens are rising. I
-
Satellite M60-135 no longer works
Hello My problem is as simple as not good: I was playing a computer game, and suddenly the computer off. Now I can't start over mobile phones. If I press the power on button, _nothing_ happens.The laptop is not working with the power supply or the ba
-
How can I remove an unwanted operating system to free up space on my HARD disk almost full
The drive is about 75 GB and has two partitions (C: and D readers :). There is a version of Vista on each partition. My ultimate goal is to reformat the drive as one partition and reload the operating system, but I have found no way of formatting of
-
Hi guys,. Is it possible to download somewhere an installation disc factory with Win7 only? I created a pack of recovery factory, but it includes all the extra things that I don't need. My problem is that I need a new install of Win 7 only. Then I ca