Try to clear your browser caches, maybe there is an old js lib still used

On 4/18/08, Vadim Tesis <[EMAIL PROTECTED]> wrote:
>
> all,
>
> i'm trying to move from wicket-1.3.0-rc2 to wicket-1.3.3.  for some reason i
> started having problems with DateTextField.  it's displaying an error in
> java script:
> Line: 2072Error: Object doesn't support this property or method
>
> it looks like the error comes from file: yuiloader-beta.js
> line:2072:  this.moduleInfo = lang.merge(YUI.info.moduleInfo);
>
> which gets called from the script generated in my page:
> if (typeof wicketYuiLoader == 'undefined') { wicketYuiLoader = new
> YAHOO.util.YUILoader({  base:
> "resources/org.apache.wicket.extensions.yui.YuiLib/",   filter: "RAW",
> allowRollup: false,  require: ["wicket-date"],    onSuccess: function() {
> wicketCalendarInitFinished = true;    while (wicketCalendarInits.length > 0)
> {    wicketCalendarInits.pop()();   }    } });
>
> if i switch back to wicket-1.3.0-rc2, the error goes away.
> below is my markup and java code.  does anyone have any suggestions on how
> to fix the issue?
>
> Thanks,
> Vadim
>
>
> here's the markup:
> <div class="control"><input type="text" name="textStart"
> wicket:id="textStart"/></div>
>
> here's java code:
> final DateField df = new DateField("textStart", new PropertyModel(this,
> PROP_START))
> {
>     private static final long serialVersionUID = 1L;
>     @Override
>     protected DateTextField newDateTextField(final String id_, final
> PropertyModel model_)
>     {
>         return (new DateTextField(id_, model_, new StyleDateConverter("S-",
> true)));
>      }
> };
> getForm().add(df);
>
> _________________________________________________________________
> Pack up or back up–use SkyDrive to transfer files or keep extra copies.
> Learn how.
> http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_packup_042008

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to