I have a requirement wherein I need to forward control from my struts action to a page URL. I am able generate URL to that page but how do i pass some parameters to that page so that the portlets on that page can utilize them?.. Here is what i have
Using this i am able to redirect. Now i have this code to append my params
The last statement throws ClassCast Exception .. tried different things .. wonder why.. is there any other means to do what i am trying to achieve.?
[ August 21, 2008: Message edited by: Dharmesh Chheda ] [ August 21, 2008: Message edited by: Dharmesh Chheda ]
For some strange reason(atleast I noticed this for the first time), in IBM portal, the parameters stored in the Object state are held as string array .. so when I was setting the values as type String, it was throwing a ClassCastException.
now setting the values as String array and works fine.. Phew!!!
regards,<br />Dharmesh Chheda
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop