This content has been marked as final.
Show 2 replies
-
1. Re: Passing a list from a form to a dialog
nimo22 Jan 16, 2009 10:33 PM (in response to manjukg)hello,
you have to use @Factory,
if you want the list immediately available when the user needs it at startup. -
2. Re: Passing a list from a form to a dialog
manjukg Jan 18, 2009 1:19 PM (in response to manjukg)Hi Nimo,
Thanks for the reply.
As I seen in the sample and understand, @Factory has been used within the bean where the list is being defined. In my case I need to send a list from the calling program to the dialog which is an independent entity with its own bean / xhtml files.
I would like to know what are the changes I need to do to the dialog and the calling program so that the list can be passed on to the dialog when it needs the list to populate.
I have tried to use @In(create=true) in the calling program to define the dialog as well as define the list. In dialog I have tried to use the list without creating it. I am using richfaces in the dialog to show the list of items. The result is I get the form up, but there is no activity on the form like no action is there when I click a button on the dialog to populate the list.
However the same dialog works when I use the dialog as a call from a link or I include the source in another xhtml file.
Also the dialog is being implemented as to work with long running conversations.
Please do let me know in case you need more info. from me to provide any suggestions.
Thanks,
With warm regards,
Manju