Problems with page and event paramters in java portlets

Hi there!
Following the documentation in "A primer on Portlet Parameters and events" and "Adding Parameters an Events to Portlets" I tried to develop two portlets (who will be at the same page), one showing some content of a repository (with possibilities to browse throw it) and another showing a sitemap of the repositories whole content, presenting links to the content's pages to be shown in the content portlet.
So I added:
1. a page parameter called pageMenuID to identify the current content page to be shown in the content portlet
2. an input parameter for content portlet called portletMenuID. This input parameter is mapped to the page parameter pageMenuID
3. an event for content portlet called changeContent with output parameter contentMenuID. When this event rises, "go to page" is set to the current page and the output parameter contentMenuID is mapped to the page parameter pageMenuID.
4. an event for sitemap portlet called changeContentFromSitemap with output parameter sitemapMenuID. When this event rises, "go to page" is set to the current page and the output parameter sitemapMenuID is mapped to the page parameter pageMenuID.
This is the code for some constants and a function to build the links in the content portlet, that I want to use:
// page parameter (shouldn't be used here)
private final static String pageParamMenuID = "pageMenuID";
// parameter names as given in providers.xml:
// portlet input parameter
private final static String inputParamMenuID = "portletMenuID";
// event name
private final static String eventName = EventUtils.eventName("changeContent");
// parameter name for event parameters
private final static String eventParamMenuID = EventUtils.eventParameter("contentMenuID");
String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
NameValuePair[] eventParams = new NameValuePair[2];
eventParams[0] = new NameValuePair(eventName,"");
eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
try {
return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
eventParams,
true,
true);
} catch (Exception e) {
return "null";
This is the analog code from the sitemap portlet:
// page parameter defined on "edit page mode" (shouldn't be used here)
private final static String pageParamMenuID = "pageMenuID";
// parameter names as given in providers.xml:
// event name
private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
// parameter name for event parameters
private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
NameValuePair[] eventParams = new NameValuePair[2];
eventParams[0] = new NameValuePair(eventName,"");
eventParams[1] = new NameValuePair(eventParamMenuID, "" + menuID);
try {
return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
eventParams,
true,
true);
} catch (Exception e) {
return "null";
But what actually happens is nothing. I also tried to construct the links with EventUtil.constructEventLink() with the same result. Checking the produced html-code in the browser shows that the same URLs are produced. So I'm of the opinion, that proper event links are created.
After checking the sent and received request parameters I came to the conclusion, that the event output parameters are never mapped to the page input paramters, as they should. So I changed the code to the following:
// page parameter (shouldn't be used here)
private final static String pageParamMenuID = "pageMenuID";
// parameter names as given in providers.xml:
// event name
private final static String eventName = EventUtils.eventName("changeContentFromSitemap");
// parameter name for event parameters
private final static String eventParamMenuID = EventUtils.eventParameter("sitemapMenuID");
String getEventUrl( PortletRenderRequest portletRequest, long menuID) {
NameValuePair[] eventParams = new NameValuePair[1];
eventParams[1] = new NameValuePair(pageParamMenuID, "" + menuID); <-- Note that the page parameter and not the event output parameter is used here -->
try {
return PortletRendererUtil.constructLink(portletRequest, portletRequest.getRenderContext().getEventURL(),
eventParams,
true,
true);
} catch (Exception e) {
return "null";
Now everything works fine, including addition of persistent private portlet parameters and further input/page/event parameters as well as working with a third portlet with performs a search (and presents the search results as links which change the content in content portlet).
But this is actually NOT the way it should work: The names of the page parameters are hard-coded in the portlets, so the roles of page designer and portlet developer are not separated in the way it is presented in the documentation. I coulnd't find a way to map the event output parameters to the page parameters to work this out.
Now I wonder whether there's some known bug in PDK or perhaps a mistake in the documentation or wether I'm just missing doing the right things. I've already read some postings in this forum concerning this problem (for example how to change the query??? but I think I've done all the things that are suggested there (checked the entries in provider.xml and the proper mapping of page parameters, public (input) portlet parameters and event output parameters, also the way I read the received request parameters and build the links)
Has anybody an idea what's wrong here?
Best regards
Torsten

Hi Amjad,
thank you very much for time and effort you spent on helping me solving this problem.
Unfortunately, I think I already tried what you suggest in your answer, but without success. From my experience, the following two calls:
1.
<%!
private static String eventName = "changeContent"
private static String eventParamID = "menuID"
String getEventUrl(PortalRenderRequest prr, long menuID) {
NameValuePair[] eventParams = new NameValuePair[1];
// no addition of eventName in the array
eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
return EventUtils.constructEventLink(prr, eventName, eventParams, true, true);
%>
<a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
2.
<%!
private static String eventName = EventUtils.eventName("changeContent");
private static String eventParamID = EventUtils.eventParameter("menuID");
String getEventUrl(PortalRenderRequest prr, long menuID) {
NameValuePair[] eventParams = new NameValuePair[2];
eventParams[0] = new NameValuePair(eventParamID, "" + menuID);
eventParams[0] = new NameValuePair(eventName,"");
return PortletRendererUtil.constructLink(prr, prr.getRenderContext().getEventURL(), eventParams, true, true);
%>
<a href="<%= getEventUrl(portletRequest, 1234) %>">some link for ID 1234</a>
produce identical links. I took the second way because it is easer to add private portlet parameters to the link: just as additional NameValuePairs in the eventParam- Array (name constructed with HttpPortletRendererUtil.portletParameter()), instead of constructing the link "by hand" as mentioned in the javadoc for constructEventLink(). I have to add these private portlet parameters here because when an event from a private parameters owning portlet is fired, the private parameters are lost (in difference to when an event from ANOTHER portlet is sent).
So I think, when you also look closely to the code snippet I added in the first posting, I made shure that I added the name of the event and not just the event parameters to the link.
I hope that I understood your answer right. Perhaps you have another idea what might be wrong. Thank you again,
best regards
Torsten

Similar Messages

  • Application problems with pages and numbers after Yosemite install

    Since upgrading to Yosemite and updating my applications, I have problems opening some documents in Pages and Numbers and get a message
    You need a newer version of Numbers to open this spreadsheet.
    I also have 2 icons for Pages? The old icon and the new?
    When an upgrade occurs doesn't the old version normally get "absorbed" by the new version?
    What do I need to do to resolve this?

    There are other problems in Pages and Keynote and Numbers.  When you use the Share tool, and choose Open In Another App...... no apps are listed except for iTunes U.   This is an error, as there are several apps available on the ipad that open Pages.  Also, in the Share tool, if I select  Send a Copy,  the email option is not available.  We have checked with app developers who say they their most recent app version addresses this issue, but it doesn't.
    We have tried to erase and reset the ipad, put everything back, and the problem still exists.

  • Problem with decimals and grouping characters in Java 6

    I'm having problems with locales in Java 6.
    I have the following code:
    NumberFormat format = NumberFormat.getInstance(new Locale("es", "CO", "Traditional_WIN"));
    BigDecimal number = new BigDecimal("123456");
    System.out.println(format.format(number));If I run it with Java 5, I get 123,456 which is OK, and is excatly the output I would expect.
    If I run it with Java 6, I get 123.456 Why am I getting a different output?
    Am I doing something wrong?

    change the separator symbol, something like:
    DecimalFormat format = (DecimalFormat)NumberFormat.getInstance(new Locale("es", "CO", "Traditional_WIN"));
    BigDecimal number = new BigDecimal("123456");
    DecimalFormatSymbols dfs = format.getDecimalFormatSymbols();
    dfs.setGroupingSeparator( ',' );
    format.setDecimalFormatSymbols( dfs );
    System.out.println(format.format(number));regards;

  • Problem with checkbox and Event.stop(event)

    Hello,
    I cannot change the checkbox in a row, if the Event.stop(event) is fired on checkbox. My aim is, that the event OnRowClick is stoped, if I change the checkbox in the row.
    <rich:extendedDataTable id="requestTable" value="#{requestListHandler.normalisedRawRequestList}" var="req"
                             rows="#{requestListHandler.limitRows}" selectionMode="single">
                             <a4j:support event="onRowClick" action="#{requestListHandler.viewRequest}">
                                  <f:setPropertyActionListener value="#{req}"
                                       target="#{requestHandler.selectedRequest}" />
                                  </a4j:support>
                            <rich:column>
                                       <h:outputText value="#{req.offerListSize}">
                                            <f:convertNumber type="number" />
                                       </h:outputText>
                         </rich:column>
                             <rich:column id="checkBoxColumns">
                                       <h:selectBooleanCheckbox onclick="Event.stop(event);"
                                            value="#{req.firstInterpreterTimeChecked}"/>
                         </rich:column>
    </rich:extendedDataTable>I know I am using richfaces, but I have problem with sun-ri component <h:selectBooleanCheckbox..../>.
    Have you any idea?
    Manu
    Edited by: Argonist on Jun 16, 2009 8:27 AM
    Edited by: Argonist on Jun 16, 2009 12:25 PM

    I had the same problem. I read you post and was so disappointed that no one had answered you. But I have a good news for you :) My team leader managed to solve this awkward problem.Add to h:selectBooleanCheckbox style="z-index: 20;" so that it is "above" the table row that fires its own onclick event.

  • Synching problems with pages and numbers

    After an initial problem with synching which was resolved with Yosemite Pages and Numbers have been synching across all my devices for a couple of weeks and now all of a sudden they have stopped again!! They synch across my phones and iPad but not to my macbook pro!! Very very annoying! How do I resolve it?

    Found a solution, but it is odd:
    On the 2008 Mac Pro, I UNCHECK the boxes beside Pages and Numbers in System Preferences > iCloud > iCloud Drive > Options. Now Pages and Numbers will properly save edited documents to the appropriate folders on iCloud Drive.
    Go figure ...
    Hope that this helps someone else.
    Jon

  • Problems with Pages and Numbers using iCloud Drive on early 2008 MacPro, Yosemite

    One of my computers, an early 2008 MacPro running Yosemite, will NOT save Pages or Numbers documents to iCloud Drive from within those applications.  I see the little iCloud Drive error badge next to the file name in Finder after I try to save.  However, on the SAME computer I can save Pages and Numbers documents to a local drive (e.g., to my Desktop) and then use the Finder to drag the documents to iCloud Drive successfully.  Another computer, a MacBook Pro running Yosemite, has no problems using iCloud Drive to create, edit and then save Pages and Numbers documents stored on iCloud Drive.  I have tried "turning off" iCloud Drive for Pages and Numbers in System Preferences on the Mac Pro and then turning it back on to no effect.  I have also logged out of iCloud Drive on all of my devices (which include two iOS devices) and then logging back in to ensure that I'm using the same login id on all devices, again with no apparent change.
    Any suggestions for my next steps in attempting to solve this issue?  Is there any way to get more information about precisely what type of error is occurring?  Hovering over the badge only shows "Error".
    Thanks in advance.
    Jon

    Found a solution, but it is odd:
    On the 2008 Mac Pro, I UNCHECK the boxes beside Pages and Numbers in System Preferences > iCloud > iCloud Drive > Options. Now Pages and Numbers will properly save edited documents to the appropriate folders on iCloud Drive.
    Go figure ...
    Hope that this helps someone else.
    Jon

  • Problem with pages and kontakte

    On my macbook (OSX 10.6.8) with "Pages '08 (3.0.3)" and "Adressbuch (5.0.3)", personalizing documents with contacts data works very well (e.g. "Mit Adressbuch-Daten zusammenführen..."). However, on my iMac (10.8.5) there is no "Adressbuch" but "Kontakte (7.1)" and personalizing does not work ("Keine Einträge im Adessbuch"). It looks like Pages tries to find "Adressbuch" and ignores "Kontakte".
    Please help to solve this problem. Thanx

    I found the solution to my problem in the discussion
    Contacts to Pages Mail Merge in Mountain Lion Broken?
    So I need no further help as to this tpic. Thanx

  • Problems with pages and mail merging from Address Book

    hey guys. I have just created an invitation using one of the templates in Pages. this template is for four postcard size invites on one sheet of A4. i want to merge addresses from my address book. i can do the merge except that rather than four different contacts on each page i end up with four of the same on each page before it moves on the next contact on the next page. what i want to do is for it to merge one address per postcard. in Word i would put 'next' as the last field in the merge fields but i cant find a similar command in Pages. please can some advice?

    I don't use Address Book for mail merging, but I tested this on a four page document and it worked for that so maybe it will work for your postcards. First, do your merge with full size pages and one address per page. Then in the print menu select Layout (drop down from Copies and Pages) and set it for 4 per Page (any direction you wish). That should print four different addresses on one sheet.
    Walt

  • Problem with Booleans and events

    I have an event structure inside a while loop. I have several buttons each of which triggers one event. Now no matter what latch action I try with these at any point of time only one of the events run. So if I want to run another event I have to stop the main vi run it again and then go to the next event. I guess what this means is that the events are not being terminated by value change. But I have tried to reset the value of the boolean as well in order to terminate but event this doesnt seem to work.There is some fundamental problem somewhere but I am unable to figure it out. Can somebody please help me.
    I am attaching a sample vi and sub vis that demonstrate this problem. In this case I need to have the booleans h
    ave the switch when released action. i.e as long as the button is pressed the camera i control moves left and as soon as I release it it shud stop.
    Attachments:
    CamInte.vi ‏108 KB
    Left.vi ‏190 KB
    Right.vi ‏190 KB

    You need to decide whether you want things controlled by events, or by loop polling.
    Some things to consider:
    Inside each event you have a loop where you read the booleans the events react to. That means the events will be fired over and over again inside the loop, and you'll have a stack of old events to be fired when the while loop has exited...events you don't really want to do anything about (use events for all the button clicks, or loops - not a mix).
    Events are still flow controlled so when the left event fires and it enters the while loop it won't handle any other events until that while loop has finished.
    When an event fires the button value if read at the same time is not the value the event fired on. So when you have an event that fires when
    you press the button, if you wire the button value to something inside that even it won't be true, it will be false. Use the new value output of the event case to read the value you really want.
    MTO

  • Problem with releater and event handling

    Hi Flex genius,
    I have been struggling for the whole day with a problem connected to repeater.
    I have a text field:
    <mx:Text id="shortText" width="300"  text="{newTeaser.currentItem.shortDescription}" styleName="Scandinavian" fontSize="12"  />
    and a label:
    <mx:Label   id="readMoreLabel" x="13" text="{newTeaser.currentItem.readMore}" color="#3C4593" />
    both inside a  Repeater which fetches from an XML:
    <mx:Repeater id="newTeaser" dataProvider="{eventsData}">
    The Repeater works fine, but I need to add a click on the label id="readMoreLabel" that replace the shortText.text with  {newTeaser.currentItem.longDescription} instead of {newTeaser.currentItem.shortDescription}.
    i am quite new in Flex, so I guess I miss some fundamentals.
    Thanks for your help.
    Max

    This code works, and notice the trace(), you CAN have IDs for the controls in the repeater, and you can access them as an array, though I do not make use of this capability in my solution.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
      creationComplete="dataService.send();">
      <mx:Script>
        <![CDATA[
          import mx.rpc.events.ResultEvent;
          import mx.collections.XMLListCollection;
          import mx.controls.Text;
          [Bindable] private var eventsData:XMLListCollection;
          private function dataHandler(evt:ResultEvent):void{
            eventsData = new XMLListCollection(evt.result..item as XMLList);       
          private function clickHandler(evt:MouseEvent):void{
            var txt:Text = VBox(evt.currentTarget.parent).getChildAt(0) as Text;
            for each(var xml:XML in eventsData){
              if(xml.shortDescription == txt.text){
                txt.text = xml.longDescription;
            for each(var obj1:Text in shortText){
              trace("shortText: " + obj1.text);
        ]]>
      </mx:Script>
      <mx:HTTPService id="dataService" url="data.xml" resultFormat="e4x" result="dataHandler(event);"/>
      <mx:Repeater id="newTeaser" dataProvider="{eventsData}">
        <mx:VBox width="100%">
          <mx:Text id="shortText" width="100%"  text="{newTeaser.currentItem.shortDescription}"/>
          <mx:Label id="readMoreLabel" text="{newTeaser.currentItem.readMore}" color="#3C4593"
            click="clickHandler(event);"/>   
        </mx:VBox>
      </mx:Repeater>
    </mx:Application>
    <?xml version="1.0" encoding="utf-8"?>
    <teasers>
      <item>
        <shortDescription>This is short desc one.</shortDescription>
        <readMore>Read More One</readMore>
        <longDescription>This is long desc one.</longDescription>
      </item>
      <item>
        <shortDescription>This is short desc two.</shortDescription>
        <readMore>Read More two</readMore>
        <longDescription>This is long desc two.</longDescription>
      </item>
      <item>
        <shortDescription>This is short desc three.</shortDescription>
        <readMore>Read More three</readMore>
        <longDescription>This is long desc three.</longDescription>
      </item>
    </teasers>

  • Printing problem with Pages and iWork

    This problem has been troubling me for months. I have an HP OfficeJet Pro K5400 colour inkjet printer. I have installed the latest s/w drivers so it's all up to date as far as I'm aware. The problem is that when printing from Pages - or indeed any iWork application, I select 'normal' print quality and 'plain' paper, but the printer refuses to print in anything other than 'high quality'. Even if I choose 'draft' quality, the printer prints high quality. I print lots of reports and never need 'high quality' besides which it takes 4 times longer to print and uses twice as much ink (and looks dreadful on the paper I use).
    Now here is the even odder thing, the printer prints as directed to Office 08, Mail, Safari and Text Edit. But I have the same problem of it ignoring my printing options in iPhoto and iCal. It also works fine from my wife's PC.
    HP has been truly hopeless in trying to sort out the problem. I have reinstalled the drivers many times and cleared out all kinds of files as directed by them. The problem originated in November last year when I upgraded to Leopard.
    I have installed the following drivers as directed by HP: HPInstaller_OJPK5400v9.7.1, HP v9.7Inkjet OS X 10.5 Update.
    Hope someone out there can help.

    Perhaps I should invest in another inkjet printer. Are you saying I should avoid HP and Epson? In which case how about Canon? Would that work or are there others you could recommend.
    Good question. IMHO there is no reason to reject any particular make and model of inkjet, but there is also no reason to suppose that the supplier will support that make and model beyond its short lifetime which is sort of supposed to be the lifetime of the version of the operating system for which the 'dumb' raster driver was developed. It's just the way it is, unfortunately.
    One should purchase the type of printer product that suits one's purpose. For proofing of copy a black and (single colourant) grayscale laser is superior to an inkjet. For proofing of photographs a colour inkjet which is correctly calibrated, correctly characterised, and for which colourants are correctly converted in the colour correction software and pagination software can hit within 1-2 dE of the print on a press operated with automatic colour control.
    Sorry to be so unhelpful, but there are four printers and shelves of software here, and it's not simple, unfortunately.
    hh

  • Problem with servicegen and how to convert java classes to webservices

    I am a beginner and am trying to convert all my java code into webservices,I have
    a java class Test.java and number of other third party libraries and my own java
    files that are reffered in Test.java. I want to expose the public methods in Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalid class received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface, non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party class file also?I
    just need the public methods in Test.java exposed and Test.java will just use
    the third party library.
    also,is there a way to tell servicegen to include all these java files X,Y,Z to
    the war file/ear files but expose only the public methods of X in the WSDL.
    Please help
    thanks
    Suresh

    Hi Bruce,
    Thanks very much for the insight u provided.Yes one of my public methods was returning
    a element factory.
    But let me ask my question this way:
    Is there a way to tell servicegen to take only the specified public methods in
    a class to make them as webservices?
    by default servicegen is taking all the public methods..,i workaround i found
    is to deploy the webservice manually by writing the web-services.xml to include
    only the required public methods.
    thanks
    Suresh
    Bruce Stephens <[email protected]> wrote:
    Hi Suresh,
    Does your Test.java have a public method that returns the element
    factory of an XML document, like "public ElementFactory
    getElementFactory ();" or such?
    If so, you may want to check out the supported build-in and non-built-in
    data types:
    http://edocs.bea.com/wls/docs81/webserv/assemble.html#1060696
    Concerning your last question, you can use the excludeEJBs, includeEJBs
    (in combination with the ejbJar attribute) to specify which non-built-in
    data type components should be generated. Or if you use the
    javaClassComponents then simply use a comma separated list of class
    names.
    Hope this helps,
    Bruce
    suresh wrote:
    I am a beginner and am trying to convert all my java code into webservices,Ihave
    a java class Test.java and number of other third party libraries andmy own java
    files that are reffered in Test.java. I want to expose the public methodsin Test.java
    as webservices.
    the serivegen part of My build.xml is as below
    <servicegen
    destEar="${APPLICATIONS}/${ear_file}"
    warName="${war_file}">
    <service
    javaClassComponents="com.verizon.Test"
    targetNamespace="${namespace}"
    serviceName="Test"
    serviceURI="/Test"
    generateTypes="True"
    expandMethods="True">
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="${java.class.path}"/>
    </classpath>
    </servicegen>
    When i run ant it complains:
    [servicegen] weblogic.xml.schema.binding.BindingException: Invalidclass received:
    interface org.apache.crimson.tree.ElementFactory loaded from file:/apps/opt/crimson.jar!/org/apache/crimson/tree/ElementFactory.class.
    All classes that will be serialized or deserialized must be non-interface,non-abstract
    classes that provide a public default constructor
    I have no clue,Why is Servicegen introspecting the third party classfile also?I
    just need the public methods in Test.java exposed and Test.java willjust use
    the third party library.
    also,is there a way to tell servicegen to include all these java filesX,Y,Z to
    the war file/ear files but expose only the public methods of X in theWSDL.
    Please help
    thanks
    Suresh

  • Problems with pages and mountain lion

    Hey i just updated my iwork, and installed mountain lion, solely for the iwork icloud feature. I do a lot of work on my ipad and it would be very useful if they would sync with my macbook. But unfortunately when i create a new document in pages for the icloud it just says the files name and has a picture of a cloud underneath with "waiting" next to it. Why is this??

    Hey i just updated my iwork, and installed mountain lion, solely for the iwork icloud feature. I do a lot of work on my ipad and it would be very useful if they would sync with my macbook. But unfortunately when i create a new document in pages for the icloud it just says the files name and has a picture of a cloud underneath with "waiting" next to it. Why is this??

  • Problem with DigiChat and java

    I can't get into a chat room because of a problem with digichat and java

    can get a  java for mac book pro

  • Problem with page preview : transodification of  ':' and '/'

    Hello
    we got a problem with page and iview preview on production system (7.01).
    The preview fail with a simple message "Erreur d'exécution portail / Exception lors du traitement de la requête, envoyez l'ID de l'exception à votre administrateur du portail" ("Portal execution error / exception during request treatment, send exception Id to your portal administrator").
    The user possess full admin role, as weel as autorisations onto the page. He can use the page when it's in the menu, but visualizing the page via preview fail.
    after comparing the preview URL from production system against the preview URL from development, we spotted a difference :
    on the dev portal, the URL is
    http://portal:port/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.company.directory.SpecificApp!2fcom.company.directory.LeaveRequest!2fcom.company.directory.Employee!2fcom.company.page.MyRequests?sap-config-mode=true
    on the production portal, the preview URL is
    https://portal/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!253aportal_content!252fcom.company.directory.SpecificApp$!252fcom.company.directory.LeaveRequest!252fcom.company.directory.Employee!252fcom.company.page.MyRequests?sap-config-mode=true
    As you can see, the ":" are transcoded into !3a on dev, and !253a on prod (and the "/" are respectively transcoded into !2f and !252f)
    the other difference is the use of an alias (http://portalprod/irj against http://portal:port/irj), and the use of a secured connexion (https).
    does someone know where this problem could come from ?
    regards,
    Guillaume

    Hi Guillaume,
    Could it be possible that there would be a SAP Web Dispatcher on the Production Portal and not on the dev portal.
    You should use a tool like HTTPWATCH to see if you get HTTP redirects.
    Regards,
    Olivier

Maybe you are looking for

  • Berkeley DB Java Edition 3.2.74 available

    All, <p> We've put out patch release 3.2.74. The download can be found <a href="http://www.oracle.com/technology/software/products/berkeley-db/je/index.html"> here</a> and the change log describes the bug fixes contained in the release. We recommend

  • Is it possible to make an array of JButtons?

    is it possible to make an array of JButtons?

  • Can't get printer to work

    I have a new Dell laptop with Windows 7 on a wireless network and I want to print on a HP laserjet 1320 connected to another computer on the network. My laptop sees the 1320, but cannot print. The error message says "Windows cannot connect to the pri

  • Running Logic in 64-bit but what about Snow Loepard?

    Hi all, I am wondering what the benefit is of running Logic in 64-bit if you only run Snow Leopard in 32-bit. Is there better performance when you run both Logic and the OS in 64-bit?

  • ACS 5.2 - How to filter by IP Address

    Hi, Using ACS 5.2, under Network Resources>Network Devices and AAA Clients>, I can only filter by: Name NDG:Location NDG:Device Type Description How can I find a device by its IP Address? or how can I enable this option? On this link: http://www.cisc