Portal does not retain HTTP request parameters

We are trying to do some basic pagination functionality using JSP tags. The problem that we are having is the JSP tag places request parameters in the URL that it creates. The tag then expects that these parameters will be available in the request when the page is rendered after the link is clicked. This JSP tag works great with normal pageflows but with the Portals concept of nested pageflows this no longer works.
The problem is that these request parameters are not available in the request but only in the scoped request. How can the JSP tag in the JSP page get these parameters out of the request object?
I can see the parameters in the ScopedRequest but not in the normal request. This is a major issue since the JSP tag has no knowledge (nor should it have to) of the concept of a Scoped request. The pageflow can access the parameters in the scoped request but there is no way to set parameters in a request.
Is there a patch that places the parameters in the real request? Is there a work around for this?
Thanks,
Chris

A couple options -
1. Try using the OuterRequest
2. You can prefix the portletinstance to the request parameters to get them from the main request object
3. Try using the BEA grid for pagination OOTB.
Hope this helps :)
Kunal

Similar Messages

  • CreateAuthenticatedSessionToken: The signature of the request does not match the request parameters

    I'm creating an app using the SODA Architecture. 
    I could successfully create an app and make the client to authorize it. 
    Result of newApplicationCreationInfo:
    <?xml version="1.0" encoding="UTF-8"?>
    <response>
    <status>
    <code>0</code>
    </status>
    <wc:info xmlns:wc="urn:com.microsoft.wc.methods.response.NewApplicationCreationInfo">
    <app-id>4417587e-46d1-49ee-a0fa-50dbfdcf932c</app-id>
    <shared-secret>gBksYDAqcuAUXK+zyvfFW9F0sy8nchwnplJ6K7aKmAM=</shared-secret>
    <app-token>AiAAANDl....A5b9fxVIlXEloouci6jGhY/A==</app-token>
    </wc:info>
    </response>
    I'm using the app-token to build the redirect url, and I get to authorize the new app. 
    then, using the new child app id and the shared-secret I built the 
    CreateAuthenticatedSessionToken:
    <?xml version="1.0" encoding="UTF-8"?>
    <wc-request:request xmlns:wc-request="urn:com.microsoft.wc.request">
    <header>
    <method>CreateAuthenticatedSessionToken</method>
    <method-version>2</method-version>
    <app-id>4417587e-46d1-49ee-a0fa-50dbfdcf932c</app-id>
    <language>en</language>
    <country>US</country>
    <msg-time>2013-01-01T00:00:00Z</msg-time>
    <msg-ttl>1800</msg-ttl>
    <version>2.0.0.0</version>
    </header>
    <info>
    <auth-info>
    <app-id>4417587e-46d1-49ee-a0fa-50dbfdcf932c</app-id>
    <credential>
    <appserver2>
    <hmacSig algName="HMACSHA256">PcW4f9krD1O43O4JGBGEkqDlpatFIUUQY9JejHji0XA=</hmacSig>
    <content>
    <app-id>4417587e-46d1-49ee-a0fa-50dbfdcf932c</app-id>
    <hmac>HMACSHA256</hmac>
    <signing-time>2013-12-17T14:19:58.623Z</signing-time>
    </content>
    </appserver2>
    </credential>
    </auth-info>
    </info>
    </wc-request:request>
    Being hmacSig value the encryption of "<content>....</content>" using shared-secret value as private key:
    hmacSig = Encodingutil.base64Encode(Crypto.generateMac('hmacSHA256', Blob.valueOf(body), Blob.valueOf(sharedSecret)))
    this returns an error code 11: The signature of the request does not match the request parameters.
    I'm using the following endpoint: https://platform.healthvault-ppe.com/platform/wildcat.ashx
    Also the redirection url I received after authorizing the app contains the following: 
    https://<MY_URL>/?gws_rd=cr&ei=h5ewUuKLJa7IsASc4YHIAw I'm not using this parameters, if that helps.
    Any hint will be greatly appreciated.
    UPDATE: I already checked the HMAC encoding using a third party service and it returned the same as my app

    I figured this out (God bless Pair Programming):
    I was signing incorrectly: 
    On the newApplicationCreationInfo:
    My Shared Secret is : gBksYDAqcuAUXK+zyvfFW9F0sy8nchwnplJ6K7aKmAM=
    But BEFORE hashing the "<content>...</content>" i need to decode my secret that is:
    hmacsig = calculateHMAC256(content, sharedSecret.decodeBase64())
     

  • Error: Path to object does not exist at Request

    Hi experts,
    i have a scenario asynchronous/syncrhonous: file to rfc and get back response rfc to other file. I have 3 communication channel: 1 sender file, 1 receiver file, 1 receiver RFC. The communication channel sender file show the follow error:
    Attempt to process file failed with com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at Request, the whole lookup name is localejbs/AF_Modules/Request/ResponseBean.
    I do not understand how modules(AF_Modules/Request/ResponseBean) in adapter works, the documents that I have found I am not much has clarified, could someone please explain and tell me something's error?
    very thanks,
    regards

    Hi,
    Check the receiver agreement, you might have configured the file receiver communication channel name instead of the RFC receiver communication channel name.
    Also check the module parameters in the sender file CC
    Processing sequence:
    Module name                                           Module type                               Module key
    AF_Modules/RequestResponseBean        Local Enterprise Bean                       1
    CallSapAdapter                                       Local Enterprise Bean                       2
    AF_Modules/ResponseOnewayBean         Local Enterprise Bean                       3
    Module configuration:
    Modulekey                              parameter name                         parametervalue
    1                                             passThrough                               true
    3                                            receiverChannel                            <File receiver  CC>
    3                                             receiverService                            <Receiver service name>
    Regards,
    Nithiyanandam

  • Common Services portal does not appear on the LMS 3.0 homepage

    Hi,
    I am encountering a problem on Ciscoworks LMS 3.0 wherein the Common Services portal does not appear on the homepage. This was after I tried to upgrade CW to LMS 3.2 but does not seem to work so I revert back to LMS 3.0. I even did a restore of the backup database but still no Common Services on the homepage.
    How do i resolve this?
    Appreaciate your help. Thanks in advance!

    If you're not seeing the Common Services application portlet on the Functional Portal View, then you need to open a TAC service request to get the steps to manually re-register all of the installed applications from the command line.

  • Scroll bar does not retain its position after or before pack

    Hi
    My Scroll bar does not retain its position after pack in my application.
    But i need to retain its state.
    My code snippet is :
    System.out.println("VAlue--->" + getHXValue());
    scrollPane.getHorizontalScrollBar().setValue(getHXValue());
    pack();
    My VAlue printed is 100.
    But my positon of scroll bar is at 0 th location.
    Can any one help me.....

    Swing related questions should be posted in the Swing forum.
    My code snippet is :Snippets don't help.
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    Don't forget to use the "Code Formatting Tags",
    see http://forum.java.sun.com/help.jspa?sec=formatting,
    so the posted code retains its original formatting.

  • HT1677 Safari when set to private browsing and cookies from sites I vist has a problem. I want it to keep cookies from sites I use such as my email and comic sites. Right now it does not retain cookies that set up my choices of comics as site internal fav

    Safari on the IPAD has the following problem.
    When set to private browsing and only accept cookies from sites I visit does not retain them after I shutdown Safari and then later restart it. I also found out that even if I leave it in background and close the cover of my case it will not retain the cookies even though I did not deactivate it.
    Things like email Ids and cookies that contain site specific favorites get deleted.
    Here is a site where you can set a series of favorites which get stored as cookies.
    http://www.seattlepi.com/comics-and-games/fun/Judge_Parker/
    Any Ideas... I have tried various settings but only public browseing keeps the cookies. I use private browsing to curtail popups and various trash from bothering me on my IPAD and Safari....

    Safari on the IPAD has the following problem.
    When set to private browsing and only accept cookies from sites I visit does not retain them after I shutdown Safari and then later restart it. I also found out that even if I leave it in background and close the cover of my case it will not retain the cookies even though I did not deactivate it.
    Things like email Ids and cookies that contain site specific favorites get deleted.
    Here is a site where you can set a series of favorites which get stored as cookies.
    http://www.seattlepi.com/comics-and-games/fun/Judge_Parker/
    Any Ideas... I have tried various settings but only public browseing keeps the cookies. I use private browsing to curtail popups and various trash from bothering me on my IPAD and Safari....

  • Home Page does not retain sign-on

    I just recently updated to FF 7.0.1. Since then my Home Page (Google.com) does not retain my sign on even though I have checked the box to remember the sign on information on this computer. It always worked before the update and that is the only thing that was changed. Windows VISTA home premium sp2 operating system. HP Pavilion dv9843cl Notebook PC.

    See:
    * http://kb.mozillazine.org/Preferences_not_saved

  • Does not retain sort state

    App Store does not retain sort state when returning from viewing an individual app to the full list of apps. If the full list spans more than one page, the page you were on is also not retained.
    I have no idea if this is a bug, a feature (or lack thereof), or an oddity on my computer. Since I can't find any other way to request a feature or post feedback to Apple, I'm putting this here.
    If by some chance this is an issue with my computer only or I'm missing some preference somewhere (ha!) I'd appreciate any help provided by the community.
    -s

    Yes, it is indeed VERY frustrating that the App Stores don't return you to where you left off browsing if you stop to click on an app to read more about it. Once you're done reading about an app that interests you, you're dumped right back at the beginning. So, just to get back where you were, you may have to plow through ten pages of apps. I get so fed up with being whisked back to page 1 all the time that I just give up and leave the App Store in disgust. I hate wasting my time paging backnthrough all the apps I've alread covered. ALSO, when looking over GENIUS recommendations on the App Store, why is it that even when I click on NOT INTERESTED for a given app, the app just stays there? It's like my clicking NOT INTERESTED has no effect whatsover. What's the problem with the App Store?

  • IMPORT Target Portal does not match the Source Portal version

    Hi,
    Executing the import via the command line gives me the following error: Error: Target Portal does not match the Source Portal version
    Cannot proceed with Import
    Checking the output of the script tells me that the portal source has version 9.0.2.6 and the target 9.0.4.0.
    Does this mean that there is no backwards compatibilty?
    How should I continue from here?
    Best Regards

    Portal Export/Import utilities are designed only to work between Portals which are at the same version level.
    For more information, please see this section in the Portal Export/Import FAQ for 9.0.2.6:
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/OTN_CONTENT/MAINPAGE/DEPLOY_PERFORM/9023_EXPORT_IMPORT_FAQ_0308.HTM#question_5
    OracleAS Portal allows you to upgrade your existing content to the latest release of Portal.
    What you need to do in your particular case is to upgrade your existing portal installation from 9.0.2.6 to 9.0.4 before using Portal Export/Import between your two portal instances.
    Best Regards,
    Harry

  • The server does not support the requested critical extension (0x8007202c)

    Hello guys,
    The sympton is the same as the one in "The
    server does not support the requested critical extension." Exception.
    I got the error in calling IDirectorySearch::GetNextRow. As I observe, the error is trigger when retrieving the another page of records. The LDAP path to connect is "GC://<FQDN_of_GC>". The search filter is (&(|(objectClass=group)(objectClass=msExchDynamicDistributionList))(mailnickname=*)).
    There are about 100 thousands of group objects in the forest. So the answer in that thread does not help.
    Any thoughts?
    Thanks.
    [email protected]

    Hi Michael,
    Thanks for your remind of the server is Windows 2008 R2. 
    After deep research on this topic, there were a couple of possible causes. One was based on asking AD to do sorting on the results of the query. Our calls to AD do not do any sorting at all. The other I came to was a couple of pages that may help alleviate
    the problem of groups in large AD environments. It has to deal with the temporary table size that Active Directory uses, with the tunable parameter MaxTempTableSize.
    The articles as below are for your reference:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvradmin/thread/95bfb95f-4e43-4dd8-ac3a-0c89d2cf528e
    http://support.microsoft.com/kb/315071
    http://msdn.microsoft.com/en-us/library/ms677927(VS.85).aspx
    Besides, if the above is not the cause of our issue, there may be something wrong in the C# code. Since I just an AD engineer and not familiar with the C# code, I suggest you should involve one C# code engineer to work with us about this issue. After doing
    many research, please add the class of the object when searching. For example, “DirectorySearcher ds = new DirectorySearcher(de, filter,class)”. I’m not sure if it’s correct, just a suggestion.
    Hope to hear good news from you soon. Happy X'MAS day!
    Best regards,
    Bryan

  • Firefox 29.0.1 Does Not Retain Options Settings. Cookies Enabled.

    On only one of my XP profiles, Firefox 29.0.1 does not retain the settings made under tools-options. I have deleted the cookies from Mozilla on the chance they may have been corrupted and have also cleared the web cache. The problem remains. Also, it is not clear in the new version how to have Firefox ask you each time before a cookie is accepted. Thanks for you help.

    You can try to delete the cookies.sqlite and permissions.sqlite files in the Firefox profile folder.
    You can use this button to go to the currently used Firefox profile folder:
    * Help > Troubleshooting Information > Profile Director: Show Folder (Linux: Open Director; Mac: Show in Finder)
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    * Click the "Site Identity Button" (globe/padlock) on the location bar
    * Click "More Information" to open "Tools > Page Info" with the Security tab selected
    * Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    Also see:
    [[Cookies - Information that websites store on your computer]]
    [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • MW64,  cs6 bridge when I move or copy files the  context menu does not retain  recent folder destinations after I close the program

    W64,  cs6 bridge when I move or copy files the  context menu does not retain  recent folder destinations after I close the program. The context options that show are the ones from original install. The workspace I set up is also gone. I have every explorer box and cleaner checked to save recent. Had to disable nivedia desktop software because of weird display conflict. Have Dell pro support and they cannot fix. Any ideas to help me with this would be appreciated.

    Self-solved!  I work in column view in Finder so get there in a Finder window with folders and files appearing.
    There really is no problem, just select an ITEM in the COLUMN before right-clicking!
    The "old" context menu will appear. If you click in the white space in that column (or anywhere in a Finder window) and then place the cursor over a folder or file WITHOUT selecting it and right-click you will bring up the secondary context menu - Open, Copy, Duplicate, View Options and a greyed out Labels option. No "Move to Trash".

  • Copy and Paste on Safari 5.0.2 does not retain formatting

    Hi there.
    I'm on Safari 5.0.2. and when I copy and paste something (in this case, on a message board--vBulletin, but it doesn't work on anything else) it does not retain the original formatting (for example--bold, italics, underline, etc.) If I copy something from Safari and paste it into another program, TextEdit for example, the formatting remains and works fine.
    This is extremely annoying. Anyone have any ideas?
    *If you're on Safari, try copying* and *pasting this sentence in a reply* --it will remove all the formatting for some reason. It will work in TextEdit, however. It's not just this message board software either...try it somewhere else too.
    Message was edited by: FINALBOSS

    Hi
    copying formatted text & pasting in Safari does retain the formatting, so long as the place you're pasting it supports varying fonts/styles.
    So copy/paste here, just shows as plain text.
    c/p to blogger.com in the 'compose' tab - works fine
    c/p to blogger in the 'html' tab - plain text
    same with textedit: paste from safari to textedit +in a plain text document+ -you get plain text.

  • Is there a save option on iPhoto? Sometimes iPhoto does not retain the name on a face I've added to a photo.

    Sometimes iPhoto does not retain the name on a face I've added to a photo. I have 'added a face' then flipped to the next picture then back to that picture and the label has disappeared.

    No.  It's supposed to be automatic.  You might try repairing the library's database and then see if it still crops up now and then. If that doesn't help try rebuilding it the same way.
    Launch iPhoto with the Option+Command keys held down and select the database repair option in the rebild window:
    Then the rebuild option if necessary.
    OT

  • APP-FND-01702 An assignment does not exit for these parameters

    Hi,
    I am facing this below error in AP,AR,CM,GL Modules. If any one knows the solution plz revert back ASAP,
    I encountered the error message when I created an invoice in AP module:
    APP-FND-01702:An assignment does not exist for these parameters and one is mandatory.
    Cause:The profile option Sequential Numbering is defined to have
    sequential numbering always used. The current set of parameters does not have a sequence assigned.
    Acction: Go to the Assign Sequqnces screen and assign a sequenct to the current set of parameters.
    Regards,
    senthil

    Hi Senthil,
    this is an issue with the configuration only, when the profile option is Always used system is referring to your Sequential numbering configuration, which seems to be not right / incomplete...Hence verify whether you have defined assignment for all the categories in the modules and re-test the same again ....
    You can change the profile option value to Partially used, which will not throw an error, it would only give you a warning ..
    Regards,
    Ivruksha

Maybe you are looking for

  • Iphone 5 has no signal after recent update

    i just updated my iphone 5 and for some reason i have no signal.  i cannot find a solution.  can someone help?

  • Depreciation for certain Category of Buildings in Netherlands

    Hello, In one of the roll-out I have come across specific requirement in Netherlands related to depreciation charge. APC Value - 100000 WOZ Value -  90000  Useful life of the Asset - 20 Years WOZ Value is the Govt. determined value of the asset.  You

  • Test-SPContentDatabase gives me configuration message even though I have tried classic and claims web app creation?

    Hi, I have a web application in SharePoint 2010 called DEreports. I have run command to create Classic Web App in 2013. New-SPWebApplication -Name $WebAppDisplayName  -Port 80 -HostHeader $WebAppRealName -URL "http://$WebAppRealName" -ApplicationPool

  • How to check double byte characters

    Hi My requirement: I have to accept the string (may include double byte characters and special characters). Need to check that wether that string contains any special characters(like %,&,..), if so should display error message. My solution: Starting

  • Resizing of content areas

    Hi there, I´m currently faced with the situation, where I have to put some dynamic content on a master page, which can expand it´s height. This leads to the problem, that I´m forced to dynamically resize the content area for the page content to preve