tags:

views:

432

answers:

2

Hi, I hope any of Oracle Portal experts here could help me out regarding this question.

I have a portal template/page that is using a HTML Page Skin. The skin may looks like:

<html>
<head>
<title>#TITLE#</title>
</head>
<body>
#BODY#
</body>
</html>

By using Oracle Portal, I could add portlets (PL/SQL and Java portlet) to the body section, in its respective template/page. However there is no way that I am aware of that could enable me to add portlets to other section in the HTML Skin, eg in section.

I need to dynamically change the title with some value that I get from the page URL and query string.

eg. if the page's url is http://www.example.com/portal/page/portal/examplepagegroup/page1?param1=paramvalue so that the title will be 'param1', and it should be done without javascript technique.

How could I get the request parameter param1 from the URL so that it will be available to the head section? I am thinking of PL/SQL code to be used here, but, I do not how to access query string of current page.

Please comment here if clarification to the question is needed. Thanks.

A: 

The page title is a static attribute of the Portal page. There is no supported way for a portlet to change the page title dynamically at runtime. The rendering engine combines the HTML from each portlet with some HTML it builds itself, and the title is part of what the renderer builds.

What is possible is to dynamically build pages with specific names by calling WWSBR_API.ADD_FOLDER (a folder is the same as a page). See So your portlet could build a page and then redirect to it.

You find the Portal 10.1.4 API at http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc1014/index.html

Sten Vesterli
A: 

dears,

i have the same problem and i got the solution form oracle otn you can go to this link https://metalink2.oracle.com/metalink/plsql/f?p=130:14:4023580105846854515::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,735811.1,1,1,1,helvetica and you almost will find the solution