Returning to different community pages from remote portlet

Hi,
I'm trying to determine the options available if we'd like to a remote portlet on one community page to return to a different page within the community on post back. We're able to dynamically build out a redirect string using parts of the request's hostpage properties, but we know that the page id of the community will probably change between different environments (dev/staging/live). I understand that pages don't have UUIDs so that's out.I'm sure there are some kludgey workarounds like keeping track of the different pageIDs as preferences or an external file, but we'd like to do this the "right" way if possible so we don't have to separately maintain that info.
Any help is appreciated, thanks!

hi,
i don't think producer can access consumer's backing contexts.
but you can use backing files on the proxy portlets and retrieve desktop, page names in the backing file and pass the data to producer using custom data transfer technique. For further info, pl. refer to the below link.
http://edocs.bea.com/wlp/docs81/wsrp/custxfer.html
-sampath

Similar Messages

  • Using different namespaces in ALUI remote portlets

    I'm trying to incorporate AJAX technology into our ALUI remote portlets. I'm using Backbase tools to try to do this. However, these Backbase tools have their own namespace defined for their custom tags. When I try to access the remote portlet, I get 'unrecognized namespace prefix' errors in PTSpy. Is there something special I need to do to get ALUI to recognize different namespaces? I have the following line in my remote portlet:
    <pt:namespace pt:token="$PORTLET_ID$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    Do I need to do something with this line to use different namespaces?

    I was able to get basic Backbase functionality running inside of ALUI. Since Backbase is booted from the onload method of the body tag, I had to create a Javascript method and call window.onLoad on that method to get Backbase to boot (it wouldn't recognize the onload method in my remote portlet).
    Also, since I'm using remote portlets, I had to gateway the calls to Backbase using the Remote Portlet's Web Service settings.
    In case anyone is interested, my remote portlet looks like this (where the server listening on port 7001 is the gateway server, and the server listening on port 7021 is the server running Backbase):
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <pt:namespace pt:token="$$PORTLET_ID$$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    <style type="text/css"> #pt-portlet-$$PORTLET_ID$$ {border: solid 0px;}</style>
    <script type="text/javascript" src="http://localhost:7001/portal/server.pt/gateway/PTARGS_0_0_299_209_0_43/http%3B/localhost%3B7021/Backbase/3_1_6/bpc/boot.js"></script>
    <script language="javascript">
    function runBPC()
              bpc.boot("<pt:url pt:href='http://localhost:7021/Backbase/3_1_6' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>");
    window.onload=runBPC;
    </script>
    <div
    xmlns:b="http://www.backbase.com/b"
    xmlns:s="http://www.backbase.com/s"
    >
              <xmp b:backbase="true">
              <b:button>test</b:button>
              </xmp>
    </div>

  • Any way to return to the calling page from the User Profile Editor page?

    I built a url to the User Profile Editor page, and upon playing around with some of the parameters in the url itself, I have the Editor page returning to My Page (home page) for the logged in user. I would like to get it to return to the calling page, which is not necessarily a My Page. It might be a Community page. I'm not quite sure what the Editor Type value is and if it is even relevant. (it is hard-coded right now, and I've tried changing it to several values). Here is the url string:
    http://awg1/portal/server.pt?open=space&name=UserProfileEditor&psname=OpenerPageID=253&cached=false&in_hi_userid=257&control=EditorStart&editorType=10. It would be really nice to be able to open the editor with a tag!

    You can use a table
    This was answered in the Numbers forum by someone else so cant take any credit.
    Put "1" in first cell
    put 2 in cell below
    Select both cells and hover mouse over botton right hand corner ( you should get a cross) click and drag down and sequential numbers will fill into the blank cells - and over the page if you wish.
    Is that what you are after?
    Or you can always use a numbered list but that would be by paragraph not line.
    Message was edited by: John H

  • I downloaded Firefox 4. Now I no longer have the icon to automatically return to my home page from another website. How do I get it back?

    The entire toolbar is different, but most especially there is no icon (used to be a little house) that I can click on to return to my home page. Using Vista

    The home page icon has by default been moved to the right hand side of the navigation toolbar. You can move it back to where you want - https://support.mozilla.com/kb/how-do-i-customize-toolbars

  • Solution: View distorted logon page from remote unix server.

    This problem is a bloody f*cking headache which I spent days searching this and other forums for a solution trying this and that ... f*cktype problem. I just thought writing this so that somebody out there having same problem can benefit from this.
    This is the solution if you have problem trying to use another unix ws or server to do startconsole but you get distorted image at the logon page or you cannot type any entry in the fields to logon to server.
    The symptoms are: at the ias console located in the datacenter I can logon, but remotely on my ultra1 I cannot even when all the access permissions and IP addresses for remote administration have been specified.
    For my setup I have a couple of ias server at remote which I tried to manage using a small ultra1 ws which I only installed the "base" admin tool namely startconsole.
    Initially I tried doing "xhost +" on the ultra1 then telnet to the ias server at remote and 'export DISPLAY' that didn't work as somehow the java didn't display up properly. So thats why in the end I installed the tool for startconsole.
    Firstly when trying to logon to remote server ensure the correct administration url of the remote ldap, this can be found under < */iplanet/ias6/admin-serv/config/adm.conf >
    check for the "ldaphost : "
    Then ensure that this entry is stored in your dns or remote server /etc/host file.
    Solution:
    The reason why I saw distorted image logon during "startconsole" was because of some missing files on my ultra1 under <*/iplanet/ias6/java/jars/ias60*> somehow during installation on the ultra1 those files were missing as part of the installation. I copied those files from remote ias servers and put them in the ultra1 and everything came up properly.
    ==================================
    some troubleshooting steps which I used.
    ==================================
    startconsole -D # debug mode
    truss startconsole # more debug
    startconsole -x nologo # starts console with the iplanet logo.
    startconsole -x nologo -u "cn=Directory Manager" -w <password>
    testing logon password at remote ias server using ldapsearch(can help narrow down if passwords are having problems or not)
    ============================================
    ldapseatch -D "cn=Directory Manager" -w <password> -b o=netscaperoot cn=admin-serv-<host>

    This problem is a bloody f*cking headache which I spent days searching this and other forums for a solution trying this and that ... f*cktype problem. I just thought writing this so that somebody out there having same problem can benefit from this.
    This is the solution if you have problem trying to use another unix ws or server to do startconsole but you get distorted image at the logon page or you cannot type any entry in the fields to logon to server.
    The symptoms are: at the ias console located in the datacenter I can logon, but remotely on my ultra1 I cannot even when all the access permissions and IP addresses for remote administration have been specified.
    For my setup I have a couple of ias server at remote which I tried to manage using a small ultra1 ws which I only installed the "base" admin tool namely startconsole.
    Initially I tried doing "xhost +" on the ultra1 then telnet to the ias server at remote and 'export DISPLAY' that didn't work as somehow the java didn't display up properly. So thats why in the end I installed the tool for startconsole.
    Firstly when trying to logon to remote server ensure the correct administration url of the remote ldap, this can be found under < */iplanet/ias6/admin-serv/config/adm.conf >
    check for the "ldaphost : "
    Then ensure that this entry is stored in your dns or remote server /etc/host file.
    Solution:
    The reason why I saw distorted image logon during "startconsole" was because of some missing files on my ultra1 under <*/iplanet/ias6/java/jars/ias60*> somehow during installation on the ultra1 those files were missing as part of the installation. I copied those files from remote ias servers and put them in the ultra1 and everything came up properly.
    ==================================
    some troubleshooting steps which I used.
    ==================================
    startconsole -D # debug mode
    truss startconsole # more debug
    startconsole -x nologo # starts console with the iplanet logo.
    startconsole -x nologo -u "cn=Directory Manager" -w <password>
    testing logon password at remote ias server using ldapsearch(can help narrow down if passwords are having problems or not)
    ============================================
    ldapseatch -D "cn=Directory Manager" -w <password> -b o=netscaperoot cn=admin-serv-<host>

  • Different first page from another

    Hi All,
    I am creating one report using RTF format and want to show some data on the header area except first page. I tried MS word functionality (Page setup -> layout-different first page), it works fine using XML desktop but when i load this report into application and try to run this report. Report shows header area for all pages including first page.
    Can any one tell me that how we can show header area except first page of report?
    Thanks
    Ravi

    Hi Ravi
    You might have a mismatch btw your server version and desktop version. Run the report to PDF on both platforms and check the document properties, under the Created by entry it will say XMLP Version X.X.X. Ensure the server version is the same or higher than the desktop version
    Tim

  • Unable to access SOA suite start page from remote browser.

    I have Oracle SOA Suite 10.1.3 and Oracle 10g AS 10.1.2 installed on a Windows 2000 machine.
    I am able to access the default start page of the 10.1.2 AS from the local and remote machine using the following URLs
    Http:\\hostname:7777\
    Http:\\hostname:80\
    Also, I am unable to access the SOA Suite 10.1.3 start page, bpel console etc - from the host machine using Http:\\hostname:8888\
    However from a remote machine browser I am not able to connect to the start page of SOA suite only. Http:\\hostname:8888\.
    Is there some settings which allow only local host access to the SOA suite pages?.
    All the hosts are on the same intranet, there is no firewall. Also i have Msft loopback adapter installed on the server host machine.
    Appreciate all suggestions.
    Thanks

    I suppose you're using DHCP and hope you have followed the steps in the Installation Guide. With DHCP it is always a bit tricky to access the server. You should check your /WINNT/system32/drivers/etc/hosts file. If the hostname you're using during install is not in it then adding it will help.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Best way to execute different jspx pages from a parameterized URL

    JDeveloper 10.1.3.3.0
    I'm looking for an elegant way for ADF to determine which page to go, based on a parameterized URL.
    I currently have a way of doing it, it's not what I want, but perhaps some other ideas.
    For example:
    http://localhost/MyDemo-ViewController-context-root/faces/decisionPage.jspx?vehicleType=car
    http://localhost/MyDemo-ViewController-context-root/faces/decisionPage.jspx?vehicleType=boat
    Given vehicleType, I need decisionPage.jspx to go to car.jspx or boat.jspx immediately
    Currently, I had to do this:
    1. Expose a method in the application module setVehicleType()
    2. decisionPage.jspx has a binding for a methodAction to call setVehicleType() and grab the vehicle type using ${param.vehicleType}. Store the vehicle type in the application module when this page is loaded.
    3. In decisionPage.jspx, create a commandButton into the page
    4. When the user clicks on this commandButton, it will be bound to a UI bean.
    5. This UI bean will then get the vehicleType from the application module method getVehicleType()
    I don't want the client to go directly to car.jspx or boat.jspx. I also don't want this extra step of the client clicking on a button to go to the proper page.
    Any suggestions would be great!

    Hi user,
    You could create a jsp page (or a servlet) which acts as the starting point of your web application. (decisionPage.jspx in your case). In the jsp, grab the url parameters using a scriptlet, put them on the sessionScope and redirect to the correct page.
    By putting the value on sessionScope, you have access to the parameters in your whole application during the session. You can use it to execute a query with bind variables.
    Hope I made it a bit clear.
    Regards,
    Koen Verhulst

  • URGENT:How to pass parameter to page from java portlet

    Hi,
    All i need to do is to pass a parameter from my custom java portlet to an omniportlet. Is it achievable? If so, please point me direction!
    Thanks,
    Ceren

    Hmm yeah or else you could use java.net.URLEncoder.encode(String s) to encode it automatically.
    (java.net.URLDecoder.decode(String s) decodes btw)

  • Viewing web pages from remote panel error

    I used an activex container and put the web browser object into it.  Next thing I knew, everytime I would open that vi's remote panel via the web server, iexplorer crashes.  What gives?
    Grub
    Hell, there are no rules here...we're trying to accomplish something!!! - Thomas Edison

    Grub,
    How is Internet Explorer crashing?  Does it stop responding, or
    give an error?  Does the LabVIEW program have any errors on the
    host computer?  I did find a KB that talks about the limitations
    of remote front panels, and it mentions that ActiveX will not work, but
    does not say anything about crashing Internet Explorer.
    Check out the KB
    Repost with any additional information.
    Andy F.
    National Instruments

  • Error trying to publish (real time) to delivery: No response from remote execute trying to save assettype [error was -103].

    Hi all,
    I'm trying to publish for first time to a new environment (delivery).
    The light of target destination is green.
    When i click on "inicialize" i get these errors and in the docs i cannot find why or what i have to do.
    Trying to publish asset types during inicialization it returns this error:
    No response from remote execute trying to save assettype [error was -103].
    Looking for the meaning for this i found: No table. What does it mean? Why the tool has not created the table?
    And then, the next error message is shown (all of them are shown in the same screenshot) trying to mirroring. It might have to do with the previos error message... but i have no idea!
    -12011. No response from remote execute trying to save assettype [error was -103]
    sites.log in delivery environment says as follows
    [2014-01-24 12:13:52,496 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SiteCatalog with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    [2014-01-24 12:13:52,527 CET] [ERROR] [.kernel.Default (self-tuning)'] [com.fatwire.logging.cs] ContentServer exception running CS recursively
    COM.FutureTense.Common.ContentServerException: pagename not supplied  Error code:BAD PARAMETER
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [logging.cs.satellite.request] Error accessing the external page with pmd: page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo
    [2014-01-24 12:13:52,543 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.request] COM.FutureTense.Common.ContentServerException: ContentServerException: (Reading page page: ?Browser=Unknown  Browser&SystemAssetsRoot=/dlv/futuretense_cs/&errdetail=0&errno=0&null= &pagename=fatwire/wem/sso/casInfo from co-resident Content Server failed (errno=0).) Error code:GENERIC SERVER ERROR
    [2014-01-24 12:14:06,021 CET] [ERROR] [.kernel.Default (self-tuning)'] [fatwire.logging.cs.db] SQLException loading table definition for SystemInfo with state HY000: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver]Object has been closed.
    Does anybody know how to help here?
    Thank you very much.
    Gala

    What SQL server driver are you using, Microsoft's or the jTDS driver (see jTDS JDBC Driver)? It may be worth trying the other.
    Also, can you enable
    com.fatwire.logging.cs=DEBUG
    in log4j.properties and retest, then post the entire resulting sites.log and application server log somewhere for us to see? e.g somewhere like pastebin.com
    Phil

  • How can I redirect to an URL from a portlet?

    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside a portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing happens ((
    I tryed the same trick with a simple JSP, and that's ok, but portal pages obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser to another
    page from inside portlets?
    Thanks!!!

    Backing files is an option. If you need to do it from the controller, you
    could use the Forward object. The forward object constructor can take a URL
    object as a parameter. This should do the trick.
    Regards,
    Kunal
    "Panji Aryaputra" <[email protected]> wrote in message
    news:[email protected]..
    Hi, you have to use backing file to get what you want. In my case, I am
    using a page backing file. Perhaps a portlet backing file can do thatalso.
    Cmiiw, the redirect header makes the page redirected only if the httpheader
    has not been sent to client. In your case, the header has been sent (i.e.
    the portal header.jsp has been displayed, etc). So the header need to be
    sent before anything else sent to client browser. This is where thebacking
    file comes handy.
    hth
    panji.a
    "A Hagen" <[email protected]> wrote in message
    news:[email protected]..
    I'm using Bea Workshop 8.1 and trying to perform a redirect from inside
    a
    portlet
    using HTTPServletResponse.sendRedirect(String url)... but nothing
    happens
    I tryed the same trick with a simple JSP, and that's ok, but portal
    pages
    obviously
    catch the redirect somehow.
    Please could you tell the correct way of redirecting the whole browser
    to
    another
    page from inside portlets?
    Thanks!!!

  • Redirect to Portal Login page from portlet

    We have lots of applications on the portal and many of them need the logged in user information to provide the right display context. For example, "My Notes" where notes are stamped with the user's login id. Our portlet applications show exception messages when the user id is unavailable. Pressing a refresh button takes them to the portal login page.
    Does anyone know how to redirect to the portal login page? Here is how I would like it to work: A user has the application up beyond the session timeout period and does something that causes the page to submit. At the application server we look for the logged in user ID which is missing due to session timeout and we send them to the portal login page.
    Thanks! Mike

    Hi James,
    <br />
    <br />I fear this isn´t possible to do with ADDT, as it will - when using its Restrict Access To Page behaviour - always redirect to the page you specified in the Control Panel.
    <br />
    <br />However you can help yourself with a simple custom PHP redirect script
    <i>(place it @ @ line 1 of your document)</i> which checks whether the "kt_login_id" Session Variable is set, and if it´s not set, redirect to a different login page:
    <br />
    <br /><?php<br />if (!isset($_SESSION['kt_login_id'])) {<br />header('Location: http://www.example.com/directory/login.php') ;<br />}<br />?>
    <br />
    <br />Hint: users who login via a different login page will still be redirected to ADDT´s default login page when logging out
    <br />
    <br />Cheers,
    <br />Günter Schenk
    <br />Adobe Community Expert, Dreamweaver

  • How to access a page from another website in to the portlet

    Hai,
    I need this specific requirement. In a portlet that is written in jsp, i need to access another page which is running in another server.I will explain what is my requirement clearly.. In a portlet, i have to acess a page from another site, and i have to pass a parameter directly. If i use URL-Based Portlet with passing parameters, It ask the user to enter the parameter and submit the page.. But what my need is, i have to pass the parameter directly. what i am planning is in a new tab, i will add a portlet, where i need to access the another website page..when the user opens that tab, it directly shows that website..... How do i proceed...
    Can anybody help me.. Its URGENT....
    If possible send me the code..
    my mail id: [email protected]
    Thanks in advance
    damodar

    Damodar,
    To include an existing JSP page as a portlet have a look in the PDK section http://portalcenter.oracle.com there is lots useful information. The two things you might find most relevant is a paper on creating java portlets. This paper has a section on turning an existing JSP page into a portlet
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.A.JAVA.PORTLET.USING.PDK.JAVA.V2.HTML
    and to pass parameters and events
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/OVERVIEW.PARAMETERS.EVENTS.HTML
    Hope this helps,
    Candace

  • How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page  it says "the previous page is sending you to: LINK if you do not want to visit this page, you can return to the previous page"

    How to i get rid of the redirect notice it shows up on my safari whenever i try to go to a different page
    it says "the previous page is sending you to: LINK
    if you do not want to visit this page, you can return to the previous page"

    Yeah, this seems to be something to do with Google, not your iPhone. A search on that error found this page:
    http://www.google.com/support/forum/p/Web%20Search/thread?tid=56a3c4b71b3dc1d9&h l=en
    which shows people using lots of browsers on different platforms suffering from it. No definitive solutions though.

Maybe you are looking for