JSP Portlet posting information to another JSP

Hi,
I have a JSP portlet that needs to submit form information to another JSP that is not a portlet.
I'm not sure how to do this. The parameter passing examples pass information from one JSP portlet to another JSP portlet. I want to pass information from a JSP portlet to another JSP which is not a portlet.
Do I use:
<form name="parameters" method="POST" action="<%= HttpPortletRendererUtil.htmlFormActionLink(request,PortletRendererUtil.PAGE_LINK) %>" >
<%= HttpPortletRendererUtil.htmlFormHiddenFields(request,PortletRendererUtil.PAGE_LINK) %>
If so, what does the PAGE_LINK stand for? How do I tell it the name of the JSP that I want it to submit to?
Is there something else I need to be using?
Thanks....JS

I try to answer your questions inline.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Julie Steele ():
Thanks for the info but....
Let me add more information....
We have 2 JSPs, the first being a form input JSP that I have made into a portlet. We want to submit the information from this form to another JSP that will do the insert into the database and return a insert successful message. We want that message to be returned to the form input portlet and displayed in that portlet. We can't pass parameters in the url because it would be way too long.
<HR></BLOCKQUOTE>
As I see in your first message you're using POST method for submitting the form. If so, you don't have to worry about the length of the parameters, as far as I remember there are no limits.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Do I need to make the receiving JSP a portlet also and will that work since it is only showing the results of a post?
<HR></BLOCKQUOTE>
You don't need to portletize it just because of technical reasons; but you may portletize if you're having concerns that the navigation leads out of the portal.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
How can we accomplish this? Do you have an example? I really do want to know what the PAGE_LINK stands for and how it's used?<HR></BLOCKQUOTE>
There is a parameter passing example and an article "Understanding the Parameter Passing JSP Sample" at http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.parameter.passing.html .
Do you have any other example in mind you're looking for?
As far as I understand the key is how you navigate back from your standalone JSP to portal. Do you have a submit button there? Or do you want to redirect the browser after a given interval?
You may also want to have a look at the multipage example portlet in the PDK that demonstrates how you can display multiple JSPs in the same portlet.
Regards,
Peter

Similar Messages

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Copy list column information to another list

    Hi Friends,
    I have ListA with columnA and ListB with columnB
    I would like to create a workflow that will copy columnA data to columnB of ListB. Please suggest how I can do it

    Hi,
    According to your post, my understanding is that you wanted to copy list column information to another list.
    You can use the out of the box actions to accomplish this with SharePoint.
    If you only want to copy column information to another list, you can use the “Update List Item” action. In the action, you can get the current item value and set the value to another list item.
    If you can to copy list item to another list, you can use the “Create List Item” action and select the other list.
    If you want to delete the current list item, you can use the “Delete Item” action.
    More information:
    Workflow actions quick reference (SharePoint 2013 Workflow platform)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Click on link in one portlet and open in another portlet

    how do you click on link in one portlet and open in another portlet?

    Hrmm... This is a IBM Question..
    Officially this is a meaningless buzzword promoted by IBM. Portals are some sort of Servlet but IBM incapable of explaining how they differ from ordinary Servlets. Some speculate they are used to present a webpage with many services on it such as a search engine, and news that come from diverse sources. The user is able to dynamically configure the contents and layout of the page much like Netscape home pages
    I don't understand what yhour asking..
    I am assuming you want to call another servlet (portlet)? That would be absurd to do .. You let the HTTP request and XML file to deal with the response of the portlet

  • Where is Posting Information From E recruiting Stored in SAP

    Hi All,
    I need to know where in R-3 the Posting information from E recruitment is stored.I have checked the following infotypes
    Posting Information (Infotype 5121)
    Posting Instance (Infotype 5122)
    but they do not store the posting info.
    I need to know the datbase for E recruitment.
    Any help is greatly appreciated
    Thanks and best regards
    Rajeev

    Hi,
    Have you checked infotypes 5102,5103...?5141?
    Check for tables starting with  hrp5*.
    Regards,
    Manoj.

  • How to post back to another view or skip restore view phase?

    Hi, I have a small application with a template used by every page. In this template there is a button to logout as shown below
    <h:form id="logoutForm" prependId="false">
       <h:commandButton id="logoutButton" action="#{loginBean.logout}" value="logout"/>
    </h:form>It works, but has the undesirable side effect of first triggering processing included in the constructor of other backing beans used in the page. This is because JSF first restore view of the page, and in doing that it instantiates every bean used in the view. Then after restoring the view it calls the method logout in the loginBean.
    I wanted a way to change the action of that logoutForm, but it seems it is impossible in JSF.
    Is there anything I can do to post back to another view, skipping unecessary processing that occurs in the restore view phase of the view that includes the template with the logout form?
    Thanks

    JSF is a stateful API - the stateful part is the building of the component tree server side. To be able to do this, the backing beans need to be invoked.
    So no, it is not possible to do this and keep JSF in the loop; if you really must bypass the creation of the beans, make sure the JSF servlet isn't invoked (for example, use a plain old servlet).

  • Retriving Portlet preference information using a custom tag

    Hi ,
    I am trying to create a custom tag which will be used to retrieve portlet prefrence information (administrative pref, community pref, user pref etc.).
    In the displayTag method i am not able to create the Portlet request object.
    I am getting the IEnvironment reference by calling the method GetEnvironment().
    IEnvironment has methods called currentHTTPRequest() and currentHTTPResponse() which returns IXPRequest and IXPResponse object,
    But to create a portlet context I need HTTPRequest and HTTPresponse.
    If some one is aware of any other method for creating the portlet context from IXPRequest and IXPResponse object. please share as it will be of great help.
    Thanks in advance!!

    Thanks for reply!
    Actualy I am trying to retrieve the Prefernces ( Community Preference, User Preference, Administrative Preference ) values in a custom Tag.
    But I did not find any way in native APIs to retrieve the preferences.
    So I was wondering if somehow I can established a remote session using IDK to retrieve the same.

  • If I sync and install my information in another iphone can I still use both phones

    I am syncing my iphone and want to transferr my information to another iphone can I use both iphones?

    Yes

  • Visitors Editing and Deleting their Posted Information

    Visitors to my website will be able to post information and upload photos.  At the same time I would like for them to be able to delete or edit their information.  Does anyone know how I would do this?
    Thank you.

    Sorry for being so vague.  My website is go to function very similar to Craigslist.  So I want visitors to be able to log in and edit or delete their postings.  I'm not sure where to start.  I would like for visitors to sign in and see their postings so that they can edit and/or delete them.  I'm not sure where to start.  Do I have to create an edit/delete page? I used a tutorial before that taught me how to create a delete page but it was for administrators. http://www.adobe.com/devnet-archive/archive/dreamweaver/cs4/first_dynamic_site_pt3_05.html Would I follow this to allow visitors to edit/delete their posts?  If so, how do I modify this so that they can edit/delete their posts only?

  • No posting information for depreciation are 30 US GAAP

    Dear expert:
    We use parallel accounting with account-base solution(specific accounts + common accounts) for local and US GAAP,our system key configure as following:
    OADB:define depreciation area
    Area. Name of area Real g/l
    01 Book depreciation ticked 1
    30(Copy 01) US GAAP depreciation ticked 4
    FS00:Create G/L accounts according to AO90,One accounts group set of local FA default accounts,another accounts group set of FA for US GAAP which start with "U" .
    AO90: define G/L for depreciation area 01 and 30 seperately with different accounts group set of FA.
    finanly use f-90/AFAB/ABAVN.. to post, FI document only has the local FA g/l accounts of depreciation area 01, No information about the US GAAP FA G/L accounts of depreciation area 30.
    Please help me out ,thanks.
    Best regards

    Hello John
         The indicator of Post to G/L account of depreciation area 30 is "4 area posts APC directly and depreciation",here is APC directly,maybe it shouldn't need to run ASKB,
         If the indicator of Post to G/L account is "2 APC and depreciation area on periodic basis**" it should need to run ASKB.
         I do not quite understand the function ASKB, and system returns error when I run ASKB as you said:
    Error 1
    Account F21100001 in company code 1000 cannot be directly posted to
    Message no. F5354
    Diagnosis
    Account "F21100001" in company code "1000" is marked as a reconciliation account for account type "A" and cannot therefore be directly posted to.
    System Response
    Error
    Procedure
    Select a different account.
    AFAB depreciation can gerenate FI documents correctly with Accumulate depreciation account being recon. account, why cannot be recon. accounts here??
    Error 2
    Account 'Capital. difference/Non-operatng expense' could not be found for area 60
    Message no. AU133
    Diagnosis
    When creating the accounting document, the system could not find account 'Capital. difference/Non-operatng expense' in depreciation area 60 for company code 1000.
    Procedure
    Enter this account in the account determination for Asset Accounting.
    Edited by: Jason0901 on Aug 3, 2011 4:55 AM

  • PLSQL portlet Post problem...Help

    Hi,
    I have a plsql portlet. I am displaying a form using the the builtin's htp and owa. I have now to post the form(call another procedure within the same package), I am unable to get the right URL. How do I get the correct portlet URL? I have tried using the portlet_runtime_record, but no success. If someone has faced the same issue, I could use their help
    Thanks in advance
    Sam

    Sam,
    Make sure the portlet package is public.
    i.e. grant execute on abc_portlet_pkg to public;
    Then your FORM tag should look like this:
    htp.p('<form name="MyForm" '||
    'method="post" '||
    'action="schema.abc_portlet_pkg.post_data">');
    Best to put your post routine (i.e. "post_data") in the same package (i.e. "abc_portlet_pkg") as your portlet code.
    Then, in the "post_data" routine, make a call to your api package to do dml operation and at the end do this:
    owa_util.redirect_url(p_page_url);
    Note:
    p_page_url should be passed as a HIDDEN field after the FORM tag.
    i.e.
    htp.p('<input type="hidden" '||
    'name="p_page_url" '||
    'value="'||p_portlet_record.page_url||'">');
    I personally do not like to use anything in the web toolkit except "htp.p" but that is a matter of preference.
    Hope this helps.
    Eric

  • Receiving forwarded form information for another c...

    Bizarrely I have received an email which appears to be a copy of the form filled in from another BT client.  It includes a document attachment which has my correct name, but all the information on the form is for another customer.
    I have *no* idea whether this is a mistake, spam, a computer glitch....

    This sounds rather naughty!
    I suggest that you send an email to [email protected]
    They'll need your name, forum username, account number and a link to this thread
    (Might be worth copying the content of the email sent to you as BT shouldn't be sending another customers details out to you. Also I'd be asking if this other customer has your details)
    Post back with any news
    -+-No longer a forum member-+-

  • How do I stop my Macbook Air from transferring your information from another computer?

    Just purchased my Macbook Air. When I started it up, it asked if I wanted to tranfer information from my other computer. the first thing it started to download was the music and it suddenly froze when it had a 1hr and 46 mins left and now I can escape out of it. It is the only thing that is on my screen. I ended the transfer on my PC but it wont clear out on my Macbook Air. Is there a way to restart the computer so it will retry the tranfer without the music?

    Welcome to Apple Support Communities
    Hold the Power button until the Mac turns off, and turn it on again.
    Instead of transferring your files from another computer through the network, copy your data from your old PC or Mac to an external drive, connect the external drive to your MacBook Air and transfer your files

  • Change the Post Moved to another Forum procedure

    When a post gets moved to another forum, and you click on the green-arrow Moved: it shows you a new screen with the new link, and info where it is moved to.
    See here and here
    Could that be changed in such a way, that when you click on the Moved: it takes you direct to that post in the new forum, without the in-between message?
    Message Edited by RealBlackStuff on 12-22-2007 10:01 AM

    I wonder if it would do what you're asking if we didn't put anything in the comment box?  I'll try that.
    I had been leaving a placeholder and filling in that comment in for now just to reinforce the idea that people should watch where they're posting in the first place.  I wasn't planning to keep doing that once things are firmly established here, and we don't leave a trail of breadcrumbs at TPF any more when we move something.  It's just clutter.
    OK, I tried not putting a comment in, and it didn't change anything.  I did find out that I can delete the placeholder, though, without deleting the moved thread.  In phpBB, deleting the placeholder dumps the whole thread.  I think that's an improvement from Lithium over phpBB.
    Message Edited by nonny on 12-22-2007 11:01 AM
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество
    Jane
    2015 X1 Carbon, ThinkPad Slate, T410s, X301, X200 Tablet, T60p, HP TouchPad, iPad Air 2, iPhone 5S, IdeaTab A2107A, Yoga Tablet, Yoga 3 Pro
    I am not a Lenovo Employee.
    I AM one of those crazy ThinkPad zealots!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!

  • Html Portlet links displaying in another portlet on the same page

    I have seen similar posts but no detailed explaination of how this is done.
    I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html portlet to the inline rendering portlet?
    Thanks,
    Robyn

    If your environment is fairly static, you can handle this easily.
    The link in your HTML portlet must refer to the page URL of the portal page on which the HTML portlet resides (which changes from portal page to portal page), to which you need to append the parameter that your "inline" portlet (under which I'm not sure what you mean) reads:
    <a href="http://<portal_page_url>&my_param=value">click here</a>Is this close to what you're willing to do?

Maybe you are looking for

  • Adobe Acrobat 5.0~

    My boss gave me his copy of Adobe Acrobat 5.0~How do I get it to update all of the possibles?

  • No answers to my questions ??

    I posted a message for help a few days ago. I see that it has been viewed several times but no replies. Doesn't anyone know anything about fixing these problem(s) ??

  • Blank screen everytime I log in

    Hi there, this just started this morning when I fired up my laptop after it had been shut down for the night I entered my password and it just goes to a blanks screen. The background LED light comes on but thats it. I've tried restarting and putting

  • Wp admin not reachable by firefox

    Hi there, In the last few weeks I can't access my wp-admin page using Firefox 30 and 32 in desktop version (mobile browsers goes right) . I receive the massage "The connection was reset" So far I've done: -Deleted cookies and cache -Erase history -De

  • OIM : Email Definition through API

    Hello Experts, Is is possible to create Email Definition using OIM API? Thanks and Regards INIYAA