This content has been marked as final.
Show 3 replies
-
1. Re: how to pass a parameter to a ModalPanel
lvdberg May 21, 2011 3:05 PM (in response to coenos)Hi Coen,
maybe I donn't understand what you're trying to do, but the commandLink action calls the method which sets the product id and after that it calls the open script. The additional action param shouldn't be necessary in this case, or am I missing something.
Leo
-
2. Re: how to pass a parameter to a ModalPanel
imion2k5 May 21, 2011 5:51 PM (in response to coenos)Hi Coen,
try to add the reRender attribute to your commandLink:
reRender="yourModelPanelId"
Then open the modalPanel in the onComplete method. The panel should be rendered after the parameter is set. Leo is right, the actionparam isn't necessary.
Björn
-
3. Re: how to pass a parameter to a ModalPanel
coenos May 22, 2011 4:11 AM (in response to coenos)Hi Bjorn,
rerendering indeed does the trick ! thanks!
I knew that the actionParam was another approach, but I got that from an example, so I just kept it there so you'd see the entire call I created.
Cheers,
Coen