Random behaviour for multiple JSP

I tried to create Oracle PDK java portlet that will have multiple JSP. Which i want to call one after the another in the flow.
I did created in entry in provider.xml sas follows
<pageParameterName>rs_next_page</pageParameterName>
My JSP has sample code as follows
<%@page contentType="text/html; charset=windows-1252"
import="oracle.portal.provider.v2.render.PortletRenderRequest"
import="oracle.portal.provider.v2.http.HttpCommonConstants"
import="oracle.portal.provider.v2.url.UrlUtils"
%>
<%
PortletRenderRequest pReq = (PortletRenderRequest)
request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
%>
<P>Hello <%= pReq.getUser().getName() %>.</P>
<P>This is the <b><i>Show</i></b> render mode!</P>
<form name="actItem" method="get" ACTION="<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
<%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "actItem") %>
<input type = hidden name = "rs_next_page" value = "/htdocs/editresources/editresourcesEditPage.jsp">
<input type="submit" value="Submit"/>
</form>
But it does not work It does not give error or anything. I have 2 Oracle PDK portlet having same code it works but this does not work.
Could you please guide me what is best approach of redirecting to another JSP in Oracle portal

hi,
When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window and it is must.
CHAN

Similar Messages

  • Random behaviour of Redirect JSP (URGENT)

    I tried to create Oracle PDK java portlet that will have multiple JSP. Which i want to call one after the another in the flow.
    I did created in entry in provider.xml sas follows
    <pageParameterName>rs_next_page</pageParameterName>
    My JSP has sample code as follows
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.url.UrlUtils"
    %>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    <form name="actItem" method="get" ACTION="<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "actItem") %>
    <input type = hidden name = "rs_next_page" value = "/htdocs/editresources/editresourcesEditPage.jsp">
    <input type="submit" value="Submit"/>
    </form>
    But it does not work It does not give error or anything. I have 2 Oracle PDK portlet having same code it works but this does not work.
    Could you please guide me what is best approach of redirecting to another JSP in Oracle portal
    I tried next_page ad hidden field but then it overwrite the another portlet next_page parameter.
    PLEASE GUIDE ME ASAP

    I tried to create Oracle PDK java portlet that will have multiple JSP. Which i want to call one after the another in the flow.
    I did created in entry in provider.xml sas follows
    <pageParameterName>rs_next_page</pageParameterName>
    My JSP has sample code as follows
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.url.UrlUtils"
    %>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    <form name="actItem" method="get" ACTION="<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "actItem") %>
    <input type = hidden name = "rs_next_page" value = "/htdocs/editresources/editresourcesEditPage.jsp">
    <input type="submit" value="Submit"/>
    </form>
    But it does not work It does not give error or anything. I have 2 Oracle PDK portlet having same code it works but this does not work.
    Could you please guide me what is best approach of redirecting to another JSP in Oracle portal
    I tried next_page ad hidden field but then it overwrite the another portlet next_page parameter.
    PLEASE GUIDE ME ASAP

  • Random selections for multiple criteria

    I think the easiest way to explain my question would be to use an example.  Lets say I have 10,000 sales reps and I want a random sampling of 10% of them.  I create a formula {@Random}: Rnd(), use that formula to sort, and suppress the details where recordnumber > 1000.  I got that.
    Now lets say those reps are divided into club levels where there are 500 top performers, 2500 in the next group, and 7000 in the last.
    ( {contact.Club} = A )
    ( {contact.Club} = B)
    ( {contact.Club} = C)
    I only want a random 10% from each category, so 50, 250, and 700 respectively.  Does anyone know how I could get that to work?
    The following thread seems similar but I wasn't able to follow or did something wrong.
    Re: Random and Grouping Problem

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • Random application behaviour for different user IDs

    Hi all,
    We are testing the standard bank application in ESS. We have made some minor field name and help link modifications in the application through NWDS.
    However, the application behaviour is unpredictable. For example, when I log in as user A, i am able to maintain my 'new main bank' and 'new other bank'. Whereas if i log in as user B, i am not able to maintain my 'new other bank' record. i.e. though the 'new other bank' button is active, the system does not take me to the 'edit' page! Similarly, with a few IDs we are able to maintain 3 other bank records, and the records are getting saved correctly in the backend as well. However, for some other IDs
    although we can create the other bank record, the records are not getting displayed in the overview page as well as the backend.
    We are unable to point out the reason for this random behaviour.
    Any pointers to the same will be appreciated.
    TIA.
    Edited by: Diana Menezes on Nov 9, 2009 11:11 AM

    please assign SAP_ALL authorisation and check it

  • Random Behaviour of the Redirect JSP(URGENT)

    I tried to create Oracle PDK java portlet that will have multiple JSP. Which i want to call one after the another in the flow.
    I did created in entry in provider.xml sas follows
    <pageParameterName>rs_next_page</pageParameterName>
    My JSP has sample code as follows
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.url.UrlUtils"
    %>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    <form name="actItem" method="get" ACTION="<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "actItem") %>
    <input type = hidden name = "rs_next_page" value = "/htdocs/editresources/editresourcesEditPage.jsp">
    <input type="submit" value="Submit"/>
    </form>
    But it does not work It does not give error or anything. I have 2 Oracle PDK portlet having same code it works but this does not work.
    Could you please guide me what is best approach of redirecting to another JSP in Oracle portal
    I tried next_page ad hidden field but then it overwrite the another portlet next_page parameter.
    PLEASE GUIDE ME ASAP

    I've seen some weird errors when people mix MyFaces and Sun JAR's together (although I haven't seen this one earlier).
    First try removing the Sun JSF RI JAR's (jsf-api and jsf-impl) and see if it works. If not, then try replacing the h: components by t: components (Tomahawk), that is at least replacing h:dataTable and h:column by t:dataTable and t:column.

  • GR and GR Non Val indicator in R/3 PO for multiple account assigned SC's

    Hi,
    We are on SRM 3.0(EBP 4.0) and R/3 4.7.
    We have implemented the BBP_CREATE_PO_BACK badi for setting or clearing the GR and IR indicators under certian conditions.
    But for Multiple account assigned SC's we get an error message "06181 With non-valuated GR, please also enter GR i ndicator ".
    We have tried implementing note# 872000, but this has not solved the issue.
    The PO's get created only if we force the GR indicator when transferring the data into R/3.
    It seems clear that while creating the PO the system is encountering the GR Non Val indicator but not the GR indicator, so its throwing the error message (we get the same error message when we create the PO from R/3 with GRnon val indicator checked and GR ind unchecked).
    The proposed solution is that in the same BADI, along with clearing the GR indicator, we will also clear the GR non val indicator.
    This can solve the issue if the indicators are transferred as it is from EBP.
    But can anyone tell me if these indicators are also checked/changed in any FM/program in R/3 before the PO is created?
    Is there any customizing setting which is affecting this particular behaviour?
    Regards,
    Srivatsan

    Hi Srivatsan ?
    In ECC, you have a configuration point :
    Materials Management->Account Assignment->Maintain Account Assignment Categories
    Here you can untick the indicator you want by account assignment category;
    Kind regards,
    Yann

  • Firefox has been randomly crashing for two days. I always have google and facebook running. Firefox seems to crash at random times - no specific web page loading. My Firefox is up to date.

    Firefox has been randomly crashing for two days. I always have google and facebook running. Firefox seems to crash at random times - no specific web page loading. My Firefox is up to date.

    There can be multiple reasons for crashing. Seeing this article would be helpful as it lists out the solution for this-
    http://support.mozilla.com/en-US/kb/Firefox%20crashes?s=firefox+crash&as=s#os=win&browser=fx4

  • Multiple JSP's accessing the same thread

    I have multiple users calling multiple JSP's. I also now want to add in a connection pool, which is implemented as a Runnable (It's a thread). However, how do I set it up so that all of the JSP's get a reference to the same connection pool?
    I have done this in a Servlet, where I could have the connection pool constructed in the init() function, and then the Servlet kept a static reference to the pool. Then for each request, I pass the reference to the pool into the service() function of my supporting classes.
    How can I do this in JSP?

    There are few things.......
    I do not know which application server you are using , but almost all competitive application server provide the concept of connection pooling. You do not have to implement connection pooling yourself. And to get a handle to the connection from the pool is through JNDI namespace(as you do for EJB.)
    Now if you still want to do that yourself then, i can propose one way.
    1) Put a instance of the Java class which holds the connection pooling in the application scope.
    ie useBean= Yourclass scope="application"
    2) Now all the JSP's will be able to get to the same object.
    So Look for documentation for putting objects in different scope ie session, application etc.
    Srinivasan Ranganathan

  • Help: 10.0.1 update for multiple languanges is the same file as for Tier 1 languages.

    I'm trying to deploy the 10.0.1 update to my corporation. I need the multiple language update. When I go to the Downloads site for Adobe Reader, the update for multiple languages languages is the exact same file as the update for Tier 1 languages. I've called (yes, and actually held on long enough to speak to someone) twice asking for clarification on the files. The first time I was told this would be escalated to the web team and to call back. Over a week later no change to the files on the download site so I had to call in again and go through the same painful process to get the person on the phone to understand the problem. Has anyone already gone through this and determined whether that update is Tier 1 or multiple languages? Thank you very much.

    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    You need to select an appropriate Patch (Tier1 through Tier4) for the Reader(s) installed on you system(s)

  • Copy function for multiple account assingment (cost distribution)

    Hello,
    We are using multiple account assignment to enter different asset no for each quantity in same line item. Other fields like G/L account remains same.. Is it possinble to copy the value from one asset to all the assets in same line item. The function of copy in clip and inset from clipboard works only for different items not for multiple account assignments...
    In R/3 there is function to copy and paste in case of multiple account assignment but could not find the same in SRM.
    Any solution????
    We are in SRM 4.0...
    Amit

    Hello,
    During PO replication from SRM to R/3, customizing from OME9 is not read and "Partial invoice indicator" is always defaulted to "1" when item has a multiple account assignment.
    This behaviour can be overwritten by implementing:
    - either BBP_PO_INBOUND_BADI for method BBP_MAP_BEFORE_BAPI,
    - or BBP_ECS_PO_OUT_BADI for method BBP_B46B_PO_OUTBOUND.
    So, no need to take care of OME9 customizing.
    Regards.
    Laurent.

  • Object type for multiple/text/unrestricted property

              Hi,
              Does anybody know what's the object type for multiple/text/unrestricted property.
              I tried to use um:setproperty tag to set the value of a multiple/text/unrestricted
              type property in jsp. I got the following error if the object type I use is ArrayList:
              javax.transaction.TransactionRolledbackException: Transaction: '995540362044_8798'
              rolled back due to EJB exception:
              java.rmi.RemoteException: EntityPropertyManagerImpl.insertTypeSpecificValue():
              caught ClassCastException. The reason might be because the type of the passed
              value does not mismatch the property type stored in schema information. Expected
              object type is: 3 and the object type was: java.util.ArrayList
              Does anybody know what's this type 3 object?
              Br,
              -Niyue Chen
              

    Hi All,
    I need to convert the amount value in comma to dot say 1000,00 to 1000.00.Any function module is there to convert it.After converting it i need to pass this value as exporting parameter to a function module having data type as character(lenght 13).
    Thnks
    Deb

  • Get Info..for multiple items where's THaT preference ?

    The 1st few times I'd try to Get Info for multiple items , I'd get one window opened, and could make , say , 12 .aiffs open w/ iTunes rather then QuickTime. [ and even THaT seemed to change at the point of the latest iTunes/QTime upgrades...now QTime Pro is in charge ! ]
    My point is : I like to get that one window for multiples, which used to come randomly, and not 12 seperate windows. Where DoeS one control that ?
    -=TIA=-
    ~~~=Dave

    Actually it's a function not a bug.... If you do GetInfo on more than 10 items it opens a "group" pane, otherwise it opens individual windows. Unless you want to count items the reliable way is to use Show Inspector instead (add the option key). I find Inspector more useful anyway, so changed the Keyboard shortcut to make Inspector the default of Command-I.
    Francine
    Francine
    Schwieder

  • Oracle Portal Virtual Host Enhacement for Multiple Virtual Hosts

    I open the TAR Number: 4326752.996
    The TAR is related to " REQUEST ASSISTANCE FOR MULTIPLE VIRTUAL HOSTS AND MULTIPLE PAGE GROUPS CONFIG. "
    This is the Scenario: We Have Oracle Portal installed in a single Box. yes I know I know... but Not everybody is Yahoo or Google for Clusters and all the good stuff, we just want our website managed by Oracle Portal since all our ERP is running Oracle Database. Anyway. 1 Box running Oracle Portal Infrastructure and MidTier.
    It turns out that our previous configuration we have the LAMP Solution with PHP, Apache with Virtual Servers configuration very trivial for a regular web server however we have about 6 Virtual domains.
    For example:
    www.abc.com
    www.def.com
    www.ghi.com
    www.jkl.com
    www.mno.com
    www.pqr.com
    We also like to post all our Intranet Information in this great Portal:
    http://intranet.com
    Where intranet.com is the same server but setup in our Internal DNS without be a Real Internet Register Domain.
    So bottom line we start doing great with Install our single box install, later [GRRRRRR does not come by default in port 80 GRRRRRR, ok need to move and setup the virtual host to resolve our main External website www.abc.com ]
    For starters ok it worked we have our main website running Oracle Portal.
    Now is time to go to the step number 2.
    Setup another Page Group in Portal to be the Page_Group_INTERNAL.
    I figure if Apache can setup Virtual Hosts pointing to Independent parts of the File System without be shared. I was expecting some kind of custom configuration where I can setup httpd.conf to point to some specific PageGroups to make sure
    www.abc.com => Page_Group_External
    never share information with:
    intranet.com => Page_Gorup_Internal
    My TAR was very quick closed with the Argument that is not what It supposed to do.
    Since a virtual host is a common thing to do on Linux and Apache, I wonder if You guys could list this as one of the default features to have multiple virtual domains assosiated with Page Groups that they never talk or share Resources I think that would be really great.
    In the mean time I guess we have no option but to put a password for every internal page or take the risk of share our Information to the Internet. Perhaps designate another box with Oracle Portal but In that case Is not really cost/bennefit to use a killer technology for our external site since we just have no more than 30 pages.
    Anyway just figure drop you guys a note any advise will be really appreciated.
    Best Regards Dino.

    Hi Martin,
    1. To change the target URL of KM resources you can to the following:
    Access the URL Generation Service Configuration by navigating to:
    System Administration -> System Configuration -> Knowledge Management -> Configuration
    Content Management -> Global Services -> URL Generator Service
    Change the Host property to "portal.company.com".
    2. You change the Port by opening the Visual Administrator and going to : Dispatcher -> Services -> HTTP Provider
    Change there the "Ports" entry from (Port:50000,Type:http)to (Port:80,Type:http). Then go on "Save".
    3. To remove the "/irj" from the portal URL you can create a index.jsp with the following content, and save it in the J2EE Documentation folder:
    <Drive>:\usr\sap\<SAPSID>\JC<J2EE_instance_number>\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root
    <%
    //Send the redirect using server redirection (not client script)
    //This will also send the HTTP GET parameters
    String queryString = request.getQueryString() ;
    if (queryString==null ) {
    response.sendRedirect
    ("irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default") ;
    } else {//redirect with HTTP GET parameters
    response.sendRedirect
    ("irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?" + queryString) ;
    %>
    Hope this helps,
    Robert

  • Multiple JSPs with JSR 168-compliant Java portlet

    Hi,
    I have an application with multiple JSPs that I'm trying to run in a portlet. Looks like a JSR 168 Java Portlet is the best way to do that. I want to avoid using proprietary PDK Portlet route.
    A few questions:
    1. Is there any sample of that available with multiple JSPs?
    2. More specifically, if I have a form element in one jsp, can I specify another JSP in the action element, or do I have to use an actionURL or renderURL?
    3. Also, how can I can debug my Java portlet from JDeveloper?
    Thanks.
    - Anupam

    Hi,<br>
    I'm building a JSR 168 Java portlet. I've been trying to pass params from my JSP using actionURL in my jsp, like so:<br><br>
    <FORM METHOD="POST" ACTION="<portlet:renderURL/>">
    <TABLE BORDER="0" CELLPADDING="4" CELLSPACING="0" BGCOLOR="#eeeeee">
    <TR>
    <TD ALIGN="right">
    <FONT FACE="Arial" SIZE="-1 ">User Name:</FONT>
    </TD>
    <TD>
    <INPUT NAME="userName" SIZE="12" MAXLENGTH="32">
    </TD>
    </TR>
    <TR>
    <TD>
    <INPUT NAME="action" SIZE="12" TYPE="hidden" value="Login">
    </TD>
    </TR>
    </TABLE>
    </FORM>
    <br><br>
    I find that in my processAction, I can see value of "action" parameter but not the value the user enters in the portlet for "userName".<br><br>
    Any idea why? I must be doing sthing wrong, dunno what.<br><br>
    Also, if I use renderURL instead of actionURL, I don't even see "action" getting passed. Is that expected?<br><br>
    Thanks

  • I am writting a test  using a sequencer to test for multiple button click

    I'm using flex sdk 4.1 and have a situation where a  button click is sometimes called twice. I am writting a test for this using a sequencer and it will run for at least one button click, what I am not sure is how to test for multiple click events(which shouldn't happen, but occours randomly in my project)
    package tests.view
        import flash.events.MouseEvent;
        import flexunit.framework.Assert;
        import mx.events.FlexEvent;
        import org.flexunit.async.Async;
        import org.fluint.sequence.SequenceEventDispatcher;
        import org.fluint.sequence.SequenceRunner;
        import org.fluint.sequence.SequenceWaiter;
        import org.fluint.uiImpersonation.UIImpersonator;
        import views.AddComments;
        public class TestAddComments
            private var view:AddComments;
            [Before(async,ui)]
            public function setUp() : void
                view = new AddComments;
                Async.proceedOnEvent( this, view, FlexEvent.CREATION_COMPLETE, 600 );
                UIImpersonator.addChild( view );
            [Test]
            public function testButtonClick():void
                view.addCommentBtn
                var sequence:SequenceRunner = new SequenceRunner( this );
                sequence.addStep( new SequenceEventDispatcher( view.addCommentBtn, new MouseEvent( 'click', true, false ) ) );
                sequence.addStep( new SequenceWaiter( view.addCommentBtn, MouseEvent.CLICK, 100 ) );
                sequence.run();

    The only way you could test for that type of circumstance... one where something may happen... is to do so with a timeout. In other words, you cannot let the test pass simply because the first event occurred.
    Two ways to handle this... with sequences:
    Instead, you write a test that expects 2 clicks. In the assertion handler (which would only be reached if both clicks occur) you would fail the test:
    fail('i shouldnt be here');
    In the Waiter for the 2nd click, you would specify a timeout handler. That timeout handler will get called in the 2nd click does not occur in the specified time... (finding that time is the hard part). The default timeout handler fails the test, however, in your case, your timeout handler would just happily do any assertions needed and move on. A timeout does not necessarily mean failure... in your case, it is correct
    Second choice:
    You could create a timer. Create an event handler for the button click which increments a counter. Start the timer, do your test. However, have your test pending on the timer's completion rather than something like the click.. In that case, you would then be able to just check the count:
    private var clickCount:int = 0;
    [Test]
    public function testButtonClick():void {
         var timer:Timer = new Timer( 100, 1 );
        Async.handleEvent( this, timer, TimerEvent.COMPLETE, checkClickCount );
         view.addCommentBtn.addEventListener( 'click', function( e:Event ):void { clickCount++ } );
         view.addCommentBtn.dispatchEvent( new MouseEvent( 'click;, true, false ) );
    private function checkClickCount( e:Event ):void {
    assertEquals( 1, clickCount );
    However, I can't imagine how the test you are describing could ever yield more than one click event... I am guessing the problem is elsewhere, but this will help you verify
    Mike

Maybe you are looking for

  • IBots: Save report as CSV file on to a disk using iBot

    Hi Experts, The requirement is to configure an iBot, which saves a report as CSV flie at a give address on hard drive (eg: C:\iBots\files\my_report.csv). this file must be updated every week. thanks in advance for ur help, Surya

  • Flash help for replay button

    I have a simple movie that consists of 1 scene with some layers. Each layer contains a movie clip and there's an actions layer with a stop action. All the clips play at once. The clip that contains the ending sequence contains a replay button. The ac

  • Help: External SATA with ZFS raidz2 extremely slow, freezes system

    Hello, I need some help with the following configuration: Dell 850 with Intel D940 (3.2 ghz dual core), 1 gig RAM, 2 80 gig SATA drives Norco DS-1220 external SATA enclosure (http://www.norcotek.com/item_detail.php?categoryid=12&modelno=ds1220) Sil31

  • Fixed..Variable..in xml

    Dear All, Can anyone have idea on how to fix the field in xml (like fixed,variable and expand in report builder).... if anyone have idea..plz reply me ASAP... Regards Subbu..

  • Audio breaks and choppy at regular intervals. Vide...

    From the last 2 week my skype audio breaks at regular intervals. (15 to 20 seconds each). The video freezes as well. It happens for echo test calls as well. I tried it on my windows desktop pc which is direclty connected to the home router and still