Thank you very much Werner for answering me. I'm new on JSF and I'm a bite 
loose. I had the modal dialog box embebed inside the same form that's why I 
couldn't get request parameters.

Another question for you, can you execute an action or actionListener from 
modal dialog and redisplay the modal dialog with new data without close it? 

Thanks again.


----- Mensaje original ----
De: Werner Punz <[EMAIL PROTECTED]>
Para: [email protected]
Enviado: miércoles, 20 de junio, 2007 13:28:08
Asunto: Re: Using modal dialog from Sandbox!


Angel Miralles Arevalo schrieb:
> Hi everyone, please someone who uses modal dialog from Sandbox...
>  
> I'm trying to send some information (inputText) from a modal dialog
> (like Irian example). It is possible?
>  
> Thank you very much.
> 

Yes you can do it the following ways
define the modal dialog box in its own form (never embed it in a form
that does not work) and then do a simple submit...

Use saveState or other techniques to keep the values outside of the form
which you want to preserve

Alternatively you can use javascript, you can define a javaScriptVar
name and use a javascript with a hide statement  to close the dialog
but then you have to move the values into their corresponding fields
in your main form.

Either way works.


                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

Reply via email to