|
Hello, I am wondering if it is possible to attach parameters in the
actionListener method of a JSCookMenu. Here is my particular situation: a) the jscookmenu
is completely dynamically generated. It changes as the user performs actions in
the application. b) Selecting
menu items should direct users to different pages. This navigation should be
dynamic. c) I have
actionListener methods attached to the cookmenu, and I can easily do the
following: Public void
actionListener(ActionEvent evt) { UIComponent
uic = evt.getComponent(); UIParameter
uip = new UIParameter(); Uip.setName(“display”); Uip.setValue(“something”); Uip.setParent(uic); } However,
this doesn’t work, because the component is “re-generated”
and this instance of the component doesn’t have the parameter attached to
it. Consequently, my JSP looking for param.display cannot find the parameter.
Any interesting ideas? I know that I cannot use the f:param tag in the JSP, but
if somebody has a workaround, I would love to hear it. Thanks, Saumil |

