Pass a parameter to a 'portal page'
I want to pass a parameter to a 'Portal' page. This parameter is a the title of the page. I found that in the page's properties a 'parameter' tab is there where we can add a parameter. But I don't know how the page will read the value of this parameter & display it.
Thank you for your help.
Jayasree
i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
I am using the followin url to pass the parent id
http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223
Similar Messages
-
Passing parameter to a portal page that display a WSRP portlet ?
I have created, deployed and regisered a WSRP portlet to Portal 10.1.4. I also create a portal page used to render this portlet. I would like to pass in a parameter xx (thru the HTTPRequest) when calling this page and have it visible to the portlet inside the page. Something like http://host:port/portal/page/portal/myPortlets/portletA?xx=123 where
"http://host:port/portal/page/portal/myPortlets/portletA" represented my portal page and "xx=123" is what I want my page to see.
Is it even possible/support by Portal 10.1.4 ?
Thanks.
KimHI Alejandro,
Did the same what you have told me. I am getting the following error
oracle.jbo.JboException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are {0=java.io.EOFException, 1=null}
at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKey(DCJboDataControl.java:1554)
at oracle.adf.model.binding.DCIteratorBinding.setCurrentRowWithKey(DCIteratorBinding.java:3829)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1588)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2189)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:751)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:407)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:255)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:213)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.el.parser.AstValue.invoke(AstValue.java:254)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
Thanks -
How to pass parameters from GP to Portal-page or iView
Hello all,
I tried various things but I'm not succesfull in creating an callable object of type 'Portal-page or iView' which receives certain parameters.
Currently we open the portal page from within a WebDynpro. I pass a string "zaanum=909&zasnum=1" to the Portal-page. The parameters are received in the webDynpro-app.
Now I want to do this from within GP. I thought to create a CO of type 'portal-page or iview' and the parameters are given to that CO.
I expect the parameters to be received by the WebDynpro in the iView.
I tried:
- defining one parameter for CO of type string. At initiation time I fill this with "zaanum=909&zasnum=1" ==> Nothing received in iView/WebDynpro
- defining two parameters (technical names 'zaanum' and 'zasnum') for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
- defining two parameters (technical names 'zaanum' and 'zasnum') for CO of type integer. At initiation time I fill them with 909 and 1 ==> Nothing received
- defining two parameters (parameter names 'zaanum' and 'zasnum') for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
Any help is appreciated!
Maarten Rutten
Edited by: Maarten Rutten on Jan 9, 2008 8:36 PM
Edited by: Maarten Rutten on Jan 9, 2008 8:37 PMHi Ramien,
I have a similar problem. I need to pass values from webdynpro to jsp and vice versa. Kindly let me know how you solved this problem.
Thanks & regards,
Amrita -
How to pass parameter between two jsp pages using web link (not form)
Hi Friends,
I have two jsp pages and would like to pass a parameter from one JSP page (one.jsp) to another JPS page (two.jsp)
in one.jsp
<a href="two.jsp?ant="<%=ant%">"> <%=antName%> </a><br>
I don't know how to pass value of parameter "ant" to two.jsp from one.jsp.
Can anyone help this? Thank you in advance</a>Looks like you've got it almost right - just an extra unneeded "
<a href="two.jsp"?ant=<%= ant %>"><%=antName%></a>
which should render on the page as something like
My Ant Task
When you click the link, it should pass that parameter, and you can get it via request.getParameter(). -
Pass a parameter to Surikogiflex client
Hello all,
I'd like to know if it is possible to pass a parameter to Surikogiflex client, to be able to tell it to open a certain story.
For example, I wonder if it is possible to have in an html page a link like
<a href="localhost:8400/suribachi/clients/surikogiflex/?icml=/documents/doc1/story1.icml">Ed it story in Surikogi</a>
and when the user clicks it have Surikogiflex client open loading the selected story, without passing from the Document browser window.
Is something like this possible?
Please assume that the correct <story> tags are present on the storylist.xml file in the /suribachiassets directory.
Thanks.i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
I am using the followin url to pass the parent id
http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223 -
How to pass the selected Pernr from Portal to WDA iview dynamically ?
Hi ,
How we can pass the selected Pernr from portal page to the webdynpro application dynamically?
Ex:
If a manager select a employee id of an employee then it should display all the related document regarding the employee in the ivew.
For that we need to pass the employee id(Pernr) to the iview.How it is possible.
Thanks,
DeepikaHi Deepika,
Try using portal events. You will have to register and handle the required portal event in your WDA application.
[Portal Events Help|http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm]
In this link, navigate to Integration->portal integration->Portal Events.
Also go through some sample applications:
WDR_TEST_PORTAL_EVENT
Regards,
Reema. -
Calling portal framework page from non portal page
Hi,
We are having some difficulty in passing control from the non portal pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application folder.
We have a Portal Page containing one portlet.Clicking on one of the hyperlink
on this portlet page takes us out of the portal environment where we are doing
some processing.
(Why we are going out of the portal environment is because we want to call the
existing pages as it is and our intention is not to make the existing pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>), it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
AjayHi
i think you should use portal:createPortalPageChangeURL (you are effectively changing
your portal page) .
if you want to invoke a specific event in your portlet webflow you can either
write a RefreshControllerIP or use WebflowJSPHelper.createWebflowURL.
bear in mind if you have urls that directly go to an intermediate event in the
portlets webflow you may need
http://dev2dev.bea.com/codelibrary/code/portlet_pp.jsp
regards
deepak
"Ajay" <[email protected]> wrote:
>
Hi,
We are having some difficulty in passing control from the non portal
pages to
the Portal Pages.
To explain you more elaborately, I am writing down the scenario:
Both our portal and non portal pages reside under the same web application
folder.
We have a Portal Page containing one portlet.Clicking on one of the
hyperlink
on this portlet page takes us out of the portal environment where we
are doing
some processing.
(Why we are going out of the portal environment is because we want to
call the
existing pages as it is and our intention is not to make the existing
pages portal
enabled to start with).
Somewhere down the journey on the non portal page, there is a requirement
to call
the Portal Framework page.
We can call the portal Framework page from the non portal page by hard
coding
the URL of the Portal page by writing something like this in href:
http://localhost:7501/application?origin=content.jsp&event=bea.portal.framework.internal.portlet.event&pageid=home&portletid=bachome_carsearchlink&wfevent=link.next
But this is not what we want. We want to call the portal page without
hard coding
the URL.
If we use portlet tag in non portal page to call the Portal Framework
page ( <a
href="<portlet:createWebflowURL event="link.next"/>">Next Page</a>),
it throws
us error "Could not find current Portlet State" which is quite understandable,
because portlet state is now lost.
Is there any way we can achieve this .
Any suggestions or ideas?
Thanks
Ajay -
How do I pass URL parameter after Update record?
I have an update record page that successfully updates a record, but when it is redirected to the page it came from it loses any parameters to filter record sets to obtain the correct records.
When I try to use the Parameters dialog box from the Update Records "select a redirect" dialog box, it results in an error indicator in front of the Update Records line in the Server Behavior, and the web page ceases to update the records.
How do I pass a parameter to the next page?
ThanksI have found a work around for this issue. By selecting the Insert or Update button and adding a hyperlink with parameter settings. The Hyperlink has the same destination as the Insert records Behavior. When the button is clicked it performs the Insert, and passes the parameters to the destination page..
-
Passing parameter in href to a different Portal page
Hello All,
I have requirement where I have a portlet A in portal page 1. Portlet A is a JSP which has a href pointing to the url of a different portal page (page 2) having the portlet B.
<a href=".../pls/portal30/url/page/page2
When I click on the link on portlet A, I need to pass some parameters to the portlet B in second page.
I know there's no straight forward way to do this. Could you all please share me your experiences and advice me asap.
Thanks in anticipation.I have an example of two portlets on the same page and parameter is passed from one
to another. The idea should be the same
is the other portlet in on another page.
Hope this helps.
Report 1: summary report
SQL report, on scott.dept:
select htf.anchor('http://iasqa-ultra1.us.oracle.com:7777/servlet/page?_pageid=117&_dad=wwv_30898&_schema=WWV_30898&_mode=3&dept='| |deptno, deptno) aaa, dname, loc from SCOTT.dept
The url here is the page url with extra parameter for dept, the bind variable
in the detail report
Report 2: detail report
SQL report, on scott.emp
select * from scott.emp where deptno = :dept
Add the following PL/SQL code in the "before displaying the page"
wwv_30898.wwv_name_value.replace_value(
l_arg_names, l_arg_values, p_reference_path| |'.dept', wwv_30898.wwv_standard_util.string_to_table2(nvl(get_value('dept'), 10)));
Build a page and include these 2 portlets, then when you click
on the link of the summary report, the page will be refreshed,
and the detail report changed based on the data from the summary report.
Here is the url for my example,
http://iasqa-ultra1.us.oracle.com:7777/servlet/page?_pageid=117&_dad=wwv_30898&_schema=WWV_30898&_mode=3
null -
Help - Passing parameter to report using page parameter
I have a SQL Report on a page
The report query is
select * from scott.emp where deptno = :department
The URL for the page containing the report is:
http://developer03.fis:7777/portal/page?_pageid=95,36455&_dad=portal&_schema=PORTAL
I have added a page parameter = departnment
and associated the page parameter to the report bind variable in the Portlet Parameter Values as follows:
department = Page Parameter, department
I displayed the page by going to the above URL
and then added &department=10 to the end of the URL in the browser address.
I expected the report to display records for deptno = 10, but the query didn't return any records.
Anyone know what's wrong??
Thanks LarryYes, except you need to add &department=10 to the end of the page URL, not what I had.
Look at
How to pass values from a Page to portlet in Portal.
http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=FOR&p_id=335031.996
for a complete description on how to setup page parameters and associate them with bind variables. -
Omniportler HTML Layout - How do I pass a parameter to another page?
How do I pass a parameter to another page from an HTML Layout like I can with the Tabular layout?
If I have a parameter I can pass it from one page to another, i.e. if I have a list of customers and I want data for that particular customer alone, I can create a page parameter form or an omniportlet where I would then pass the value of that portlet to the page. I would use a string like the following: https://test.test.com/test/page?_pageid=536,7483646&_dad=portal&_schema=test&customer=##CUSTOMER_NAME##
-
Pass Url Parameter To Portlet in a Tab Page
Ciao,
i have a portal page with TABS. I have pl/sql portlets that read the url, then they pass parameters to the url. With "wwpro_api_parameters.get_value" and the session i am able to pass parameters via URL and to know if i have changed tab or not.
My question is: how cai i "CLEAN" the url if i change the tab? As you know, if i change tab, only the "_pageid" parameter change, and not the whole url.
i.e.: http://misun13:7777/servlet/page?_pageid=202,204,217&_dad=portal30&_schema=PORTAL30&par_name=5
I change the tab: http://misun13:7777/servlet/page?_pageid=202,206,217&_dad=portal30&_schema=PORTAL30&par_name=5
But i want to RESET the parameters! That is i want: http://misun13:7777/servlet/page?_pageid=202,206,217&_dad=portal30&_schema=PORTAL30
It seems i can't change the standard behaviour of the TAB.
Does anybody know how to do that?
Thanks in advance,
EttoreHi Ettore,
It is true that when you pass parameters, they show up on the URL and even when you change tabs the messy long URL will show up.
One way to avoid this, is to use the session store instead and save and access the parameter values from the session storage itself.
For more details on using Session Storage, check the PDK documentation for using the session store.
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/implementing.session.storage.html
Another thing, you may try is using the owa_utl.redirect to specifically redirect to a clean URL. But i suspect that if your parameter values are still active, they will populate the URL in any case.
For further details on parameter passing, check:
http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/guidelines.parameter.passing.html
Hope this helps.
Mohana -
Passing parameter to a dynamic page portlet
We need to create a drill-down report using pl/sql, but it's not working when we passed a parameter. We did the following:
1. Create a package and a store procedure.
2. The store procedure creates the report and the look-and-feel of the report.
3. Create a dynamic page with the following code:
<ORACLE>DECLARE
BEGIN
mvdata.interbay_ops_rpts_pkg.ops_detail_procssr_rpt(p_processor);
END;
</ORACLE>
4. Set the parameter to "public" in the "customization form display option".
5. Create a page group and a page.
6. Clicked on properties of page and then clicked on the parameter tab.
7. Added a parameter named "p_processor_code"
8. We also added the portlet parameter under the "portlet parameter values" and set the parameter to be a page parameter and select the name of the parameter and click OK.
9. Launch the URL: ttp://iasdev01.bftg.com:7782/pls/portal/url/page/PG_GRP_DEVELOPMENT/PG_OPS_DETAIL_PROCESSOR?p_processor_code=DUBOIS.
10. When we tried to launch the application we get an empty report(doesn't execute the parameter).
11. Edit the page and went into layout mode.
12. Click on the "edit default" of the dynamic page portlet and put the value of the parameter and it works without any problems.
I don't understand why it doesn't take the parameter with the page url. Any help is greatly appreciated.I had more luck with PL/SQL items. Try something like this:
declare
zip varchar2(10);
begin
zip := portal.wwpro_api_parameters.get_value('zip', 'a');
if zip='94065' then
... do something ...
end if;
end;Peter -
Portal Page parameter to a WSRP - JSR168 portlet
hi all,
IHow is possible to pass a Portal (10.1.10.4 ) Page parameter to a WSRP - JSR168 portlet?
I have a url parameter like http://myserver/portal/page/portal/ABCD/page1?ID_C=123456789 ad I want to use it in a JSR168 portlet.
Thanks,
castellimobviously, 10.1.4
bye
castellim -
How to pass date parameter from one page to other in BSP application
Hello gurus,
In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
Now my prb is that my date value is not getting passed to the next page.
I have used
navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
to pass date parameter.....still parameter is not getting passed.
plz help me with this.....
thankx.....Hi Eddy,
By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
so with begda being 8chars it takes my date as 06.12.200
as a result my query is not getting executed.
now i have tried to use a FM 'CONVERT_DATE_TO_INTERN_FORMAT'.
in my 1st page but still in 2nd page its giving me following error.
<b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
</b>
Regards
Swati
Maybe you are looking for
-
"policy.8.0.microsoft.VC80.CRT, type="win32-policy",version="8.0.50727.6195"publicKey Token="1fc8b3b9a1e18e3b",processorArchitecture="x86"" I've tried everything I know to try and fix this problem when trying to install the latest itunes. I just bou
-
Hi, Customer does not want to give display authorization for few fields in the infotypes how to resolve this issue? To implement sap payroll what are the mandatory modules for HR ? How do you transfer data from PA to PD ? regards, kumar
-
I got and installed the MCE 16x Superdrive in my dual G5 tower. It's worked perfectly for several months now, burning CDs, DVDs, and DVD-DL perfectly. Now, all of a sudden, I wan't to burn a 2 hour and 2 minutes iMovie and I keep getting an error msg
-
WRT54GS V.5 AND WRT54GS V.6
Which the difference between them? But the Hardware in v.6 is better? Sorry bad english.
-
I downloaded Trail of CS5_5 Master Collection for MAC but it will not install
When I try to install the master collection I always run on Error and I see a big list of many errors, but I do not understand all this. I'm new on Mac-World and have to evaluate if all Software an my iMac is running as good as on Windows, but after