<portal:urlGeneration keepNavigationalState='false'> - Websphere

This is a discussion on <portal:urlGeneration keepNavigationalState='false'> - Websphere ; I have login portlet in the page, in the same page also have self registration protlet link goes to different page. Self registration has three screens(registration, regitration confirmation, Thank you). When ever i click on link to self registration, It ...

+ Reply to Thread
Results 1 to 10 of 10

Thread: <portal:urlGeneration keepNavigationalState='false'>

  1. <portal:urlGeneration keepNavigationalState='false'>

    I have login portlet in the page, in the same page also have self registration protlet link goes to different page. Self registration has three screens(registration, regitration confirmation, Thank you).



    When ever i click on link to self registration, It has to take first page irrespective of that i was previously passed the self registration confirmation, or thank you page in the same browser.



    I have try to do from login portlet. I am using Websphere Portlet factory.



    Register


    goal is from login portlet when ever user clicks the link they should go to first page of Registration flow even they are exit in the middle of registration flow(like confirmation screen) on the same brower. Even i have used keepNavigationState="false" also takes me last state where i have discontinued registration flow.



    I would appriciate your inputs.



    Kind Regards

    Alagar



    Even using

  2. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    Do you have public sessions enabled? is this a JSF portlet?, for the keep navigational state of false to work you really need to target the portlet as well, have you tried that?



    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM

  3. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    Public Session enabled. This portlet written by Websphere Portlet factory frame work with out struts/jsf. It is just normal Jsr 168 portlet.



    Typical scenario, User clicks registration link in login portlet, then passes two screen then arrives to thank you screen. Then same browser clicks back button or using home page url they again click the Registration link in Login portlet. This time link should take me to first screen of Registration portlet instead of thank you page.



    Bellow is piece of code using in the

    import:

    <%@ taglib uri="/WEB-INF/tld/portal.tld" prefix="portal"%>
    Link:

    "Register "

  4. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    I would need to see the xml export from the page in question





    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM

  5. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    Could you please explain me detail. You mean xml access of the page in that case which page login portlet page or Registration portlet page.



    kind Regards

    Alagar

  6. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    yes the page with the registration on it





    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM

  7. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    <!-- 7 portlet-app 2_PPUQGI420OLS502TNIOJJ43004 -->

    <!-- 8 portlet 3_PPUQGI420OLS502TNIOJJ43087 -->

    <!-- 9 servlet V_PPUQGI420OLS502TNIOJJ43083 -->

    <!-- 10 component 7_PPUQGI42001G0023GJGTOC20O7 -->

    <!-- 11 portletinstance 5_PPUQGI42001G0023GJGTOC20O3 -->

    <!-- 12 portlet 3_PPUQGI420OLS502TNIOJJ43007 -->

    <!-- 13 servlet V_PPUQGI420OLS502TNIOJJ43003 -->

    <!-- 14 content-node 6_PPUQGI42001G0023GJGTOC2000 -->

    <!-- 15 theme J_PPUQGI42001G0023GJGTOC2021 -->

    <!-- 16 skin K_NO2UF4I1186E1026H4BLVI00E5 -->

    <!-- 17 content-node 6_000000000000000000000000A0 -->

    <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" build="wp600_244" type="update" version="6.0.0.0" xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd">

    <portal action="locate">

    <skin action="locate" domain="rel" objectid="K_NO2UF4I1186E1026H4BLVI00E5" uniquename="wps.skin.noSkin"/>

    <theme action="locate" domain="rel" objectid="J_PPUQGI42001G0023GJGTOC2021"/>

    <web-app action="locate" domain="rel" objectid="1_PPUQGI420OLS502TNIOJJ43000" uid="com.bowstreet.portlet.WebAppRunner_RQC.webmod">

    <servlet action="locate" domain="rel" objectid="V_PPUQGI420OLS502TNIOJJ43083" referenceid="yyy navigation.servlet"/>

    <servlet action="locate" domain="rel" objectid="V_PPUQGI420OLS502TNIOJJ43003" referenceid="Self Registration.servlet"/>

    <portlet-app action="locate" domain="rel" name="com.bowstreet.portlet.WebAppRunner_ABC" objectid="2_PPUQGI420OLS502TNIOJJ43004" uid="com.bowstreet.portlet.WebAppRunner_ABC">

    <portlet action="locate" domain="rel" name="yyy navigation" objectid="3_PPUQGI420OLS502TNIOJJ43087"/>

    <portlet action="locate" domain="rel" name="Self Registration" objectid="3_PPUQGI420OLS502TNIOJJ43007" uniquename="selfreg"/>

    </portlet-app>

    </web-app>

    <content-node action="locate" domain="rel" objectid="6_000000000000000000000000A0" uniquename="wps.content.root"/>

    <content-node action="locate" domain="rel" objectid="6_PPUQGI42001G0023GJGTOC2000" uniquename="xxx.page.portal.yyyportal"/>

    <content-node action="update" active="true" allportletsallowed="true" content-parentref="6_PPUQGI42001G0023GJGTOC2000" create-type="explicit" domain="rel" objectid="6_PPUQGI42001G0023GJGTOC2080" ordinal="200" type="page" uniquename="com.xxx.yyy.register">

    <supported-markup markup="html" update="set"/>

    <localedata locale="en">

    <title>Test Registration</title>

    </localedata>

    <parameter name="com.ibm.portal.IgnoreAccessControlInCaches" type="string" update="set"><![CDATAfalse]></parameter>

    <parameter name="com.ibm.portal.PageIcon" type="string" update="set"></parameter>

    <parameter name="com.ibm.portal.bookmarkable" type="string" update="set"><![CDATAYes]></parameter>

    <parameter name="com.ibm.portal.remote-cache-expiry" type="string" update="set"><![CDATA0]></parameter>

    <parameter name="com.ibm.portal.remote-cache-scope" type="string" update="set"><![CDATANON-SHARED]></parameter>

    <access-control externalized="false" owner="uid=wpsadmin,o=default organization" private="false">

    <role actionset="User" update="set">

    <mapping subjectid="all authenticated portal users" subjecttype="user_group" update="set"/>

    <mapping subjectid="all portal user groups" subjecttype="user_group" update="set"/>

    <mapping subjectid="anonymous portal user" subjecttype="user" update="set"/>

    </role>

    </access-control>

    <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_PPUQGI42001G0023GJGTOC2084" ordinal="0" orientation="H" type="container" width="undefined">

    <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_PPUQGI42001G0023GJGTOC2082" ordinal="0" orientation="V" type="container" width="undefined">

    <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_PPUQGI42001G0023GJGTOC2044" ordinal="100" type="control" width="undefined">

    <portletinstance action="update" domain="rel" objectid="5_PPUQGI42001G0023GJGTOC2040" portletref="3_PPUQGI420OLS502TNIOJJ43087"/>

    </component>

    <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_PPUQGI42001G0023GJGTOC20O7" ordinal="200" type="control" width="undefined">

    <portletinstance action="update" domain="rel" objectid="5_PPUQGI42001G0023GJGTOC20O3" portletref="3_PPUQGI420OLS502TNIOJJ43007"/>

    </component>

    </component>

    </component>

    </content-node>

    </portal>

    <status element="all" result="ok"/>

    </request>

  8. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    One thing I see is that you are targetting a layout node that does not exist



    "<portal:urlGeneration contentNode="com.xxx.yyy.register" portletWindowState="normal" keepNavigationState="false" layoutNode="

    Self Registration"><ahref='<% wpsURL.write(out); %>'>Register </portal:urlGeneration>"


    This component from the page should have the unique name of Self Registration if you are going to try and target it

    <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_PPUQGI42001G0023GJGTOC20O7" ordinal="200" type="control" width="undefined">

    <portletinstance action="update" domain="rel" objectid="5_PPUQGI42001G0023GJGTOC20O3" portletref="3_PPUQGI420OLS502TNIOJJ43007"/>

    </component>





    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM


  9. Re: <portal:urlGeneration keepNavigationalState='false'>

    I have the same problem, keepNavigationState="false" takes me last
    state.

  10. Re: <portal:urlGeneration keepNavigationalState='false'> ??

    Did you get this to work? I am in a similar situation and the scenario I have is exactly the same as what you have/had.

+ Reply to Thread