Where in the demo?

The Dialog demo does something else.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jesse Kuhnert
Sent: Thursday, May 04, 2006 7:02 PM
To: [email protected]
Subject: Re: [Tacos-devel] Update tacos:Dialog fields after ajax submit

 

The tacos demo does this and it works. Maybe start there ?

On 5/4/06, Jonathan Bullkich <[EMAIL PROTECTED] > wrote:

Has anyone tried this?

I can't get it to work. It seems that the widget is not updated with the new html data.

Any help would be appreciated.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jonathan Bullkich
Sent: Monday, May 01, 2006 7:03 PM
To: [email protected]
Subject: [Tacos-devel] Update tacos:Dialog fields after ajax submit

 

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




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around dojo/tapestry/tacos/hivemind.

Reply via email to