i tried to modify the quick start and it works fine there.
it looks like it's conflicting with wicketstuff-yui-1.3.0 which is using yui
2.2.2. i did some searching and it looked that someone was working on porting
wicketstuff-yui to 2.3.0. was it completed, if yes, where can i get the
source? i'm using wicketstuff-yui for dropdown menus, is there anything else i
could use to work around the issue?
Thanks,
Vadim
> From: [EMAIL PROTECTED]> To: [email protected]> Subject: RE: problem
> with DateTextField in wicket 1.3> Date: Sat, 19 Apr 2008 18:34:10 +0000> > >
> i've tried that, didn't help. the issue occurs with at least 2 browsers: IE 7
> and Firefox 2.0> Date: Sat, 19 Apr 2008 10:20:57 +0200> From: [EMAIL
> PROTECTED]> To: [email protected]> Subject: Re: problem with
> DateTextField in wicket 1.3> > 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]> >
> _________________________________________________________________> Use video
> conversation to talk face-to-face with Windows Live Messenger.>
> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_042008
_________________________________________________________________
More immediate than e-mail? Get instant access with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008