Hi,

I've found a problem regarding an AjaxEventSubmit in a DatePicker.

It turns out that

<form jwcid="@tacos:AjaxForm">
   <input href="" jwcid="@tacos:AjaxSubmit"
       listener="listener:increment"
       updateComponents="ognl:{'label'}"
       type="Submit"
       focusElement="ganoFoco">
       increment </input>
   <span jwcid="[EMAIL PROTECTED]:AjaxEventSubmit"
clientSideValidationEnabled="false"
/>
   <input jwcid="[EMAIL PROTECTED]:DatePicker"
       eventListener="onchange=components.dpSubmit.id"
       value="ognl:fecha"
       />
</form>

runs correctly,

but the same Submit without the clientSideValidationEnabled parameter:

<form jwcid="@tacos:AjaxForm">
   <input href="" jwcid="@tacos:AjaxSubmit"
       listener="listener:increment"
       updateComponents="ognl:{'label'}"
       type="Submit"
       focusElement="ganoFoco">
       increment </input>
   <span jwcid="[EMAIL PROTECTED]:AjaxEventSubmit"/>
   <input jwcid="[EMAIL PROTECTED]:DatePicker"
       eventListener="onchange=components.dpSubmit.id"
       value="ognl:fecha"
       />
</form>

ends up in the following error:

DEBUG: AjaxFormSubmit submission - before onsubmit
event has no properties
(no name)(undefined)TestPage2.html (line 150)
run()dojo.js (line 4242)
(no name)()dojo.js (line 4154)
_3bf([Document TestPage2.html, "AjaxFormSubmit_AjaxForm_dpSubmit", undefined,
4 more...])dojo.js (line 4228)
forEach([[Document TestPage2.html, "AjaxFormSubmit_AjaxForm_dpSubmit",
undefined, 4 more...]], \"" + _3c2 + "\" does not exist on \"" + _3c1 +
"\""); } var _3c3 = marr[2] || dj_global; var _3c4 = marr[3]; var msg =
marr[6]; var _3c6; var to = {args:[], jp_:this, object:obj, proceed:function
(), undefined)dojo.js (line 1093)
run()dojo.js (line 4246)
(no name)()dojo.js (line 4154)
onSelect(Object activeDiv=td.day
currentDateEl=td.day)calendar-setup.js(line 111)
callHandler()calendar_withjava... (line 1274)
cellClick(td.day, mouseup clientX=0, clientY=0)calendar_withjava... (line
702)
tableMouseUp(mouseup clientX=0, clientY=0)calendar_withjava... (line 347)
tacos.applyFormHandlers("AjaxForm", event);

Fortunately I'm not in the need of clientSideValidation on this form but
this may be a bug.


cheers,

Miguel Hernández
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to