have an enclosing <div jwcid="[EMAIL PROTECTED]"> <span jwcid="@If"> Form 1 here </span> <span jwcid="@Else"> Form 2 here </span> </div>
and updateComponents will update twoForms On 12/13/06, karthik G <[EMAIL PROTECTED]> wrote:
I have one page in my application. I want to display a panel/form (FORM-1) in the page that allows user to do ajax submit. Once that is done , i want to replace FORM-1 with a different FORM-2 that didn't exist before in the page. I see that AjaxSubmit has a property updateComponents where we are supposed to list the ids of the components that you want rendered as ajax response? Now how do i go about getting this to work? Form-2 needs to exist in the Page and not be visible / not rendered on start up?
-- Thanks, Karthik