Add URL Parameter to Validator

Hi, my problem is this. I have a jsp page that uses a url parameter passed to it by the link, i.e <a href="userInfo.jsp?id=nav">. The id value is then used to conditionally populate the jsp drop-downs etc.
On a validation error the page is redisplayed, but the id parameter is not present and it gnarls the jsp output. Is there a way of giving the redisplayed page the id value that was originally present?
Thanks for any help.

I would add a hidden input to the page with the expected name and value. In this case it might be best to use straight HTML instead of the inputHidden component.

Similar Messages

  • Add url parameter in navigation-case

    Hi All,
    We need to add a param to the URL when doing navigation, the param value is come from a session bean. I tried following, but not working, the param showed in URL is just what I typed in the <to-view-id>, i.e. not runtime replaced by the session bean attribute value... does any one know how to do this?
    <navigation-rule>
    <from-view-id>/user/PODList.jspx</from-view-id>
    <navigation-case>
    <from-outcome>detail</from-outcome>
    <to-view-id>/user/PODDetail.jspx?crmid=#{userInfo.userId}</to-view-id>
    <redirect/>
    </navigation-case>
    </navigation-rule>
    Thanks so much.

    An update on this:
    I tried what Simon suggested. Turns out that it works perfectly !! It does exactly what I need. Thanks so much Simon. You are really an expert and great helper !!
    Thanks so much for your help. !!
    One more question to Simon and thread that this ViewHandler.getActionURL works perfectly with all those navigations that specified in Navigation case. Our app is also using a welcome-file-list in web.xml which specify the page to call when the app directory is called. e.g we have value like:
    <welcome-file-list>
    <welcome-file>/faces/user/firstpage.jspx</welcome-file>
    </welcome-file-list>
    So question is how to get this page also have the parameter appended?
    Thanks so much for any help.

  • I am getting this error message, " The URL is not valid and cannot be loaded" when I try to go to Firefox home. I have uninstalled add-ons, uninstaleed and reinstalled a fresh new firefox which did not help

    I am getting the following error message, " The URL is not valid and cannot be loaded" when I try to go to firefox home. I uninstalled add-ons , uninstalled Firefox and then installed a fresh version. Still have the problem.
    Thanks for the help

    That issue can be caused by a corrupted or incomplete Visual C++ installation (multiple versions can be installed side-by-side; SxS) that is missing some runtime components (Redistributable Packages) that Firefox depends on (problem with an embedded manifest file that specifies a specific runtime version).
    You need to install the missing components (e.g. VisualC++ 2005 Redistrbutable).
    * https://www.microsoft.com/download/en/details.aspx?id=5638
    *[[/questions/908165]] The URL is not valid and cannot be loaded
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=713167 bug 713167] - Microsoft.VC80.CRT SideBySide errors, browsercomps.dll

  • How can I add a url parameter to choose the right database row to delete using php in Dreamweaver CC

    Hi all,
    I have just upgraded to Adobe Creative Cloup.  Though I find it very good there was one flaw and that was the omision of the database section.  I got this sorted but now I find that once I have set up the connection to the database and want to eithger delete or update records there is no 'url parameter' button to do so.  Can someone advise we how to get round this.
    Seasons Greatings from
    David J

    The link will look similar to
    myPage.php?ID=myVariable

  • Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    Running Windows XP service pack 3. Updated Firefox from 8.0 to 9.0. Now when Firefox opens "The URL is not valid and cannot be loaded" is displayed in a window and no home page appears. What's wrong?

    That issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "?

    Why do i keep getting an Alert message saying "The URL is not valid and cannot be loaded "?
    This happens a lot regardless of the web page. I continually have to restart FF and it persists still

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • The URL is not valid and cannot be loaded

    seems like maybe firefox mishandles untrusted certificates?
    It gives error: Alert The URL is not valid and cannot be loaded.
    example:
    https://notes.corp.cat.com/
    other browsers can load this URL just fine. When I visit it in Firefox, I get the error in a simple little message box with a yellow triangle exclamation point, titled "Alert".
    ALSO.... when I click the "Home" button in firefox, I get the error, and the home page does not load. Currently the home page is set to "Mozilla Firefox Start Page."
    changing the home page to: http://www.google.com/ allows the home page button to work normally.
    restoring the home page to default brings the error behavior back when clicking the home button.
    changing the home page to: https://notes.corp.cat.com/ produces the same error, just like when I manually type in an https URL with a funky security certificate.
    This problem only seems to happen on secure URLs with untrusted certificates, i.e. sites that are too cheap to pay to have their certificate registered with one of the certificate vendors or however the hell that works, so as a result every time you visit their web site, your browser starts to whine that it might be a forgery or whatever.
    It used to be in Firefox that I could load these pages and just specify that I want to trust the site anyway. Now firefox gives this error that doesn't allow the user to know what is really going on or what the reason for the error is. It is as if the developers decided that users are too stupid to decide if they really want to visit the site or not, so as a result Firefox is just refusing to visit any web sites where the authenticity of the certificate can't be verified? Hey, it's not a bad idea, to be honest. :-) But it's kind of annoying, because here I am, sort of smart enough to know what I'm doing, but I don't have the choice in the matter...
    I restarted with all add-ons disabled and that didn't help. I don't have much installled in the way of add-ons anyway. All I have is JAVA quick starter 1.0, and Adobe Acrobat, Java development toolkit, Java platform SE, Microsoft DRM, and Windows Media Player Plug-in Dynamic Link Library. Not even Flash. All the above is disabled now that I rebooted with add-ons disabled, and I still have the issue.
    thanks for any help you can provide.

    Please [https://bugzilla.mozilla.org/show_bug.cgi?id=713167 see this.] Installing [https://www.microsoft.com/download/en/details.aspx?id=5638 Visual C++ 2005 SP1] or the .Net Framework 3.5 SP1 may help mitigate the issue.

  • How do I enable Firefox 4 to do a search on more than one word (e.g. "yahoo mail") without receiving the error message "the URL is not valid and cannot be loaded"?

    After loading Firefox 4.0, I changed the address bar search engine to Google Search by Name, so I'd be taken straight to the most relevant webpage when I type in a word.
    It works fine when I type in one word, but if I use a search with more than one word (e.g. "yahoo mail" or "google maps") I get an alert saying "The URL is not valid and cannot be loaded". Is there any way I can fix the address bar to accept multiple word searches?
    I've tried disabling all my add-ons, but it didn't make any difference.

    Hi, this should sort out your problem:
    1. Type in "about:config" into the address bar, this will open the settings menu. Click on "I'll be careful, I promise!"
    2. Search for "keyword.URL" in the filter bar.
    3. Enter "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=" into the value field.
    I'm no expert, but I had the same problem which got on my nerves after being so used to being able to type anything in, and following these steps fixed it.

  • How can I pass URL parameter value to text field?

    Dear Masters,
    I have a text field. I want it to have a value based on the URL parameter, for example:
    http://myapplication.net:7777/pls/apex/f?p=102:1:::::P1_RTNUM:9448,P1_EMAILADD:email.add.here
    I want the value of the text field = P1_EMAILADD after the form was loaded. Also, please have it read-only.
    Thanks a lot.
    Edited by: user6368519 on Sep 16, 2009 11:39 PM

    Thanks Saad,
    Can I email you(I would need your email) for any concerns or just create a new thread for you to look?
    This is ok now. I'm sorry but I just marked this one as an "answered" one last time.
    Thanks for all the help again I appreciate it. ;)
    Thanks,
    Aaron
    [email protected]

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • Continously get an alert: "URL is not valid and cannot be loaded."

    Every time I open a new page I see this error. Could it be connected to the Google Chrome add-on? I see that add-on the first few times I open a new tab then it disappears and I start getting this error.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *[[/questions/908165]] The URL is not valid and cannot be loaded

  • Url is not valid and cannot be loaded

    Hi all,
    I have a problem with https sites with sefl signed certificate. On other firefox version (3.6.x ...) when i connect to the first time on this sites, a page ask me if i want to add a security exception and add the certificate to my certs chain. Since i have installed firefox4b10, i have a messagebox that say "url is not valid and cannot be loaded"
    I have tested firefox4 b10 in safe mode, but nothing change. i run firefox 3.6.x, i get the security exception page, add an exception and then, i stop firefox and run firefox4b10, and now that the certificate is in registered, the site worked fine.
    this happen both on windows and linux
    Any help on this ?
    Thanks.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Why do I constantly receive a pop up telling me "this URL is not valid and cannot be loaded?"

    Why do I constantly receive a pop up telling me "this URL is not valid and cannot be loaded?" How can I stop this pop up?????? HELP!!!!!
    == This happened ==
    Every time Firefox opened
    == A week ago.

    Do you have the Google Toolbar installed? If so, go to '''Tools > Add-ons''' > Extensions''' Select the Google Toolbar, click '''Disable__ then restart Firefox.

  • My Browser cannot load web pages. I get The URL is not valid and cannot be loaded"

    I can no longer use Firefox. EVERY PAGE I attempt to load produces the following message alert: "The URL is not valid and cannot be loaded"
    I have already cleared everything in my browser, rebooted my computer and absolutely nothing works. This just started happening constantly today.

    Do other about: pages work properly?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    See also:
    *[[/questions/908165]] The URL is not valid and cannot be loaded

  • Tried to open Private browsing and get message "the url is not valid and cannot be loaded"

    up graded Firefox directly from older version to latest version and problem cropped up. Latest version on my laptop which is out of service and in shop works fine and on my net book works fine. Should I have done it in steps?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *[[/questions/908165]] The URL is not valid and cannot be loaded

Maybe you are looking for