JSR portlet titlebar rendering

How do we specify a skeleton uri for the titlebar in JSR 168 portlets ?
In regular weblogic portlets , if we specify skeleton uri, it is placing in portlet
file with netuix:titlebar ... skeletonUri=....../>

Our doc team is working on to get these published.
For now, please look into netuix_system.jar file for the actual schema.
Subbu
Srinivas Surapaneni said the following on 02/11/2004 08:11 AM:
Is there any documentation for weblogic-portlet.xml anywhere on e-docs.bea.com
Thanks
Subbu Allamaraju <[email protected]> wrote:
Here is a sample snippet to describe style/skeleton attributes in
weblogic-portlet.xml. This examples shows all attributes, but you can
just specify whatever is required.
<portlet>
<portlet-name>myStylishPortlet</portlet-name>
<supports>
<mime-type>text/html</mime-type>
<titlebar-presentation>
<id>myStylishPortlet-titlebar</id>
<style>border-style: solid; border-width: 1px;
border-color: #ff0000;</style>
<class>bea-portal-window-titlebar-test</class>
<skeleton-uri>/framework/skeletons/default/titlebar-test.jsp</skeleton-uri>
<properties>some-arbitrary-property=true</properties>
<icon-url>window-icon.gif</icon-url>
</titlebar-presentation>
<content-presentation>
<style>border-style: solid; border-width: 1px;
border-color: #ff0000; overflow: auto;</style>
<class>bea-portal-window-content-test</class>
</content-presentation>
<portlet-mode>
<name>edit</name>
<button-presentation>
<id>myStylishPortlet-edit</id>
<style>border-style: solid; border-width: 1px;
border-color: #ff0000;</style>
<class>bea-portal-button-edit-test</class>
<skeleton-uri>/framework/skeletons/default/edit-test.jsp</skeleton-uri>
<properties>some-arbitrary-property=true</properties>
<activate-image>titlebar-button-edit-test.gif</activate-image>
<deactivate-image>titlebar-button-edit-exit-test.gif</deactivate-image>
<activate-rollover-image>titlebar-button-edit-test.gif</activate-rollover-image>
<deactivate-rollover-image>titlebar-button-edit-exit-test.gif</deactivate-rollover-image>
<activate-alt-text locale="fr">(fr) Examinez
Editent</activate-alt-text>
<activate-alt-text>(default) Test
Edit</activate-alt-text>
<activate-alt-text locale="en_US">(en_US) Test
Edit</activate-alt-text>
<activate-alt-text locale="en">(en) Test
Edit</activate-alt-text>
<deactivate-alt-text>(default) Exit Test
Edit</deactivate-alt-text>
</button-presentation>
</portlet-mode>
<window-state>
<name>minimized</name>
<button-presentation>
<id>myStylishPortlet-minimized</id>
<style>border-style: solid; border-width: 1px;
border-color: #ff0000;</style>
<class>bea-portal-button-minimized-test</class>
<skeleton-uri>/framework/skeletons/default/minimize-test.jsp</skeleton-uri>
<properties>some-arbitrary-property=true</properties>
<activate-image>titlebar-button-minimize-test.gif</activate-image>
<deactivate-image>titlebar-button-unminimize-test.gif</deactivate-image>
<activate-rollover-image>titlebar-button-minimize-test.gif</activate-rollover-image>
<deactivate-rollover-image>titlebar-button-unminimize-test.gif</deactivate-rollover-image>
<activate-alt-text locale="en_US">(en_US) Test
Minimize</activate-alt-text>
<activate-alt-text locale="en_GB">(en_GB) Test
Minimize</activate-alt-text>
<activate-alt-text locale="en">(en) Test
Minimize</activate-alt-text>
<deactivate-alt-text>(default) Test
Restore</deactivate-alt-text>
</button-presentation>
</window-state>
</supports>
</portlet>
Srinivas Surapaneni said the following on 02/11/2004 07:57 AM:
How do we specify a skeleton uri for the titlebar in JSR 168 portlets?
In regular weblogic portlets , if we specify skeleton uri, it is placingin portlet
file with netuix:titlebar ... skeletonUri=....../>

Similar Messages

  • Portlet titlebar rendering using javascript

    In SP2 the portlet titlebar is initially rendered using the contents from the dot portal file and at the end of the page some javascript is inserted that sets the title using the getTitle method of the portlet.
    Will SP3 fix this so that javascript is not used - instead populating the portlet title using the getTitle method of the portlet.
    Thanx
    Mark

    In SP2 the portlet titlebar is initially rendered using the contents from the dot portal file and at the end of the page some javascript is inserted that sets the title using the getTitle method of the portlet.
    Will SP3 fix this so that javascript is not used - instead populating the portlet title using the getTitle method of the portlet.
    Thanx
    Mark

  • How do you kick-off an action/event before a JSF Portlet is rendered?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

    Hi,
    I am creating JSR-168 Portlets using Sun RI 1.1 and need the ability to call an action (ie. method) of the JSF Portlet before it is rendered. Any ideas how to do this?
    Scenario To Resolve
    If a customer is on the Check-Out Portal Page, the check-out portlet will initially display the shopping cart information.
    The customer will then click buy and the portlet will display a confirmation page.
    Now, if the customer decides to do additional shopping (ie. place a second order).
    The customer will navigate to a different Portal Page to browse items.
    Once the customer is done shopping, the customer will click Check-Out and the Portal will display the Check-Out Portal Page. Currently, when the check-out portlet is rendered, the portlet is automatically rendering the confirmation page (ie. the last state of the check-out portlet).
    Question
    How can I control the state of the portlet so that the initial state of the portlet is rendered (ie. the shopping cart information)?
    - Is there something built into the JSR-168 Spec? Or, Sun's JSF RI 1.1 that will enable me to kick-off an action/event before a JSF Portlet is rendered?
    - If this functionality is not built in, has anyone faced this challenge? If so, how did you extend the framework to resolve it?

  • JSR Portlets , removing minimize and maximize

    How can we remove the minmize and maximzie icons for JSR portlets ?
    In weblogic portlets , we can set that in properties can minimize and can maximize,
    But I did not see anything for JSR 168 portlets

    Add the following in your weblogic-portlet.xml file
    <portlet>
    <portlet-name>your_portlet_name</portlet-name>
    <supports>
    <mime-type>text/html</mime-type>
    <excluded-window-state>minimized</excluded-window-state>
    <excluded-window-state>maximized</excluded-window-state>
    </supports>
    </portlet>
    Note that, by default, all Java portlets have normal, minimized and
    maximized states. By adding the above, you can exclude
    minimized/maximized states.
    Subbu
    Srinivas Surapaneni said the following on 02/04/2004 12:02 PM:
    How can we remove the minmize and maximzie icons for JSR portlets ?
    In weblogic portlets , we can set that in properties can minimize and can maximize,
    But I did not see anything for JSR 168 portlets

  • Relation between IPC & Portlet Asynchronous rendering

    Hi,
    Can someone explain the relation between IPC & Portlet Asynchronous rendering.
    In the below URL, its written " IPC is not supported when asynchronous content rendering is enabled "
    But, when I go through the article below, its given that with IPC, portlet contents can be rendered asynchronously using custom event handling.
    http://blogs.oracle.com/gmurnock/entry/portalaware_xhr_and_ipc
    I'm bit confused here & need support in understanding with the help of suitable examples.
    Thanks,
    Uttam

    Hi,
    Thats the reason its not clear to me what does it mean by the statement " IPC is not supported when asynchronous content rendering is enabled "
    mentioned in the URL http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/portlets/performance.html#wp1028016
    But, to my understanding AJAX & IPC can be achieved between portlets only by making entire desktop property as Asynchronous on which these portlets reside, but not by making portlet property as asynchronous.
    Also, if I need to make only the contents of portlets refreshed (through AJAX) instead of entire portal page refresh, I've to make all the desktops property as asynchronous on which these portlets functionality appear.
    Please correct me if my understanding is wrong anywhere?
    Thanks,
    Uttam

  • Jsr portlets - remove title bar

    How to remove title bar of a JSR portlet. (portlet.xml or weblogic.portlet.xml?). I have imported few java portlets into my portal and I want to remove the title bar. weblogic.portlet.xml file does not have any entries apart from </weblogic-portlet-app> tag..
    Like for the JPF portlets we can set the refreshAction how to control the initial action for a java portlet.
    thanks

    Sorry, no.
    In fact Apple put them at the top by popular demand!

  • Doing some processing before my portlet is rendered.

    Hi.
    I would like to do some processing before my portlet is rendered.
    Currently I have a jsp that is the begin node on my webflow. This jsp
    has a button that I click to enter my InputProcessor and
    PipelineComponent so that I can get the data I need from the database
    and render my portlet appropriately.
    I noticed that I could use a servlet as the begin node, and just do
    the processing from there. Then let the flow take me back to my jsp
    and render it correct. However I could not find out how to forward
    from my servlet to the InputProcessor...
    If anyone has done something like this before, or has a good idea on
    how to do it, please help me.
    Sincerely,
    Paul Nyheim
    [email protected]
    Please put my email-address in the cc. field of the reply.

    your begin node can be any type of node (ie presentation, input processor, pipeline)...
    take a look at some of the example webflows, point the ebcc to:
    C:\bea\weblogic702\samples\portal\sampleportalDomain\beaApps\sampleportal-project\sampleportal-project.eaprj
    -tanya
    [email protected] (Paul Nyheim) wrote:
    Hi.
    I would like to do some processing before my portlet is rendered.
    Currently I have a jsp that is the begin node on my webflow. This jsp
    has a button that I click to enter my InputProcessor and
    PipelineComponent so that I can get the data I need from the database
    and render my portlet appropriately.
    I noticed that I could use a servlet as the begin node, and just do
    the processing from there. Then let the flow take me back to my jsp
    and render it correct. However I could not find out how to forward
    from my servlet to the InputProcessor...
    If anyone has done something like this before, or has a good idea on
    how to do it, please help me.
    Sincerely,
    Paul Nyheim
    [email protected]
    Please put my email-address in the cc. field of the reply.

  • Passing beans across JSR Portlet Requests

    I'm new to portlet development and having trouble getting my head around the following...
    All I wan't to do is display a simple form, process the data and display some results.
    I would expect to do this through a combination of processAction method and a doView method, however it seems incredibly difficult to get the data created in processAction method into my JSP.
    If I was writing a servlet I'd simply create a bean and store it as an attribute in the request scope, but this doesn't seem posible within portlets.
    The sun examples use setRenderParameter(), but this only takes strings.
    I'd could add the bean to the PortletScope but would rather not as
    1. The bean will hang around for the lifetime of the portlet rather than the lifetime of the request
    2. The Portlet Specification stes that "Attributes stored in the PORTLET_SCOPE are not protected from other web components of the portlet application.
    Surely it can't be this hard to create a bean in the processAction method and access it from the JSP. Please tell me I'm missing something!

    I have the same problem with WebLogic Portal, so I
    think there's a problem of clarification with the spec, and I
    hope this will be clarified once theres a new version of
    the portlet API.
    If attributes set in ActionRequest cannot be seen in
    the render() methods, I simply see no point in defining
    setAttribute() and getAttribute() methods on the base
    PortletRequest interface ( from which both
    RenderRequest and ActionRequest inherit ).
    I've checked JSR 168 and PLT3.1 states that
    "Attributes set in the portlet request are
    available in the included servlet request", but
    from the above it seems that this is only true of
    renderRequests. Is this a bug in my Portal server
    (Vignette 7 Trial Edition)?

  • PageFlow Portlet Not Rendering

    Hello everybody,
    I'm trying to use a page flow as a source for a portlet.
    Unfortunately the portlet content is not rendered; instead, just the portlet window with the title bar is present.
    No error message is present on either the console or the server log.
    The PageFlow is a trivial one -- containing just the begin action and the index.jsp file (faces). I was able to test the pageflow directly from the IDE (choosing the `*Run on Server..*` menu action). The index.jsp content was rendered as expected. But when I tried the URLs for the portal or the portlet, no content was rendered!
    I tried the combinations: WebLogic Portal 10.2 + Workspace Studio 1.1 and WebLogicPortal 10.0 + Workshop for Weblogic Platform with the same result.
    What is the problem?! Has anyone ever experienced something similar?
    (According to the [BEA Portlet Dev docs|http://edocs.bea.com/wlp/docs100/portlets/building.html#wp1062050], using a PageFlow as a source for a portlet is a perfectly good option.)

    James thank you for your answer. I did not know about the Portal forum. May I ask the forum's admin to move this thread over there? I don't like to double-post.
    Coming back to the issue, I can confirm that indeed this is the most basic example of a portal (created ``by the book`` with a Portal EAR and a Portal Web project). And indeed, I am able to run the portlet directly from within the Workshop; I am also able to run the JPF directly from within the Workshop.
    Perhaps a sketch can explain better what I'm experiencing:
    Request for `dummy JPF` URL ----------------------> content rendered (as expected)
    Request for Portlet with `dummy JPF` URL ----------------------> NO content rendered (+unexpected+)

  • Integrate JSR Portlets into ColdFusion

    Hi!
    In short: is it possible (and if yes: how?) to deploy JSR 168
    compatible Portlets info ColdFusion / JRUN?
    Thanks,
    Fritz

    You might take a look at this doc -
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001557.htm
    HTH,
    Anne Sandstrom
    Senior Technical Writer
    ColdFusion
    Adobe Systems, Inc.

  • JSR portlet works via WSRP locally but not remotely

    Dear gurus,
    I have Webcenter with WebLogic Server Version 10.3.4.0 and I'm trying to deploy a portlet so it can be consumed from another Webcenter instance remotely.
    I have deployed a JSR 268 portlet from a WAR file using JDeveloper and the following steps:
    1. Import portlet from WAR file
    2. Follow http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10273/portlets.htm#BEIDHGGE to deploy the portlet as a WSRP producer. Obtain WSDL.
    3. In the administration page for a portal, register the WSRP producer using the supplied WSDL.
    4. Add the portlet to a page on the portal. This works if the portal page is on the same Webcenter instance as the producer.
    However, if I try to consume this portlet from a remote Webcenter instance and follow step 3, "Test Connection" reports success, but the portlet does not appear in the list of available portlets in Step 4.
    Could you please advise what I have missed?
    Thanks in advance,
    Linda Postniece

    cross check again,
    it shouldn't happen in your case.
    earlier i have consumed remote portlets via wsrp and it was working fine for me.
    No,in your case I think you should register the portlet producer in the remote domain's em-> in service cofiguration page ->portlet producer->
    and check it out.

  • Creating a cusotm button for Portlet Titlebar

    I am trying to create a custom button for our help system. The Help System is being
    hosted external to the portal. Ideally when a user clicks on the help icon a new
    window will appear with help relevant to that portlet.
    I can update a skeleton's titlebar.jsp to add this button and pull details from
    the portlet preferences to makes sure the relevant url is generated. The issues
    i see with my code are that they may not leverage the skin api very well to retreive
    the correct help images or apply the correct style to the border of the image.
    I see there are objects out there like ButtonPresentationContext and ToggleButtonPresentationContext
    that appear to retrieve look-and-feel information. Is there a way for me to populate
    my own ButtonPresentationContext to represent this custom button?

    I am currently trying to implement the help button on the title bar (I have suppressed the portlet title bar). I am able to add the portlet button, but am not able to get the help URL specified in the webservices advanced url settings page.
    Sample code
    <TABLE cellSpacing="0" cellPadding="0" width="100%">
         <TR>
              <TD class="platportletHeaderBg platportletWideHeader portletTitle" vAlign="middle" align="left">Test Page</TD>
              <TD align="right" valign="middle" nowrap class="platportletHeaderBg customappText portletButtons">
                   <span class="portletHelpButton"><img src="images/action_portlet_help.gif" alt="Test Help." border="0" align="absMiddle"
                             height="13" width="13"></A></span>
              </TD>
         </TR>
    </TABLE>

  • How to read Standard JSR Portlet Web.xml's context-param

    Hi
    I am completely new to Java.
    I want to keep some configuration in Web.xml in Context param. My Web.xml looks like
    <context-param>
    <param-name>ConfigUrl</param-name>
    <param-value>http://localhost:8083/</param-value>
    </context-param>
    How can I read these values? Can I read these values directly in my JSP file or will I have to read it in my Portlet Class in some function.
    Thanks

    As soon as I use portletConfig, it gives me NullPointerException. I am definitely using <portlet:defineObjects/>
    My Jsp looks as :
    <%@ page contentType = "text/html; charset=windows-1252"
    pageEncoding = "windows-1252"
    import = "javax.portlet.*, java.util.*, port.Port, port.resource.PortBundle,javax.portlet.PortletContext"%>
    <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
    <portlet:defineObjects/>
    <%
    PortletContext ctx = portletConfig.getPortletContext();
    String configpath = "Hello";
    %>
    <label>Welcome</label>
    <label><%=configpath%></label>

  • Spark portlets not rendering

    This is becoming anoying !!, Please help.
    I installed JES 2005Q4 Portal Server, and I am having a hard time getting Fatwire spark Portlets to render inside the Portal Server.
    I have read the FAQs on Fatwire site on this issue but the problem is still the same.
    The other thing is that JES 2005Q4 comes with Portal server 6 and not 7. I am running solaris 10 on x86. Portal server web container is Application Server 8.1. EE
    The jsproot written to futuretense.ini is cs.jsproot=/var/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/cs/jsp/
    inside the jsp directory is a directory called cs_deployed, outside jsp in cs the following folders exist: com, eWebEditPro, futuretense_cs, jsp, META-INF, SparkSample, WEB-INF, Xcelerate.
    Can some one tell what is supposed to inside this jsp folder, because I dont think I understand this anymore..
    Does fatwire have any documentation on installing fatwire on Portal Server 6 2005Q4???? the documentation is all centered on Portal Server 7, and it is so decieving.

    I managed to solve the problem. I will have award myself the Duke dollars.

  • How to create a login Jsr portlet?

    Hi
    I'm trying to work with portlets at the Oracle WSRP Verification Portal
    I want to make a portlet that could log in to a site I have made (the site is based on jsp pages and java beans).
    Is there any advice or direction from where to start, because I haven't found any relative material yet!
    Any advice will be greatly appreciated!

    Hi Peter
    The site I want to login uses a bean that is responsible for the verification of user name and password and it provides then a userID, which I add to a session object along with some other info, and then I use a redirect to a page of my site. This page checks the info that exist in the session object and lets you have access.
    About your question for the users identities I believe that I just need to use one user identity on my remote system for every Oracle Portal user.
    If based on the above you have to give me some advice-directions I would be gratefull!
    Thanks
    Stratos

Maybe you are looking for

  • Is this normal?!!

    I just got my iPad 2 today. I tried to install the recent device software but it took like ages. I disconnected and connected back to restore to factory settings. It's almost 2 hours now with not more than 20% complete!!! What should I do. PLEASE HEL

  • WebAPI or Repository

    I have multi-tiered application with SQL databases and MVC and SPA frontend.  Some of the data needed by my web application don't reside on the same SQL server while some reside on the same database but in a different schema.  The schema has differen

  • Editregions in Templates

    Hi everyone, Ive searched your pages but couldnt find a remedy to this problem. I made a template for our website and included an EditRegion in the body of the page. When we use the template I am able to cut and paste and type stuff into the box, how

  • Urgent Help to Startup Mac OS lion

    Every time I go to startup my mac I get the following error: panic(cpu 1 caller 0xffffff7f807b4ce7) : CPU 1 has no HPET assigned to it How can this be fixed? Please help. Justin

  • Unrecognised file format when trying to upload video

    hi all i have a macbook with the latest softward update, i have been trying to upload movies from my sony camcorder to the mac.  there are 600 videos and the mac uploaded 51 of them and the others all failed with an error box coming up at the end unr