JSR-168 vs Page Flow question

Hi,
I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
will i loose ?
Thanks

Two main features
* Managing flow: WLW can help manage flow for pageflows, but with JSR168
portlets, you need to create the flow programmatically.
* Databinding: Pageflows support advanced databinding features, and
these features are not part of the spec defining JSR168 portlets.
Subbu
Carl Samson said the following on 12/08/2003 07:12 AM:
Hi,
I i use JSR-168 to do my Portlets instead of page flow, which functionnality/features
will i loose ?
Thanks

Similar Messages

  • JSR for Java Page Flow?

    Hello there,
    I would love to know if there is or will be a JSR for the Java Page Flow
    technology that we have in Workshop. If not. what are the reasons behind this?
    I see there is JSR207 for the Process Definition stuff for integration, but what
    about page flow?
    thanks,
    frank

    Frank,
    XML beans stand alone is available at
    http://workshop.bea.com/xmlbeans/index.jsp
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Thomas Cook" <[email protected]> wrote in message
    news:[email protected]..
    Frank,
    Speaking for page flows, there will soon be an Ant compiler and
    supporting libraries to allow page flows to run on Tomcat and possibly
    other standards-based products as well. Whether there will be any other
    standardization push for page flows, such as a JSR, remains to be
    determined.
    I can't say anything for XML beans other than it's currently freely
    available from BEA.
    Thomas
    frank wrote:
    aehm, I missed something: XML Beans
    Also, does anyone know which way of standardization this piece of
    technology will
    go?
    I understand it makes sense to merge it with jax-b over time, but arethere any
    >>
    jsr out yet or anything else?
    thanks a lot for any information!
    frank
    "Frank" <[email protected]> wrote:
    Hello there,
    I would love to know if there is or will be a JSR for the Java Page Flow
    technology that we have in Workshop. If not. what are the reasons behind
    this?
    I see there is JSR207 for the Process Definition stuff for integration,
    but what
    about page flow?
    thanks,
    frank

  • Page Flow Question

    I have 2 page flows in my application :PageFlow1 and PageFlow2
    PageFlow 1 has a method jumpToPageFlow2() that calls begin method of PageFlow2
    * This method represents the point of entry into the pageflow
    * @jpf:action
    * @jpf:forward name="success" path="/PageFlow2.jpf"
    protected Forward jumpToPageFlow2()
    return new Forward( "success" );
    The index page of PageFlow 2 gets executed successfully. If I do refresh on the
    index page of PageFlow2, it throws me PageFlow error - Action Not Found and expects
    method jumpToPageFlow2() to be in PageFlow2.
    This is strange.
    Is there any work around solution
    Thanks

    Hi
    You can access pageflow variable from any JSP page that is part of that page flow. Is the jsp part of the pageflow?
    http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/netui/guide/conDatabindingXScript.html
    Vimala-

  • Re: Page Flow Question

    John,
    We are looking into this and will get back to you.
    Regards,
    Anurag
    "John Hundley" <[email protected]> wrote in message
    news:3f184486$[email protected]..
    >
    Hi,
    I have developed a Page Flow application that has more than one entrypoint into
    a given set of pages that perform updates to a database. Depending onwhere the
    user entered the pages from I want to return to that page once the personhas
    completed making the updates. I have been toying with the return to pagebut
    that only works to go to the previous page and no further. I was thinkingI could
    set a variable in the globalApp class that would point to the initialentry page
    but I would have to do that in the .jsp and I haven't quite figured outhow to
    access globalApp from a .jsp. Is this the best approach or are therebetter ways
    of doing what I am trying to do? Has anyone done this sort of thing andhave an
    example?
    Thanks,
    John

    Thanks suggestion from Eddie and Gregory! Actually Eddie's suggestion by putting
    everything in a single line did work, however I encountered a even weirder problem:
    I am using a plugin called Chime Pro from MDL, by putting everything in a single
    line, the plugin is able to render picture on the test brower on server machine,
    however, the picture still won't be rendered on the client browser (on another
    PC with plugin installed), the weirdest thing is that when I start the TCPtrace
    utility:http://www.pocketsoap.com/tcptrace/, the plugin start to work.
    I initially think it may due to the port problem, I switched the server port to
    the common 8080, it still won't work.
    Does anyone in this group use Chime Pro plugin? Any suggestion is appreciated.
    Thanks
    Zhenhao
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try putting everything on a single line; it looks like the \n's at the
    end of the taglib definitions are putting returns in the output page.
    Eddie
    Zhenhao Qi wrote:
    Hi Eddie,
    Thanks for the hint, by using <netui:content/> tag, I did get rid ofthe HTML
    <span> ...</span> wrap. However, I still got several empty lines beforemy output
    (please see the attached returned-format.txt and the format_wanted.txtand the
    screen shot ), this causes my plugin refuse to render the picture.I think those
    empty line is due to my code below, somehow the WLS output newlineif I have code
    on that line "
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:content value="{pageContext.jpfMol}" >
    </netui:content>
    I think we are getting close to solve the problem, but this maybe adifficult
    one due to workshop's own setting.
    Thanks!
    zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    Try using the <netui:content/> tag; this simply writes the text to
    the output stream and does not wrap it in an HTML <span>...</span>
    as
    the <netui:label/> tag does.
    Let me know if that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi,
    Looks like my workshop debugger is behaving better this afternoon.My apology
    for the previous message, the "call PageFlow" did return the stringI expected,
    However, the format is little off from what I expected, please seethe attached
    return format and the format I wanted.
    I have the following jsp code:
    <%@ page contentType="chemical/x-mdl-molfile"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib prefix="netui" uri="netui-tags-html.tld"%>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    Is there any way inside workshop that I maybe able to tweak code alittle to make
    the format suit my need, this is critical for my plugin to recognizethe format
    to reder some picture.
    Thanks!
    Zq
    "Zhenhao Qi" <[email protected]> wrote:
    Hi Eddie,
    Thanks a lot for the info.! the "{url.Sample_code}" did solve my
    dynamic
    data
    binding problem, however it looks like it did not return any thingwhen
    I use
    the following code:
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfMol">
    <netui-data:methodParameter value="{url.Sample_code}"/>
    </netui-data:callPageFlow>
    <netui:label value="{pageContext.jpfMol}" >
    </netui:label>
    The method "GetMolbyscode" in the .jpf as following:
    public String GetMolbyscode(String S_code)
    try {
    java.sql.Clob molfile = structuredb.getmolbyscode(S_code);
    int len = (int)molfile.length();
    String molfil = molfile.getSubString(1, len);
    return molfil;
    catch (SQLException e) {
    System.err.print("Caught Exception : ") ;
    e.printStackTrace() ;
    return null;
    I did use "toggle breakpoint" to step through the excution of "GetMolbyscode",
    I got the expected "molfil". I need to particularly mention that
    the
    returned
    string "molfil" contains several "\n" inside it, I am wondering this
    may cause
    the problem.
    By the way, the "toggle breakpoint" debugging function sometimesdid
    not work,
    I am wondering why.
    Thanks!
    Zq
    Eddie O'Neil <[email protected]> wrote:
    Zhenhao--
    The NetUI tags use data binding expressions to access data. Oneof
    the ways you could do this is to use the "url" binding context,
    which
    provides access to the first parameter that shows up on the URLfor
    each
    parameter key; this is equivalent to your getParameter(...) call.
    Replace your methodParameter with this:
    <netui-data:methodParameter value="{url.Sample_code}"/>
    Hope that helps...
    Eddie
    Zhenhao Qi wrote:
    Hi All,
    I am new to this newsgroup. I am using workshop 8.1 and try to
    call
    dynamically
    the PageFolow method, but it won't work, is there alternatives?
    I have the follwing codes:
    <%
    String S_code = request.getParameter("Sample_code");
    %>
    <netui-data:callPageFlow method="GetMolbyscode" resultId="jpfmol">
    <netui-data:methodParameter value="<%=S_code%>"/>
    </netui-data:callPageFlow>
    However, it give me the error: this attribute does not supportrequest
    time value.
    Thanks!
    zq
    ISISHOST03270216272D 1 1.00000 0.00000 26670
    41 44 0 0 0 999 V2000
    2.7381 -3.0319 0.0000 C 0 0 0 0 0 0 0 00
    3.5627 -3.0960 0.0000 C 0 0 0 0 0 0 0 00
    4.0298 -2.4093 0.0000 C 0 0 0 0 0 0 0 00
    3.6710 -1.6674 0.0000 C 0 0 0 0 0 0 0 00
    2.3818 -2.2873 0.0000 C 0 0 0 0 0 0 0 00
    2.8488 -1.6080 0.0000 C 0 0 0 0 0 0 0 00
    2.3471 -0.9539 0.0000 N 0 0 3 0 0 0 0 00
    1.5699 -1.2290 0.0000 C 0 0 0 0 0 0 0 00
    1.5915 -2.0530 0.0000 C 0 0 0 0 0 0 0 00
    0.8901 -0.7616 0.0000 C 0 0 0 0 0 0 0 00
    0.9549 0.0608 0.0000 O 0 0 0 0 0 0 0 00
    0.1454 -1.1167 0.0000 N 0 0 0 0 0 0 0 00
    -0.5344 -0.6494 0.0000 C 0 0 0 0 0 0 0 00
    -0.4678 0.1701 0.0000 C 0 0 0 0 0 0 0 00
    -1.1469 0.6373 0.0000 C 0 0 0 0 0 0 0 00
    -1.8925 0.2822 0.0000 C 0 0 0 0 0 0 0 00
    -1.9550 -0.5447 0.0000 C 0 0 0 0 0 0 0 00
    -1.2751 -1.0082 0.0000 C 0 0 0 0 0 0 0 00
    -1.0817 1.4597 0.0000 C 0 0 3 0 0 0 0 00
    -0.3368 1.8145 0.0000 C 0 0 0 0 0 0 0 00
    -1.7613 1.9274 0.0000 C 0 0 0 0 0 0 0 00
    -0.3041 1.1839 0.0000 C 0 0 0 0 0 0 0 00
    -1.3358 -1.8310 0.0000 O 0 0 0 0 0 0 0 00
    -2.0787 -2.1898 0.0000 C 0 0 0 0 0 0 0 00
    -2.6984 -0.9024 0.0000 N 0 0 0 0 0 0 0 00
    -3.3799 -0.4375 0.0000 S 0 0 3 0 0 0 0 00
    -4.1233 -0.7952 0.0000 C 0 0 0 0 0 0 0 00
    -2.7549 0.1042 0.0000 O 0 0 0 0 0 0 0 00
    -3.7404 0.3098 0.0000 O 0 0 0 0 0 0 0 00
    4.1342 -0.9847 0.0000 N 0 0 0 0 0 0 0 00
    4.9571 -1.0445 0.0000 C 0 0 0 0 0 0 0 00
    5.4203 -0.3619 0.0000 C 0 0 0 0 0 0 0 00
    5.3167 -1.7870 0.0000 O 0 0 0 0 0 0 0 00
    6.2476 -0.4235 0.0000 C 0 0 0 0 0 0 0 00
    6.7107 0.2583 0.0000 C 0 0 0 0 0 0 0 00
    6.3511 1.0018 0.0000 C 0 0 0 0 0 0 0 00
    5.5239 1.0593 0.0000 N 0 0 0 0 0 0 0 00
    5.0645 0.3766 0.0000 C 0 0 0 0 0 0 0 00
    6.8135 1.6851 0.0000 N 0 0 0 0 0 0 0 00
    7.6364 1.6264 0.0000 C 0 0 0 0 0 0 0 00
    2.5816 -0.1629 0.0000 C 0 0 0 0 0 0 0 00
    9 5 1 0 0 0
    19 20 1 0 0 0
    4 6 1 0 0 0
    19 21 1 0 0 0
    8 10 1 0 0 0
    19 22 1 0 0 0
    5 6 2 0 0 0
    18 23 1 0 0 0
    10 11 2 0 0 0
    23 24 1 0 0 0
    1 2 2 0 0 0
    17 25 1 0 0 0
    10 12 1 0 0 0
    25 26 1 0 0 0
    5 1 1 0 0 0
    26 27 1 0 0 0
    12 13 1 0 0 0
    26 28 2 0 0 0
    2 3 1 0 0 0
    26 29 2 0 0 0
    13 14 2 0 0 0
    4 30 1 0 0 0
    30 31 1 0 0 0
    14 15 1 0 0 0
    31 32 1 0 0 0
    3 4 2 0 0 0
    31 33 2 0 0 0
    15 16 2 0 0 0
    32 34 2 0 0 0
    6 7 1 0 0 0
    34 35 1 0 0 0
    16 17 1 0 0 0
    35 36 2 0 0 0
    7 8 1 0 0 0
    36 37 1 0 0 0
    17 18 2 0 0 0
    37 38 2 0 0 0
    38 32 1 0 0 0
    18 13 1 0 0 0
    36 39 1 0 0 0
    8 9 2 0 0 0
    39 40 1 0 0 0
    15 19 1 0 0 0
    7 41 1 0 0 0
    M END
    </span>------------------------------------------------------------------------

  • JSR 168 API question

    Hi,
    How can i forward the request to another "Page" using JSR 168 ?
    Where can i find JSR-168 code examples other than the one shipped with JSR168-Struts
    bea package ?
    Thanks

    Carl,
    The portlet API does not support the use case you're looking for. The
    API has no notion of pages.
    WebLogic portlet container, however, does support this use case. Try
    using render:pageUrl as in the following example
    Click ">here</a> to to goto
    page X.</p>
    where pageX is the definition label of that page.
    Subbu
    Carl Samson said the following on 12/08/2003 08:15 AM:
    Hi,
    How can i forward the request to another "Page" using JSR 168 ?
    Where can i find JSR-168 code examples other than the one shipped with JSR168-Struts
    bea package ?
    Thanks

  • JSR 168 portlets packaging question

    Hello,
    I have a bunch of Java (JSR 168, using Spring MVC) portlets (PortletOne, PortletTwo...PortletN) that I created as individual Portal Web projects and are contained in a Portal EAR project. This portal EAR is my deployment unit and also consists of another Portal Web project (Assembly.war) that holds a app.portal file where I plan to assemble all these Java portlets and use it to create a desktop. The reason for having all the individual portlets in web projects of their own is to be able to export them as a unit and use it elsewhere either as a shared library or package it within another EAR file as the need arises.
    my application.xml looks somewhat like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
         <display-name>MyEar</display-name>
         <module id="WebModule_1">
              <web>
                   <web-uri>Assemby.war</web-uri>
                   <context-root>appname</context-root>
              </web>
         </module>
         <module id="WebModule_2">
              <web>
                   <web-uri>PortletOne.war</web-uri>
                   <context-root>PortletOne</context-root>
              </web>
         </module>
         <module id="WebModule_3">
              <web>
                   <web-uri>PortletTwo.war</web-uri>
                   <context-root>PortletTwo</context-root>
              </web>
         </module>
    </application>But since all these WAR files are at the same level I cannot reference the context definitions and the controllers for the portlets defined in each of these portlet WAR files (PortletOne, PortletTwo,...) from the common web project that holds the app.portal file in Assembly.war. I tried to define a custom classloader structure in weblogic-application.xml and put the assembly war file at a lower level but the app even fails to deploy with IllegalAccessError as soon as a context for each of the war files is registered by the hot deploy process. Moreover, when I deploy the EAR file, the portlets defined in each of the WAR files do not appear in the Resources library when viewed from the Portal Administration console.
    Any suggestions how to assemble these individual portlets into a common web project, while still keeping them packaged within the same EAR file? Alternate approaches are welcome too.
    I have already considered deploying these portlet WAR files as Weblogic J2EE shared libraries. But with this approach, the overall application response time is very slow in spite of exhausting all tuning options and also cannot pre-compile JSPs in the shared libraries.
    Is importing the JSR-168 portlets using the import utility as WSRP portlets a viable option? Will I be able to share session variables across portlets, fire and handle events and be able to pre-compile the JSP in idividual portlets?
    Edited by: shyam6190 on Aug 13, 2009 1:25 PM

    Hello,
    Perhaps the multiple nested classloaders involved with the shared libraries approach is slowing it down- if that is the case, it would be hard to fix.
    Using WSRP should work for you; there is a bit more complexity but if you have relatively simple portlets, use the correct JSR168 tags and methods (or the Spring bridge does), it shouldn't be too hard to get to work. The IDE may be able to help you with that; you can create a new portlet of type "remote portlet" in your aggregated webapp, and a wizard will walk you through the steps. If you use local proxy mode, the portlet's individual WSDL URL will be the URL to each portlet's webapp on localhost.
    The WSRP configuration can also be done dynamically in the Portal Admin Tools, and even using a specialized JSR168 import tool, but both of these options would only create database instances of portals and portlets in your aggregating webapp. This would be fine if your aggregated EAR never needs to move to a different deployment environment, but if you require portability of the EAR to another environment it complicates packaging, as database information is also required. If you happen to be using WLP version 10.3, I believe there is a bug which prevents the specialized JSR168 import tool from working, but the tool is documented here:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/deployment.html#wp1047337
    Since all the WSDL URLs will point only to the localhost, when you package the aggregated WAR file it should deploy properly to any servers. Information about the local proxy mode, which should improve performance for your configuration, is described here:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/federation/Chap-Best_Practices.html#wp1010714
    Hope this helps!
    Kevin

  • JSR-168 Consumer question

    Hi,
    I am new to plumtree portal but have used some other JSR-168 compliant portals such as exo and websphere. I want to reuse some of the portlets I created in plumtree portal. It seems installing the JSR-168 consumer on the portal server and remote server is a good way to achieve that.
    Are there any concerns with installing the JSR-168 consumer on the portal server side? Any performance pennalties, compatibility issue etc? I am going to bring this up to our portal admin once I can get more information regarding it here.
    Thanks
    -Chengmin

    test
    <chengmin ding> wrote in message news:[email protected]..
    Hi,
    I am new to plumtree portal but have used some other JSR-168 compliant
    portals such as exo and websphere. I want to reuse some of the portlets I
    created in plumtree portal. It seems installing the JSR-168 consumer on
    the portal server and remote server is a good way to achieve that.
    Are there any concerns with installing the JSR-168 consumer on the portal
    server side? Any performance pennalties, compatibility issue etc? I am
    going to bring this up to our portal admin once I can get more information
    regarding it here.
    Thanks
    -Chengmin

  • Consuming web services in a jsr 168 portlet best practices.

    I am building portlets (jsr 168 api in Websphere Portal 6.0 using web service client of Rational). Now needed some suggestions on caching the web services data on the portlet. We have a number of portlets (somewhere around 4 or 5) on a portal page which basically rely on a single wsdl Lotus Domino Web Service.
    Is there a way I can cache the data returned by webservice so that I dont make repeated calls to the webservice on every portlet request. Any best practices/ideas on how I could do avoid multiple web service calls would be appreciated ?

    Interestingly, as it often happens with Oracle portal, this has started working without me doing anything special.
    However, the session events my listener gets notified of are (logically, as this portlet works via WSRP) different from user sessions. The problem I'm trying to solve now is that logging off (in SSO) doesn't lead to those sessions being destroyed. They only get destroyed after timeout specified in my web.xml (<session-config><session-timeout>30</session-timeout></session-config>). On the other hand, when they do expire, the SSO session may still be active, in which case the user gets presented with the infamous "could not get markup" error message. The latter is unacceptable in our case, so we had to set session-timeout to a pretty high value.
    So the question is, how can we track when the user logs off. We have found the portal.wwctx_sso_session$ and portal.WWLOG_ACTIVITY_LOG1$ (and ...2$) tables, but no documentation for them. However, the real problem with using those tables is that there's no way we could think of to match the portlet sessions with SSO sessions/actions listed in the tables. (Consider situation when someone logs in from two PCs.)
    Any ideas?

  • JSR-168 Navigation

    I would like to navigate from a Portal page containing JSR-168 portlets to another similar Portal page. I have accomplished this using the EDK <pt:openerLink ...> method but I was unable to append a parameter that was visible to the portlets on the target page.
    Do I need to create an Action URL with a parameter. From the processAction() method of the Portlet on the originating page I would then place the parameter into session scope and redirect from the originating Portal page to the new target portal page. (I know about the bug with session scope)?
    I read the "Introduction to JSR-168 Portlets" article, and noticed the custom tag
    ">here</a>.
    If I use this to how do I specify the new target Portal page?

    I'm not sure if my question was clear. I am not trying to 'call' another portlet. I am trying to navigate from one portal page (containing JSR-168 portlets) to another page. I know that I can do this about five different ways (<pt:opener , custom tag library within the Plumtree JSR-168 war, ...).
    I would like to know the most effective way to do this and pass a parameter.
    According to the 1.0.3 Release Notes for JSR-168 Container 1.0.3: "Render parameters are not stored between requests. This specifically fails the Sun TCK tests using WebLogic on Unix. (Issue #37783)." What is the correct life-span of a render parameter?
    Thank you! Any info is appreciated ;-)

  • JSR 168 and Struts support sample error

    I'm trying to get the sample webapp for JSR 168 and Struts support working with
    WebLogic 8.1, and I'm having problems with the struts portlet. The other portlets
    seem to work fine, but the Struts portlet gives the following error after clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the following exception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-setters.do] in the given PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according to
    the instructions, and have copied the required jars into the samples WEB-INF/lib
    directory. I also have tried to write my own Struts application in a portlet,
    and it gets the exact same errors when I try to submit a form to my actions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

    Hi Brodi,
    I am having the same problem as Patrick. The problem is not in the struts portlet,
    but in the forms the portlet navigates to. After the struts portlet loads, I
    am able to use the html:links and navigate through the pages. Though when I try
    to submit a form I get the action not found error. For example the html-select
    page has a form. This page loads fine, but when I hit the save button I get the
    following error.
    <Aug 25, 2003 11:00:00 AM EDT> <Error> <netui> <BEA-420012> <There was an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for the contro
    l :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could not do
    page flow lookup for the given action [html-select.do] in the given PageFlow:
    struts/exercise-taglib].
    The application appears to loose the struts context. It tries to find the localhost:7001/samples/html-select.do
    action instead of localhost:7001/samples/struts/exercise-taglib/html-select.do
    action. How do I keep the application from loosing context?
    Thank you,
    Karen
    "Brodi Beartusk" <[email protected]> wrote:
    >
    Patrick-
    I've seen similar things happen when the module name is either not specified
    correctly
    in the StrutsContent element in the portlet, or when the module is misconfigured,
    usually because of either a mising config file or a mis-named config
    file.
    Ensure that you have a the struts config file for the exercise-taglib
    module in
    WEB-INF, named jpf-struts-config-struts-exercise-taglib.xml.
    -Brodi Beartusk
    "Patrick Callis" <[email protected]> wrote:
    I'm trying to get the sample webapp for JSR 168 and Struts support working
    with
    WebLogic 8.1, and I'm having problems with the struts portlet. Theother
    portlets
    seem to work fine, but the Struts portlet gives the following errorafter
    clicking
    "Save" on most of the forms:
    Page Flow Error - Action Not Found
    Page Flow: Global.app
    Action: html-setters.do
    Unable to find action html-setters.do.
    That error appears in the browser. At the same time, the followingexception
    appears in the server window:
    <Aug 18, 2003 4:34:12 PM EDT> <Error> <netui> <BEA-420012> <There was
    an error
    while running a lifecycle stage :: Lifecycle: UIControl.render :: for
    the control
    :: null ::.
    com.bea.netuix.nf.UIControlException: For portlet [strutsPortlet], could
    not do
    page flow lookup for the given action [html-setters.do] in the given
    PageFlow:
    [struts/exercise-taglib].
    This exception is followed by hundreds of lines of the following:
    at com.bea.wlw.netui.pageflow.scoping.ScopedServletUtils.strutsLookup(ScopedServletUtils.java:363)
    as well as several stack overflow errors.
    I believe I have installed the JSR168 and Struts support package according
    to
    the instructions, and have copied the required jars into the samples
    WEB-INF/lib
    directory. I also have tried to write my own Struts application ina
    portlet,
    and it gets the exact same errors when I try to submit a form to myactions.
    Any insight would be much appreciated!
    Thanks,
    Patrick

  • Parameter passing and forwarding issues with 10.1.4 JSR 168 portlets

    Hi,
    I'm using version 10.1.4 version of Oracle Portal Server, and am trying to move a JSP web application to a JSR 168 compliant portlet.
    I am experiencing these issues:
    1. There are <form> tags in my JSPs. I've set the action attribute to "<portlet:actionURL>". This works okay and I can see the parameters in my processAction properly. However, if I modify the action attribute to "<portlet:renderURL>", I do not see any parameters in my doView(). Is this expected or a known bug?
    2. As a workaround of the issue #1, in my processAction, I'm using response.setRenderParameter(). This works but has a serious side effect: the first set of values set are set permanently for the session. Subsequent submissions of my JSP fail to alter the values. Is this expected? This problem is not there if setRenderParameter() is not used.
    3. My JSPs use request.setAttribute() and request.getSession().setAttribute(). I don't see these attributes in my processAction using request.getAttributeNames(). Is there another way of retrieving them?
    4. In my JSP, I have this code in a method declaration:
    String forwardPage = "hello.jsp";
    RequestDispatcher forwarder = request.getSession().getServletContext().getRequestDispatcher(forwardPage);
    forwarder.forward(request, response);
    This results in an exception on the server:
         06/05/07 00:25:10 AnupamPortlets: JspServlet: unable to dispatch to requested page: java.lang.NullPointerException
         at com.evermind.server.http.HttpApplication.isLegalFileSystemPath(HttpApplication.java:1298)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:502)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:253)
         at opportunity_detail____contacts__view._Controller.processRequest(_Controller.java:2516)
         at opportunity_detail____contacts__view._Controller._jspService(_Controller.java:2592)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
         at oracle.webdb.wsrp.server.RequestDispatcherImpl.include(Unknown Source)
         at mypackage1.Portlet1.doView(Portlet1.java:158)
    I've tried moving the page around and using request.getContextPath() and getNamedDispatcher(), but same error.
    This is supported, right? I saw some old messages about this being a bug on the PDK side.
    Actually, using forwarder.include() works, but causes other issues
    Any ideas what I can try of any of these will be greatly appreciated. Thanks.

    Hi Anupam,
    I can help you with question #2.
    2. As a workaround of the issue #1, in my processAction, I'm using response.setRenderParameter(). This works but has a serious side effect: the first set of values set are set permanently for the session. Subsequent submissions of my JSP fail to alter the values. Is this expected? This problem is not there if setRenderParameter() is not used.
    I believe that the issue is an artifact of the interpretation of the JSR-168 specification by Oracle. I discovered that the setRenderParameter basically ends up sending a redirect back to the browser with the render parameters in the URL. This raised security concerns as you may have wanted to pass some sort of internal data from your action to your render request. The parameters in the url "hang around" once they are there so your portlet keeps recieving them. Based on this behavior I have decided to not use setRenderParameter in Oracle portal.
    -sean
    Solutions Architect
    www.sagelogix.com

  • Converting PDK Portlet calls to JSR 168 portlet calls

    Hi,
    I am working on making Worklist 10.1.3 portlets WSRP compatible. For that i am converting PDK java calls to equivalent JSR 168 API calls ... I have made some changes and stuck on few things .
    Can anyone help me equivalent JSR of these calls .
    NOT DONE :--
    String actionParam = PortletRendererUtil.getEditFormParameter(pReq);
    PortletRendererUtil.submitEditData(pReq, data);
    String myURL = pReq.getRenderContext().getPageURL(); // Gets the URL of the page that invoked this portlet.
    prevPgURL = UrlUtils.parameterizeLink(renderRequest, UrlUtils.PAGE_LINK, wlPgStartKey+"="+prevPgStart); //Adds new parameters to an existing link
    String portletKey = pReq.getPortletInstance().getInstanceName(); // Gets the Portal generated name of the PortletInstance.

    Nisabhar,
    You could try the [url http://forums.oracle.com/forums/forum.jspa?forumID=14]OAS Portal Forum, as your question doesn't have anything to do with JDeveloper.
    John

  • Control Height Of Region Containing JSR-168 Portlet

    We are in the process of converting some portlets from Oracle Reports to JSR-168. Our intitial portal page would contain the Oracle Reports portlets within the height of the region. The same output created by a JSR-168 portlet causes the region to grow vertically, which pushes the regions below it down thereby creating large gaps.
    The Oracle Reports portlet would have a scrollbar that allows the user to see all of the content hidden below the bottom of the region. No matter what css I apply, I cannot make the same thing happen with the JSR-168 portlet.
    Does anyone have any tips for constraining the vertical size of the regions so that they do not grow to accommodate all of the content but instead produce a scrollbar?

    Andre,
    When you drag a project folder over to a portal, workshop doesn't
    scan/detect the folder contents and create portlets accordingly. So, you
    are creating the wrong portlet type.
    In this case, you need to create the portlet via the file wizard. Just
    right-click on the directory where you want the portlet to live and
    select 'New->Portlet' to get the wizard. Then, select the portlet type:
    'Java Portlet'.
    -robert
    Andre Ranvik wrote:
    Is there anybody who has experience with deploying JSR 168 portlets on WLS 8.1SP2
    that have been "handcoded". The portlets I am trying to deploy are these:
    http://developers.sun.com/prodtech/portalserver/reference/techart/jsr168/#2
    I have tried to manually import the individual folders/files, modified the portlet.xml,
    and dropping the folder containing the jsp's onto a portal within Workshop. I
    respond "yes" to the question whether I want it to create a portlet. The problem
    is that it doesn't recognize this to be a JSR 168 portlet (or it doesn't support
    it??).
    I have also tried to deploy a portlet within a WAR file, but no such luck.
    Support for JSR 168 implies that one would expect support for deploying JSR 168
    portlets developed on other platforms.
    I am hoping for a step-by-step set of instructions on how this can be accomplished.
    Thanks a bunch!
    Andre Ranvik

  • Support for JSR 168 and WSRP

    Hi,
    does SAP EP 7.0 supports JSR 168 and WSRP standards?
    Regards,
    Ladislav

    Hi Ladislav,
    Here are a few pointers that might answer your question:
    - WSRP 1.0 is supported in NetWeaver 7.0 (see this [SAP Help Page|http://help.sap.com/saphelp_nw70/helpdata/en/43/23fb36cad10d23e10000000a1553f7/frameset.htm] for more information)
    - JSR 168 support for Netweaver 7.0 has been discussed often but never confirmed in SAP documentation (check this thread for a recent SAP unofficial comment about its upcoming availability). However, NetWeaver CE 7.1 already supports JSR 168 (see this [SAP Help Page|http://help.sap.com/saphelp_nwce10/helpdata/en/44/5b96b37b6f4de1e10000000a1553f7/frameset.htm])
    Hope this helps.
    Best Regards,
    Joseph

  • JSR 168 Portlet title

    I want to set the portlet title at run time (JSR 168 portlet). I tried to use RenderResponse.setTitle() but it doesn't work. Any ideas?
    Thanks

    How can I able to apply HTMLPageSkin to a portlet in maximized windowstate.<br>
    Below are the details<br><br>
    Senerio:<br>
    I have a HomePage which contains and Calendar Portlet at the corner region of it.
    I applied a HTMLPageSkin on the HomePage and I am getting the header and footer from the HTMLPageSkin.
    There is a button in the Calender Portlet which will show a FullPage Calendar on the same window when clicked.
    Code for Button Action is<br>
    <BR>
    <b>&lt;a href="&lt;portlet:renderURL windowState="maximized"&gt;&lt;portlet:param name="action" value="onFullCalendarClicked"/&gt;&lt;/portlet:renderURL&gt;"&gt;&lt;img src="/button.gif"&gt;&lt;/a&gt;.</b>
    <BR><BR>
    When I click the button, I am able to see FullCalendar in the window but there is no HTMLPageSkin to that.<br><br>
    Question:<BR>
    How can I apply my HTMLPageSkin to that portlet in maximized state?
    I can able to apply HTMLPageSkin to any page, but this FullScreen mode portlet is not in any page. I cannot include header/footer in the jsp file as per the specs.
    Technologies we are using are WSRP Portlets, JSR168, Spring.
    <br><br>
    Please help me in this.
    <br>
    Thanks in advance<br>
    Somi

Maybe you are looking for

  • Task Scheduler - Bad login when using the correct password

    Greetings, I have been working an issue with Task Scheduler for a while now. I have done the forum rumble as well and looked at most if not all the posts to no avail. So here is my setup is on Server 2008 R2 SP1: I haveĀ a service accounts, we are loo

  • Installing Oracle Personal edition

    Hi, I am Ritesh Kothari.Currently doing my MS in computer science from Ohio University. I want to install Oracle Personal Edition on my Win98 machine. Currently I have 1 GB of hard disk free.I have downloaded the Oracle9i Personal Edition Release 9.0

  • Over MobileMe Issues

    I am totally over mobileme issues yet I love iWeb. Can anyone recommend a good hosting site that is compatible with iWeb? How do I upload the site etc without using mobileme?

  • IMPORT/EXPORT FROM ADDRESS BOOK TO ENTOURAGE

    Is there a way to export/import contacts from the Address Book to Entourage? Thanks

  • FI-MM Account Determination Question

    Hello Gurus, I have the following specific requirement from our business: Is there any specific table in SAP that will give us the correct GL accounts if I mention valuation class and movement type? I know table T030 for account determination and we