Shah Amit
Sun, 10 Apr 2005 12:40:29 -0700
Thanks again, Amit
----Original Message Follows---- From: Ate Douma <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <jetspeed-user@jakarta.apache.org> To: Jetspeed Users List <jetspeed-user@jakarta.apache.org> Subject: Re: Struts Bridge - ActionRequest Related Question Date: Sun, 10 Apr 2005 21:34:49 +0200
...
<init-param>
<name>ViewPage</name>
<value>/r5prAction.do?dispatch=loadDropDowns</name>
</init-param>
...
This is ok.
<javascript> location='<html:rewrite href="/r5prAction.do"/>'; location=location+"?dispatch=loadSecondDropdown" </javascript>
This is not ok!
You *must* encode the dispatch=loadSecondDropdown parameter using the html:rewrite tag itself, *not* append it yourself.
Now all of this works fine for the first time. I am able to click on the link from the menu-navigation system and come to this page, and then the dropdowns behave properly. But the thing is, once I fire an OnChange on any of the dropdowns, if I try to click on the maximize, minize buttons of the portlet, or even try to re-enter the portlet with the link from the menu-navigation system, I get the following error --
Request[/r5prAction.do] does not contain handler parameter named 'dispatch'.
I guess something is happening and I am loosing the "dispatch" parameter. But the thing is, as long as I haven't fired the onChange of the dropdown, meaning - as long as the window.top.location has not been called, I can click on maximize, minimize buttons and everything else works great. Its only that once I fire the window.top.location, I start getting this error. And after that, I have to logout and log back in.
I tried everything I can, but I can't figure out why this is happening. The problem is I want to use DispatchAction so that I dont have to write lot of classes for the same jsp. Also very sorry for such a long email.
Please help !!!!
Thanks, Amit
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]