This content has been marked as final.
Show 4 replies
-
1. Re: Programmatically add a A4J:JSFunction with ActionParams
fmarwede Feb 23, 2008 9:27 AM (in response to martinverzilli)Just a guess: set parent:
htmlActionParam.setParent(myFunction);
-
2. Re: Programmatically add a A4J:JSFunction with ActionParams
martinverzilli Feb 23, 2008 9:56 AM (in response to martinverzilli)Thank you for the quick answer! I tried it, but it didn't work.
Anyway, is it really necessary to explicitly set the parent after having added the component to its children collection? -
3. Re: Programmatically add a A4J:JSFunction with ActionParams
zeltner Feb 25, 2008 5:24 AM (in response to martinverzilli)Add the actionparameter as a listener to the ajaxfunction.
myfunction.addActionListener(htmlActionParam);
hope that helps.
/Markus -
4. Re: Programmatically add a A4J:JSFunction with ActionParams
martinverzilli Feb 25, 2008 8:36 AM (in response to martinverzilli)That worked!! Thank you very much zeltner! I would have never guessed that