Hi,

 

I have a page with an AjaxForm and a tacos:Dialog on it.

When the form is submitted it updates a field that appears in the dialog,

but when the dialog is opened (after the form submission) the value is not updated.

How can I make it work?

 

Here's a code sample:

 

<form jwcid="[EMAIL PROTECTED]:AjaxForm"

      listener="listener:onPaletteFormSubmit">

            <span jwcid="@TextField" value="ognl:inputValue"/>

      <a jwcid="@tacos:AjaxLinkSubmit"

            listener="listener:onFilterTest"

            updateComponents="ognl:{'updFilter', 'tacosDialogInfo'}">

            <img jwcid="@mycomps:ImageButton"

                  image="asset:filterImage"

                  disabledImage="asset:filterImageDisabled"

                  overImage="asset:filterImageOver"/>

</a>

</form>

 

<input type="button" value="Open Dialog" >

     

<span jwcid="@Any" id="tacosDialogInfo">

<div jwcid="[EMAIL PROTECTED]:Dialog" hidden="ognl:true">

            <input jwcid="@Insert" value="ognl:inputValue"/>

            <input type="button" value="Close"

>

      </div>

</span>

           

<script type="text/_javascript_">

      function openTacosDlg() {

            dojo.widget.byId('testDialog').show();

      }

      function closeTacosDlg() {

            dojo.widget.byId('testDialog').hide();

      }

</script>

 

Thanks,

 

Jonathan Bullkich

Reply via email to