I was trying to submit the data from textField by click submitButton, but it’s return nothing to my controller. But, when I remove the CJuiDialog, I can get what I typed before from the textfield. Is there something wrong about my CJuiDialog??? Or somebody else know how to solve this???
To reflect the text you quoted, remove the outer form and move the submit button into the inner form.
(In the other case I did mention, the dialog content represents a different model and will be submitted to a separate controller/action. Also an ID value will be returned to the main form before the dialog is closed.)
I’m so sorry Tri, I didn’t told you completely that outside the widget there are some components such as text Field and radio button that needs to be processed as well.
Based on the text I quoted above, jui would encapsulated everything within?? and I can’t get the value to submit it to the same controller/action outside jui? Because I need the data within jui to be submitted simultaneously with the other data from outside jui. That’s why I initiated the form at the very beginning.