$PTWSCLIENTREF Displayed in Portlet
In our production environment, a .NET portlet displays
$PTWSCLIENTREF
at the top. This does not occur in our dev environment. Both setups are running Portal 5.0.2 and .NET web controls 2.1 Beta. I haven't been able to track down why this is displaying in the code.
Anyone experience this?
yone experience this?
Hi,
I suggest to post this to the Portal or WebCenter forum because they will have the environment to reproduce it
Oracle Application Server Portal
WebCenter Portal
Frank
Similar Messages
-
How can i display a portlet in the Edit view only ?
Dear All,
I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
This is a function I use:
FUNCTION inEditMode return boolean is
bEdit boolean := false;
begin
if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
bEdit := true;
end if;
return bEdit;
end inEditMode;
Kind regards
Tomas Albinsson
Stockholm, Sweden -
Conditionally displaying a portlet based on parameter?
Hi, I've been looking for a way to show or hide on a page a portlet (the standard Oracle search one, but it could be anything else) depending on whether a parameter is set to 0 or 1. So far the only "solution" I've found is to instead have two copies of the page, one with and one without the portlet in question, but obviously this scales very badly and is a bad idea from a maintenance POV.
Is there a clean way to do something like this?
Thanks,
CedricYes, You can do it .. but it is little tricky. We have done something like this.
First, you may know that all portlets are rendered by PPE , so we can not pass parameters to PPE to display particular portlets based on parameter.
Instead, with in that Portlet, If the parameter is "N" then don't display any HTML from that portlet. Hope you know How to Pass page parameters to Portlets.
Other way to implement this is by Portal Groups and granting access to those portlets,
Still , if you are not convinced you can have a look at Portlet SecurityManager Class..
Thanks
Shan -
Display a portlet outside the layout framework
I have a need to display portlets, as defined in the EBCC and displayed via framework/portlet.jsp,
but not display them through the layout framework. Normally, the portal page
content (page.jsp) will call your layout template.jsp, which in turn calls <layout:render>
to display each portlet in a column.
I've tried the following:
<%
request.setAttribute(PortletRenderHelper.CURRENT_PORTLET_KEY, "myPortletName");
%>
<jsp:include page="portlet.jsp" />
But I keep getting "Unable to retreive PortletState". Any suggestions? I could
simply use <jsp:include page="../portlets/myPortletName.jsp" />, but then I lose
the ability to set the minimize/maximize etc features in the EBCC.Adam,
Portlets will have to be displayed within the layout framework. If you
want just one portlet to be displayed, you can create a layout with just
one table (with width=100%) and put your portlet inside that layout.
That way you will be able to show your portlet jsp and still be able to
use portlet features like maximize and minimize.
Jalpesh.
Adam Harvey wrote:
I have a need to display portlets, as defined in the EBCC and displayed via framework/portlet.jsp,
but not display them through the layout framework. Normally, the portal page
content (page.jsp) will call your layout template.jsp, which in turn calls <layout:render>
to display each portlet in a column.
I've tried the following:
<%
request.setAttribute(PortletRenderHelper.CURRENT_PORTLET_KEY, "myPortletName");
%>
<jsp:include page="portlet.jsp" />
But I keep getting "Unable to retreive PortletState". Any suggestions? I could
simply use <jsp:include page="../portlets/myPortletName.jsp" />, but then I lose
the ability to set the minimize/maximize etc features in the EBCC. -
Conditional display HTML Portlet
Hi all, how can I conditionally display HTML portlet? I have a couple of html portlets on the page, but I want to use the page para to control the display of them. For Java/plsql portlets, it's fine. I don't know how to do that for html portlets. Any advice or suggestion is appreciated.
we want to embed the part of html in to portlet at run time. portlet has a single navigation parameter defined (for run time)
so for example, i write a jsr portlet and then I drag the portlet from resource catalog (composer) on to the webcenter page during run time. and then we would pass
www.xyz.com/index.html as a value of navigation parameter to the portlet. and portlet would consume this index.html.
problem is what is the attribute within portlet which would get binded and finally consume the index.html at run time ? is it
src = .......... ???
is it file = ......... ??
is it url = ........... ??
what is it ?
we are not using UCM so entire Content Presenter taskflows is useless for us
if it is say src = ... attribute, then we were not able to PASS the index.html TO src attribute as Navig Param at run time.
remember, even if we able to pass index.html to portlet .............. then we do not want portlet to show index.html URL but rather would want to show the content of index.html (which is "Hello There, Greetings from the server") to show. -
How do I set number of rows displayed in portlet
How do I specify how many rows will be displayed when I publish a workbook as a Portal Portlet ? I tried to set the number of rows per page using Plus, but this is not reflected in the portlet.
Naviagte Ak Developer>Define Regions
define Display Rows -
All,
Is it possible to get portlet content to
display in-place. E.g You have a scheduler
portlet with a hyperlink on an event. When you click on the event, the details and the form should show up in the same portlet area.
Right now, when I click on the hyperlink, it takes me out of the page and directly to the form. I would like the form to show up within
the portlet region.
Thanks,
SanjayHi,
It is an enhancement which will be available in a future release of portal.
Reg
Sunil.
null -
Customize the display of portlets in Available Portlets frame
Hi,
Is there a way in which we can customize the appearance of portlets and providers in the "Available Portlets" frame of the "Add Portlets to Region" page? We have a large number of portlets and providers and would like to classify and display them to the users when they customize the page. This sort of thing has been done on my.oracle.com.
Any inputs/suggestions will be appreciated.
Warm Regards,
RupeshHello
The Portlet Repository is a standard Content Area.
1 - Go in the portlet repository
2 - Click on edit button (top right og the page)
3 - Now you can re-oraganize it
Regards -
How can I have user specific filters for information display on portlet?
Hello Everyone !!!!!
I am new to the Portlet World
My query is..
How can I have filters on a portlet screen ?
I want to display certain information on a portlet which must be filtered and ordered.
Example:
In Internet Banking , I want to display transfers which had happened in the last month. So I ( as a user ) will keep this predefined somewhere may be in portletData.
Whenever that user logs in for the next time, he will be able to view account transfers taken place in the lastest month only.
This must be user specific. As another user can keep the setting in a different way. That is he/she might want to view account transfers for the last week only.
When user clicks on a button a new screen( filter screen ) is loaded where he need to enter the dates of From and To .....
The user saves this.....( may be in portletdata)
So that when he logs in .. next time screen loads with the defined settings in filter....
Any idea ? How can this be achieived ?
Thanks in advance.... :-)
Wating for a reply
Message was edited by:
dev2007Hey !!!
Can anybody give me some idea regarding this ? -
How do I display as portlet?
I have a form with a number of buttons, each causes a different subordinate form to be invoked, some in query mode & some in insert mode. There seems to be a large assortment of different procedures/methods for invoking one component from another - I wish I understood why there's so many, and when I should use one method or another. The only one that seems to be working for me is to use the onSuccess procedure to do wwv_user_utilities.get_url and call(). This invokes the subordinate forms OK, does the query or default values OK, but it doesn't look very nice - is there any way I can make them appear in a pop-up style window, inheriting the same portlet style as the original page?
In order to return to the original form from the subordinate forms, I'm using the same onSuccess call() method. This isn't ideal, I'd rather be able to simply drop back a level, but how can I do this? Is it possible to do this whilst still requerying the original form when it's re-entered?
Please bear in mind that I need to try to stay within the constraints of the application building tool, we don't have time to experiment with user-written packages. I'd be very grateful for any suggestions.Goto to "Grant Access" of the Dynamic Page.
Publish it as Portlet (Note to see this check box you first need
to make your application as provider).
No add it as portlet to a page. -
Displaying category portlets in alphabetic order
Hi Folks,
When I publish a Category Portlet all items inside this portlet appear in a randomic order.
I wish they could appear in alphabetic order.
Is that possible ? How can I do it ?
Thanks!The items in a category portlet are sorted by the folder and the region id within the folder.
It is not possible to provide a sort order for the items currently, however in 9.0.2, this portlet will be replaced by a customizable search portlet, which allows different sorting options. -
Repost: In Place Display of portlet
All,
My application consists of 3 HTML pages, of which the first, the app home page, is the
show method of the portlet. How can I get
all subsequent portlet pages to show up in the same region as the show method ?
ThanksHi Sanjay,
Take a look at the multi page sample portlet provided with the JPDK. This should help you out.
Regards,
Gareth -
JSP is not getting displayed in add portlet repositery
Hi,
I have registered two servlet in provider.xml and I was able to
view that servlet as a portlet in add portlet repositery.
After that I wanted to add one more JSP as portlet under same
provider. So I have kept JSP in same directory where servlet is
kept. I have added JSP as portlet in Provider(i.e. provider.xml)
and given appPath and appRoot for that JSP. Whenever I am trying
to view my provider by giving following URL
http://servername/servlet/myprovider
I am getting message -
Congratulations! You have successfully reached your Provider's
Test Page.
in same page I am able to view my all portlets. in that list I
am able to view my JSP as a portlet.
Now I want to add JSP portlet in my page at that time that JSP
portlet is not getting displayed in add portlet repositery.
Can anybody tell why JSP is not getting displayed in portlet
repositery ? What should I do to get it displayed in portlet
repositery ?
Thanks in advance.
BirenYou have to refresh the Provider. They are a couple of ways to
do it.
1. Take a look at the release notes for PDK-Java.
http://portalstudio.oracle.com/servlet/page?_pageid=468&_dad=ops&
_schema=OPSTUDIO
It mentions and auto reload feature that will refresh the
provider on the PDK-Java side when you make changes to the
provider.xml. When you add portlet, you simply refresh the
repository in portal and add the new portlet to a page.
2. If you do not have the auto_reload parameter, you simply need
to refresh manually.
a. After updating the provider.xml, restart the HttpServer where
your PDK-Java Provider is located.
b. Refresh the Portlet Repository
Both these do the same thing, and should solve your problem
Sue -
Error when displaying portlets..
hello all,
I have some pages with some tabs including some portlets (forms, reports and
dynamic pages). it was running well before.. but now it gives error instead of
displaying the portlet. the error massage replaces the portlet.
and that happened with many of them for different types of portlets (forms,
reports,...)
although these components run well when running it alone from its application
area!!
the errors are like follows,
ERROR: Time out for content = 20031
ERROR: Time out for content = 20032
ERROR: Time out for content = 20046
ERROR: Time out for content = 20047
please it's urgent..
waiting for your help.
thanks
maha.try this one as it helped me,
on server find zone.properties file and increase the
e.g. servlet.page.InitArgs=requesttime=1000
and bounce the apache
Hope this helps
thanks
Bakulesh -
Fetch XML from Content server to Portlet and display as HTML
Hi,
I want to fetch the XML from the content server and display that XML in the Weblogic Portlet as HTML.
The main reason is that data will be contributed by the users in UCM and then I had to get that data from content server and display in portlet
Please Help........
Thanks,
VinodVinod:
Probably what you're looking for is to bring the content over using the UCM SPI adapter for WLP's VCR:
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/ucm_adapter/intro.html]
And then to display the content using a custom template using Content Presenter:
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cm/displaytemplatesCM.html]
[http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/development.html]
When you say you want to fetch xml, is that because it's a contributor data file? You can either read the property values directly from the VCR, or use the info you get from the node (such as dDocName) to then use a UCM/WCM web service to retrieve formatted content and put it in an iframe. There are a lot of ways to go in formatting the data.
You can even add edit capabilities to your Presenter template by calling the 'edit data file' web service of WCM.
Maybe you are looking for
-
When I click on the safari button a blank screen comes up for about one second, then minimizes. I have checked wi-fi connection, and all is fine. Facebook and maps apps still work.
-
Pbm with document name while generating URL for created document
Hi Gurus,<br> <br> When we upload a document and generate the URL for that document, and then while we paste the same in the explorer window to access it, I was able to see the dialog asking me whether to save or open the document with the <B>actual
-
Hello All, I have been searching HR ABAP document for quite a long time. I haven't found a good one . Could some one please send some good documents . My mail id [email protected] Thnx in adance.
-
How can config for SNP Aggregate only aggregate demand not stock on hand?
Dear SCM Expert, Now we want the system aggregate only demand and not aggregate stock on hand ( Stardard system aggregate both of them) so what i have to do? thanks so much.
-
Hello, This is pissing me off actually, the service is automatically stopping! FMS version is 2.0.1, i am using windows XP. I am having this problem since today only! i thought that it might be services conflict issue, so i stopped most of the servic