|
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 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, |
- [Tacos-devel] Update tacos:Dialog fields after ajax subm... Jonathan Bullkich
- RE: [Tacos-devel] Update tacos:Dialog fields after ... Jonathan Bullkich
- Re: [Tacos-devel] Update tacos:Dialog fields af... Jesse Kuhnert
- RE: [Tacos-devel] Update tacos:Dialog fields after ... Jonathan Bullkich
