How to form a URL dynamically in my portlet

hi all,
i have a requirement in weblogic portal 10.2,how do i form my URL dyncamically in my portlet which is as below
I have a requirement to dynamically form my URL. Further suppose I have a left navigation portlet which has 3 links and right navigation portlet should show the content for the respective links clicked on left navigation portlet.so in this scenario I need to dynamically create my url which I need to display on the right hand side portlet
Dynamic access to portlet B
Portlet A ------------------------------------------> Portlet B
The Url which has to be displayed on portlet B has to created dynamically in my portlet A,
i.e portlet A should dynamically access portlet B and the page of Portlet B which has to be displayed and create the URL,Once the URL is formed I should be able to access portlet B,
Portlet A ---> access Portlet B context ---> get portlet B context ----> get Portlet B output jsp page and hence form the url
Portlet A = (Portlet B context) + (get Portlet B output jsp page)
= Well formed URL of output jsp page which is in the right hand portlet B
If u have the source code pertaining to above/material.please share it with me.
Thanks
Deepak
Edited by deepakl_2000 at 05/17/2008 1:20 AM

hi [email protected]
tell me my friend .. how can i extend
the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
Thanx a lot for your cooperation .
Ali
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
Regards
Grant Ronald<HR></BLOCKQUOTE>
null

Similar Messages

  • How to get Page URL inside a JSR168 Portlet

    Hi,
    How can i get the Portal's page URL inside a JSR168 Portlet?
    All I can see in renderRequest Object is information about the portlet itself not about the page it is inside.
    Thanks,
    André

    Hi Andre
    Please see this note on My Oracle Support. 433507.1
    Hope that helps!
    AMN

  • How to set target Url dynamically in submit button

    hi,
    I am using livecycle process to render a pdf form. The form has a submit button. Is it possible to set URL of submit button dynamically in a form? If yes how can i pass the target URL from process, dynamically while rendering the form? Can someone help me in this.
    Thanks,
    kripa

    Hi,
    Go to Tools > Embedded OC4J Server Preferences... > Global > Startup.
    Look for the options in "Host Name or IP Address Used to Refer to Embedded OC4J".
    William

  • How to form URL

    Hello All,
    I have created a Web Dynpro Application. (using WD-ABAP).
    Now i ahve to provide the URL of this application to call the component from other application with in same system.
    how to form the url of the application.
    when i trnsport the application to other server(for eg: to Q ), URL will change.
    the path given in help.sap.com is
    <schema>://<host>.<domain>.<extension>:<port>/sap/bc/webdynpro/<namespace>/<application name>?<parameter name>=<parameter value>
    here how can i get <host>.<domain>.<extension>:<port>    ?
    Thanks in advace.
    Best Regards,
    Amarender Reddy B

    Hi,
    For a WD Application :<schema>://<host>.<domain>.<extension>:<port> has to maintained in the customizing, as they are set to be changed whenever the application is run from a different system.
    You have to read the customizing everytime and then concatenate.
    Cheers.
    Ashish.

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • How to find public url of a published site on the delivery system?

    Hi,
    I installed delivery system of webcenter sites 11gR1 and i published one site using "realtime publising method".
    now how to form the url of a published site in delivery system.
    could some body help me to find find the url.
    Thank you,
    Rajendar.

    you can get the page url as Mahalwar says..
    if you want to access your page through a friendly url, consider used assember url
    you might find helpful info in the developer's guide:
    Appendix B
    WebCenter Sites URL Assemblers.
    Edited by: QfLee on 2013-3-28 上午7:33

  • Appending param value to the netui:form action URL

    Hi there,
    I have got very simple problem.
    I want to add 'dummyParam=dummyVaule' as a query string to the 'URL' whenever
    NETUI form data is posted using submit button.
    I have tried <netui:parameter> but it did not work.
    I have the following snippet of code
    <netui:from action="updateDetails">
    <netui:imagebutton value="submit" >
    </netui:imageButton>
    </netui:form>
    Thanks for your help
    Regards
    Charan

    Hello Jonathan,
    How are you generating the form action URL for the Struts portlet now? You should be able to include any parameters you want in the URL at that time.
    Kevin

  • How to assign a URL in the Tabular Form

    Hi,
    I am using the htmldb.item api's to create manually,the Tabular form. I have got a column in the database(View) like
    ''||substr(DESCRIPTION,1,30)||decode(substr(DESCRIPTION,30,1),null,null,'...')||'' DESCRIPTION,
    which displays as a URL and when the user clicks this URL, the page will have a popup page(in this case it is redirected to page 52).
    My probelm is , if I use wwv_flow_item.display_and_save for this column, I dont see the URL, but it displays the above entire string (along with the HTML tags).
    If I do not use wwv_flow_item.display_and_save, I can not use this item in the COllections as I am using the some validations to display an Error message (Inline with field and in Notification)
    I cannot display the Validation error in the - On Error Page as I should prevent the user to use the browser buttons
    Please let me know how to display the URL and to have this information in the Collection
    TIA
    Ravi

    Ravi,
    Can you fetch the column twice, once into a non-escaped display type that does not generate a form item and again into a hidden item for your collection?
    Scott

  • How do I find a form's URL?

    I have ten forms that we would like to distribute to 3000 employees.  We would like to publish the link to the forms instead of e-mailing the forms directly. How do we find the URL for our forms?
    Thank you!

    go into the form and under the distribute tab, you will find the form specific URL.

  • How to debug a form module (Oracle 11G Forms) through URL

    How to debug a form module (Oracle 11G Forms) through URL.
    My server OS is Unix. So i could not able to do the Debug Forms from the Form Developer.
    It is displaying a message that "Cannot find the module". Becuase the system is trying find out the module in Unix system instead of ma local system(Windows).
    I need to debug ma module through URL.
    I can place the fmb and fmx in predefined form path in Server.
    Please help me out to solve this issue..

    This is a little unclear. If your goal is to use the Forms Builder Debugger while running your form on a Unix machine, this can be done. However, the form must first be in running order. So before trying to attach the debugger you must first be able to start it without the debugger. For example:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX
    Once this is properly running you can turn on debugging. If your form won't even start, then using the Debugger isn't going to help you because it is designed to troubleshoot coding problems and not configuration problems.
    So, do this to use the Debugger:
    http://yourServer:OHS_port_number/forms/frmservlet?form=yourFMX&debug=yes
    This will display a dialog box with some information. Do not click on OK yet as you will need this information to enter into the Forms Builder. Now, open the Forms Builder and click on Debug > Attach Debug. You will be asked for the information displayed in the dialog where you attempted to start the form. Enter it here (in the Builder) then click on ok in both places. To display the Debugger (in the Builder), click on Debug > Debug Console. Then from its toolbar click on the buttons related to what you want to monitor. Including a break point in your application code is often a more helpful way to use the debugger.
    Most of this information is explained in the Forms Builder Online Help
    Forgot to mention...
    To debug runtime issues, refer to the Forms Deployment Guide here (this assumes you are using 11.1.2):
    http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/appa.htm
    Edited by: Michael Ferrante (Oracle) on Feb 21, 2013 1:45 PM

  • How to insert a page dynamically into a form

    Good Morning,
    We've used LiveCycle to create a very intricate work order for our service company. Although most work orders we create don't need additional documents (aside from the form itself), some do. For example, we may want to add a PDF coversheet to work orders for certain commercial accounts that have special billing instructions. At this time we will add pages to an existing work order through the following process:
    Enter all data into the LiveCycle form
    Print the form to PDF and save
    Use the "Insert Page" feature to add the necessary page (these pages are templated for continuous use)
    Resave the document
    My goal is to find a solution that would allow the user to dynamically select/add the necessary pages to the work order during step one (entering data into the form). Then, when we print the work order to PDF the printed copy would include both the work order and whatever page was added. I hope my explanation makes sense. Is this possible in LiveCycle?

    If your form is a dynamic PDF then adding or removing pages is not going to happen within Adobe Acrobat Pro or Reader. I am pretty sure you can only modify the layout of an XFA Livecycle PDF within Livecycle. However what I have done in the past is add in the necessary pages that a user may want, hide the pages from the layout and then with a button click or some other type of control, show the pages. Hope I am understanding you right.

  • How to add Friendly URLs in Weblogic Portal?

    Hi,
    We are developing a portal using Weblogic 10gR3. Right now the URL's that are getting formed are very long which includes the nfpb, nfls, pagelabel e.t.c. The requirement is to have a very user friendly url something like http://www.x.com/portal/<<pageLabel>>
    The Weblogic documentation mentions something about URL compression, however unable to apply it for dynamic URL's. We have URL's which are formed on the fly from the WLP Content Repository
    Is there some kind of servlet / filter provided within WLP. I read somewhere about an URLTransformationServlet. But there was no documentation on its usage. Can some one share a sample code snippet with me. That would be really really helpful, as we are having a slight time crunch here.
    Any kind of help on this will be deeply appreciated. Thanks
    Thanks and Regards,
    Lilly

    Dear Team,
    Please help us in Change Portal Url . Please find below details and help us asap.
    Regards
    Radhakrishna
    Generic Note
    I understand [email protected] looks after your account and he should be able to assist you in this matter.
    You could possibly post your question to the oracle forums, like below
    How to add Friendly URLs in Weblogic Portal?
    [email protected] - November 1, 2010 7:05:03 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please let us know how to contact the assigned oracle account manager to engage someone from the professional services team.
    Please update us asap.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 5:28:59 PM GMT+05:30 [Information]
    Generic Note
    I would suggest you contact the assigned oracle account manager to engage someone from the professional services team.
    [email protected] - November 1, 2010 4:55:25 PM GMT+05:30 [Update from Customer]
    Dear Team,
    How to engage oracle professional services to team to get assistance.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 1:48:49 PM GMT+05:30 [Information]
    Generic Note
    As mentioned earlier, changes to the portal url is not provided out of box, the documentation link that I provided mentions a possible way of achieving this by creating a start up servlet, this may or may-not work in all circumstances. If the suggestions provided so far has not helped you so far, I would recommend you engage oracle professional services team to get assistance.
    [email protected] - November 1, 2010 1:36:12 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please find below comments from Dev team.
    While try to incorporate the URL navigation changes at
    our development environment we are getting exception Unable to render /framework/skeletons/bharti_skeleton/singlelevelmenu.jsp .
    I have also checked feasibility for the URL navigation changes provided and will not work for left menu
    and footer URL because while rendering these URL we are not using single level menu jsp or multilevel menu jsp.
    Please check with these comments and update ASAP.
    Regards
    Radhakrishna
    [email protected] - October 28, 2010 7:56:02 PM GMT+05:30 [Update from Customer]
    Hi,
    regarding making changes to the url meets ,we are working on the document which you have provided.we will update with result onc it get finished.
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 7:06:32 PM GMT+05:30 [Information]
    Generic Note
    Since your question about Rich Text support in CMS is not related to portal urls, I would request you raise this as a separate issue.
    In the new SR, please elaborate what you mean by the Rich Text support, whats your proposed use case, whats working and what is not.
    Could you also confirm if the further information I have provided regarding making changes to the url meets your requirement.
    [email protected] - October 28, 2010 7:04:48 PM GMT+05:30 [Update from Customer]
    CMS----Content Management System
    Rich contents are : Media files, Vedios, Movies... etc.
    [email protected] - October 28, 2010 6:58:46 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please clarify the below point also.
    "Please confirm whether CMS support Rich Text in weblogic , currently we have the weblogic version 9.2 . Plz confirm whether it will support or not."
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 5:41:53 PM GMT+05:30 [Information]
    Generic Note
    The following documentation http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/url/simplify.html tells how you can achieve the simple urls you are looking for.
    Could you let me know if this meets your requirement.
    [email protected] - October 28, 2010 12:07:05 PM GMT+05:30 [Reopen Request]
    Hi,
    Please clarify why it is not possible to remove nfpb parameter.
    Call Me on +91 9686971269 ASAP.
    Oracle Support - September 29, 2010 5:39:48 PM GMT+05:30 [ODM Answer]
    === ODM Answer ===
    weblogic portal does not provide any out of the box way to achieve this functionality
    Oracle Support - September 29, 2010 5:39:15 PM GMT+05:30 [ODM Question]
    === ODM Question ===
    need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Oracle Support - September 25, 2010 4:42:01 PM GMT+05:30 [Information]
    Generic Note
    WLProxy configuration falls under the weblogic server product hence you will have to raise an SR with that product to get any suggestions.
    Before that I would suggest you play around with the parameter I have suggested and see how it is impacting the url and then if there is any specific area you are stuck on check with the WLS team.
    Like I mentioned earlier, I do not know if this will completely meet your business requirement, but something you can look into.
    [email protected] - September 25, 2010 4:32:00 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please brief us what all are the changes needs to be done to meet our below requirement.
    Regards,
    Eranna D.
    +91 9686971269
    Oracle Support - September 24, 2010 9:00:57 PM GMT+05:30 [Information]
    Generic Note
    URLCompression servlet is the only option that weblogic portal provides out of the box to compress the URL of WLP. I understand this does not suite your requirement.
    The other option I can think of that can possibly help you achieve this is to configure any weblogic proxy plugin that you might be making use of, see the document
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/plugins/plugin_params.html#wp1143055 look for PathTrim, PathPrepend
    [email protected] - September 24, 2010 5:41:39 PM GMT+05:30 [Update from Customer]
    Hi,
    Please call me on +91 9686971269 ASAP.
    Regards,
    Eranna D
    [email protected] - September 24, 2010 5:41:22 PM GMT+05:30 [Update from Customer]
    Hi,
    Even thogh after implementing the below changes,still we are not able to get the result. " nfpb parameter is still existing in URL ".
    Implementing URL Compression :
    To configure a webapp to use url compression, follow these steps:
    1. Define the compression servlet in web.xml; for example
    <servlet>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <servlet-class>com.bea.portlet.compression.UrlCompressionServlet
    </servlet-class>
    <init-param>
    <param-name>defaultPage</param-name>
    <param-value>/index.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>errorPage</param-name>
    <param-value>/errors/error.jsp</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    2. Map the compression pattern; for example:
    <servlet-mapping>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <url-pattern>wlp.c</url-pattern>
    </servlet-mapping>
    3. Add the token {url:compression} to the templates for which you want to apply compression.
    Please suggest on this ASAP.
    Regards,
    Eranna D.
    [email protected] - September 24, 2010 5:27:58 PM GMT+05:30 [Customer Problem Description]
    Problem Description: We need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Pls suggest on this.
    Regards,
    Eranna D.

  • How to create Personalized urls

    how to create personalized urls like firstname.lastname.abc.com with out making any individual sub-domain records in DNS

    Hey Ben,
    Yes it is possible to create dynamic URL's.
    1. Simply select the link from the table like so.
    SELECT PK_ID,
           NAME,
           LINK
      FROM IMAGE_INFO2. Edit the region and go to report attributes.
    3. Click the pencil to edit the link column.
    4. Scroll down to the column link section and enter something like 'View' as the link text. You can change that to whatever you like.
    5. Change the target form page in application to url.
    6 In the URL text object enter *#LINK#*. This will substitute #LINK# for the value that is returned by the sql statement in the LINK column.
    Seeing how you are linking to an image you could just do something like this:
    SELECT PK_ID,
           NAME,
           '<img class="mug_shot" src="' || LINK ||'" title="'|| NAME ||'" alt="'||NAME ||'" />' IMAGE,
      FROM IMAGE_INFOThis will generate an image tag and show the image inline with the record. Since this species a class you could use CSS in your header section to format the image to a standard size. Something like:
    <style type="text/css">
    .mug_shot{
       width:200px;
       height:200px;
    </style>Good Luck,
    Tyson
    Edited by: Tyson Jouglet on Jan 12, 2009 4:13 PM

  • How to add a frame dynamically in a jsp page.

    Hai all,
    In my application, in a particular jsp page i had the 3 links namely add.edit and delete. When click on add button, it is pointing to another jsp page where i can enter user details. But what i want now is when i click add button, the form in which we fill the user details should be added to the current page itself dynamically i.e., it should not go to another page when i click add button and that form should be displayed in the current page in a new frame dynamically.
    The same should happen when i click n edit or delete options. everything should be diaplayed in the same page in different frames.
    Can anyone suggest me about how to add a frame dynamically.

    You create a frameset with two frames. One frame you give 100% of the rows and run the JSP in this frame. The other frame you give 0% of the row so that it is hidden. In the JSP you use a JavaScript funtion to submit the form. This function will call the parent frameset to reset the row values to 50%/50% which will make the bottom frame visible and then submit the form request with the bottom frame as teh target.
    It is not so much as creating frames as using JavaScript to hide and display frames.

  • How to change the url of "Add New Item" of a particular list in SharePoint 2013???

    Hi Guys,
    How to change the url of "Add New Item" of a particular list in SharePoint 2013???
    I need to redirect it into the page where I have created my Visual web part.
    Please suggest
    Warm Regards,
    Tony Joy

    Hi,
         There are multiple ways to change the form url like javascript, SharePoint designer, custom code, editing default form to have custom web part etc, Please follow the url below that describe diffent methods and steps
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec2769a0-683c-4023-8804-b596e4f92a3a/change-default-forms-on-custom-list?forum=sharepointcustomizationlegacy
    Hope it helps!!!
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

Maybe you are looking for

  • Sap R/3 4.6c and BW 3.0b installation snapshot steps both on one laptop

    hi gurus, i want to install R/3 4.6c and BW 3.0b on to my laptop my laptop configuration is 2bg RAM 120 HDD Intel centrino Duo mobile 1.66ghz processor i also need the connectivity steps to be working between R/3 and BW for me to extract data from R/

  • Cannot center bg-image in Firefox HELP!!!!!

    Hi all, I need to center the background image here below. it works fine in chrome and IE, not firefox. Any help would appreciated thanks! Here's the code: body { background-image: url(bgx.png); alignment:L center; background-repeat: no-repeat; backgr

  • Isuue with GUI_UPLOAD

    hi, Iam uploading the data using GUI_UPLOAD the file type im using is .CSV type and is having more than 255 char per record /row and hence all the data is not being uploaded .... any advise on the same to get all the data in the file into internal ta

  • Trouble with external speakers

    I have a set of Altec Lansing 2.1 speakers hooked up to my Air. While i'm doing normal things (surfing the web, ichat etc), the speakers make this weird 'pop' sound every few seconds. if i'm listening to itunes, or doing anything else involving sound

  • HT1414 ipad is completely black. Cannot turn on.

    My iPad is completely dead. It was charging overnight, then tried to use it today and would not turn on.