Re: DateField renders twice in 1.3.0-rc1
On Nov 27, 2007 8:37 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > lol, sometimes the solution is just too damn obvious ;) > > > > Gerolf > > > > > > > thats called wicket. > yeah, obivously ;)
Re: DateField renders twice in 1.3.0-rc1
> > lol, sometimes the solution is just too damn obvious ;) > > Gerolf > > > thats called wicket.
Re: DateField renders twice in 1.3.0-rc1
> > looking at markup like this > > date: > > rather then > > date: id="foo"/> > > sucks. it is pretty unintuitive. i agree. i will enhance the javadoc for DateField for now. i guess we just have to live with it... > ok, let me correct you :) simply add an attribute modifier to the > created text field which adds all the necessary attributes > lol, sometimes the solution is just too damn obvious ;) Gerolf > > -igor > > > > > Gerolf > > > > > > > > > just my two cents > > > > > > > all of these changes can be implemented now as well, since they do not > > > break api > > > > > > well maybe at this point we should make (a) log a warning rather then > > > error out and leave a todo for 1.4 to switch to error > > > > > > -igor > > > > > > > > > On Nov 27, 2007 1:31 AM, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > > > i will add a big fat notice to the class's javadoc. > > > > it wouldn't hurt either to add more examples to wicket-examples... > > > > > > > > will do so later this day... > > > > > > > > Gerolf > > > > > > > > > > > > On Nov 27, 2007 10:27 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > > > > > > > > > I had the same problem the first time i tried using the component, > so > > > > > I would have to agree that some sort of warning would be handy > > > > > > > > > > On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED] > > wrote: > > > > > > hi matt, > > > > > > > > > > > > DateField is derived from FormComponentPanel and thus the markup > > > should > > > > > look > > > > > > something like this: > > > > > > > > > > > > > > > > > > > > > > > > maybe we should check that the associated tag is not an input > tag, > > > as > > > > > this > > > > > > is a rather common pitfall, > > > > > > or rename DateField to DateFieldPanel, but it's most probably > too > > > late > > > > > for > > > > > > that. > > > > > > > > > > > > Eelco, wdyt? > > > > > > > > > > > > Gerolf > > > > > > > > > > > > > > > > > > On Nov 27, 2007 10:08 AM, mraible < [EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > > > > > > > Changing the HTML from: > > > > > > > > > > > > > > > > size="11"/> > > > > > > > > > > > > > > To: > > > > > > > > > > > > > > > > > > > > > > > > > > > > Solved my problem. > > > > > > > > > > > > > > Unfortunately, there doesn't seem to be a way (from markup) to > add > > > my > > > > > > > class > > > > > > > classes (text small) to the input field rendered by this > > > component. > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > > > > mraible wrote: > > > > > > > > > > > > > > > > For some reason, when using the new > > > > > extensions.yui.calendar.DateField, I > > > > > > > > end up with two text fields on my page. I'm sure it's > something > > > I'm > > > > > > > doing > > > > > > > > wrong, but I can't see the solution at 2 a.m. (and I haven't > > > even > > > > > been > > > > > > > > drinking!). ;-) > > > > > > > > > > > > > > > > Java: > > > > > > > > > > > > > > > > add(new DateField("birthday"), new ResourceModel(" > user.birthday > > > ")); > > > > > > > > > > > > > > > > HTML: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
Re: DateField renders twice in 1.3.0-rc1
On Nov 27, 2007 11:24 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > > > a) it should check that it is attached to an input tag > > b) it should call setrenderbodyonly(true) on itself > > > this silently breaks the "api" (rather the usage), because you couldn't add > it to an AjaxRequestTarget anymore hmm, yeah that sucks a bit. we can mutate the tag and strip all attributes, but then there is no good default to mutate it to as it will most likely always mess with user's css. i guess the design of this stinks a bit... looking at markup like this date: rather then date: sucks. it is pretty unintuitive. > > c) it should carry over any attributes from the panel tag to the inner > > input tag > > > > correct me if i'm wrong: this is not possible since the the actual > DateTextField (and thus the inner input tag) is provided via a factory > method, > so we cannot make sure that users override the onComponentTag method to put > attributes from the DateField's tag to the DateTextField's tag. > not even considering the static factory methods on DateTextField... ok, let me correct you :) simply add an attribute modifier to the created text field which adds all the necessary attributes -igor > > Gerolf > > > > > just my two cents > > > > all of these changes can be implemented now as well, since they do not > > break api > > > > well maybe at this point we should make (a) log a warning rather then > > error out and leave a todo for 1.4 to switch to error > > > > -igor > > > > > > On Nov 27, 2007 1:31 AM, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > > i will add a big fat notice to the class's javadoc. > > > it wouldn't hurt either to add more examples to wicket-examples... > > > > > > will do so later this day... > > > > > > Gerolf > > > > > > > > > On Nov 27, 2007 10:27 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > > > > > > > I had the same problem the first time i tried using the component, so > > > > I would have to agree that some sort of warning would be handy > > > > > > > > On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > > > > hi matt, > > > > > > > > > > DateField is derived from FormComponentPanel and thus the markup > > should > > > > look > > > > > something like this: > > > > > > > > > > > > > > > > > > > > maybe we should check that the associated tag is not an input tag, > > as > > > > this > > > > > is a rather common pitfall, > > > > > or rename DateField to DateFieldPanel, but it's most probably too > > late > > > > for > > > > > that. > > > > > > > > > > Eelco, wdyt? > > > > > > > > > > Gerolf > > > > > > > > > > > > > > > On Nov 27, 2007 10:08 AM, mraible < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > Changing the HTML from: > > > > > > > > > > > > > size="11"/> > > > > > > > > > > > > To: > > > > > > > > > > > > > > > > > > > > > > > > Solved my problem. > > > > > > > > > > > > Unfortunately, there doesn't seem to be a way (from markup) to add > > my > > > > > > class > > > > > > classes (text small) to the input field rendered by this > > component. > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > mraible wrote: > > > > > > > > > > > > > > For some reason, when using the new > > > > extensions.yui.calendar.DateField, I > > > > > > > end up with two text fields on my page. I'm sure it's something > > I'm > > > > > > doing > > > > > > > wrong, but I can't see the solution at 2 a.m. (and I haven't > > even > > > > been > > > > > > > drinking!). ;-) > > > > > > > > > > > > > > Java: > > > > > > > > > > > > > > add
Re: DateField renders twice in 1.3.0-rc1
> > a) it should check that it is attached to an input tag > b) it should call setrenderbodyonly(true) on itself this silently breaks the "api" (rather the usage), because you couldn't add it to an AjaxRequestTarget anymore > > c) it should carry over any attributes from the panel tag to the inner > input tag > correct me if i'm wrong: this is not possible since the the actual DateTextField (and thus the inner input tag) is provided via a factory method, so we cannot make sure that users override the onComponentTag method to put attributes from the DateField's tag to the DateTextField's tag. not even considering the static factory methods on DateTextField... Gerolf > just my two cents > all of these changes can be implemented now as well, since they do not > break api > > well maybe at this point we should make (a) log a warning rather then > error out and leave a todo for 1.4 to switch to error > > -igor > > > On Nov 27, 2007 1:31 AM, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > i will add a big fat notice to the class's javadoc. > > it wouldn't hurt either to add more examples to wicket-examples... > > > > will do so later this day... > > > > Gerolf > > > > > > On Nov 27, 2007 10:27 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > > > > > I had the same problem the first time i tried using the component, so > > > I would have to agree that some sort of warning would be handy > > > > > > On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED] > wrote: > > > > hi matt, > > > > > > > > DateField is derived from FormComponentPanel and thus the markup > should > > > look > > > > something like this: > > > > > > > > > > > > > > > > maybe we should check that the associated tag is not an input tag, > as > > > this > > > > is a rather common pitfall, > > > > or rename DateField to DateFieldPanel, but it's most probably too > late > > > for > > > > that. > > > > > > > > Eelco, wdyt? > > > > > > > > Gerolf > > > > > > > > > > > > On Nov 27, 2007 10:08 AM, mraible < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > Changing the HTML from: > > > > > > > > > > size="11"/> > > > > > > > > > > To: > > > > > > > > > > > > > > > > > > > > Solved my problem. > > > > > > > > > > Unfortunately, there doesn't seem to be a way (from markup) to add > my > > > > > class > > > > > classes (text small) to the input field rendered by this > component. > > > > > > > > > > Matt > > > > > > > > > > > > > > > mraible wrote: > > > > > > > > > > > > For some reason, when using the new > > > extensions.yui.calendar.DateField, I > > > > > > end up with two text fields on my page. I'm sure it's something > I'm > > > > > doing > > > > > > wrong, but I can't see the solution at 2 a.m. (and I haven't > even > > > been > > > > > > drinking!). ;-) > > > > > > > > > > > > Java: > > > > > > > > > > > > add(new DateField("birthday"), new ResourceModel(" user.birthday > ")); > > > > > > > > > > > > HTML: > > > > > > > > > > > > > > > > > > > > > > > key=" user.birthday">Birthday: > > > > > > > > > > > > > > > > > size="11"/> > > > > > > [birthday feedback] > > > > > > > > > > > > > > > > > > > > > > > > The rendered markup has two input fields. Any ideas how to fix? > > > > > > > > > > > > > > > > > > Birthday: > > > > > > > > > > > > > > name="birthday"> > > > > > > > > > > > > > > name="birthday:date" > > > > > > id="date3"/> > > > > > > > > > > > > > > > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I've attached a screenshot of what it looks like. > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Matt > > > > > > > > > > > > http://www.nabble.com/file/p13967061/twodatefields.png > > > > > > > > > > > > > > > > -- > > > > > View this message in context: > > > > > > > > > http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 > > > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > > > > > > > > - > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: DateField renders twice in 1.3.0-rc1
> a) it should check that it is attached to an input tag > b) it should call setrenderbodyonly(true) on itself > c) it should carry over any attributes from the panel tag to the inner input > tag It could do that magic if it is attached to a text field, but leave things as they are if it is attached to another tag. Won't break the API and lets people use whatever they prefer. Then there is a decision to be made what to do with the text field that is produced (possibly overriden) by newDateTextField. Should the markup win and override any attributes defined on that? It is easier for people to just use a regular text field and couple a DatePicker separately. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DateField renders twice in 1.3.0-rc1
here is what this should be doing: a) it should check that it is attached to an input tag b) it should call setrenderbodyonly(true) on itself c) it should carry over any attributes from the panel tag to the inner input tag just my two cents all of these changes can be implemented now as well, since they do not break api well maybe at this point we should make (a) log a warning rather then error out and leave a todo for 1.4 to switch to error -igor On Nov 27, 2007 1:31 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > i will add a big fat notice to the class's javadoc. > it wouldn't hurt either to add more examples to wicket-examples... > > will do so later this day... > > Gerolf > > > On Nov 27, 2007 10:27 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > > > I had the same problem the first time i tried using the component, so > > I would have to agree that some sort of warning would be handy > > > > On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > > hi matt, > > > > > > DateField is derived from FormComponentPanel and thus the markup should > > look > > > something like this: > > > > > > > > > > > > maybe we should check that the associated tag is not an input tag, as > > this > > > is a rather common pitfall, > > > or rename DateField to DateFieldPanel, but it's most probably too late > > for > > > that. > > > > > > Eelco, wdyt? > > > > > > Gerolf > > > > > > > > > On Nov 27, 2007 10:08 AM, mraible <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Changing the HTML from: > > > > > > > > > > > > > > > > To: > > > > > > > > > > > > > > > > Solved my problem. > > > > > > > > Unfortunately, there doesn't seem to be a way (from markup) to add my > > > > class > > > > classes (text small) to the input field rendered by this component. > > > > > > > > Matt > > > > > > > > > > > > mraible wrote: > > > > > > > > > > For some reason, when using the new > > extensions.yui.calendar.DateField, I > > > > > end up with two text fields on my page. I'm sure it's something I'm > > > > doing > > > > > wrong, but I can't see the solution at 2 a.m. (and I haven't even > > been > > > > > drinking!). ;-) > > > > > > > > > > Java: > > > > > > > > > > add(new DateField("birthday"), new ResourceModel("user.birthday")); > > > > > > > > > > HTML: > > > > > > > > > > > > > > > > > > > key="user.birthday">Birthday: > > > > > > > > > > > > > > size="11"/> > > > > > [birthday feedback] > > > > > > > > > > > > > > > > > > > > The rendered markup has two input fields. Any ideas how to fix? > > > > > > > > > > > > > > > Birthday: > > > > > > > > > > > name="birthday"> > > > > > > > > > > > name="birthday:date" > > > > > id="date3"/> > > > > > > > > > > > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I've attached a screenshot of what it looks like. > > > > > > > > > > Thanks, > > > > > > > > > > Matt > > > > > > > > > > http://www.nabble.com/file/p13967061/twodatefields.png > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 > > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > > > > - > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DateField renders twice in 1.3.0-rc1
i will add a big fat notice to the class's javadoc. it wouldn't hurt either to add more examples to wicket-examples... will do so later this day... Gerolf On Nov 27, 2007 10:27 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > I had the same problem the first time i tried using the component, so > I would have to agree that some sort of warning would be handy > > On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > > hi matt, > > > > DateField is derived from FormComponentPanel and thus the markup should > look > > something like this: > > > > > > > > maybe we should check that the associated tag is not an input tag, as > this > > is a rather common pitfall, > > or rename DateField to DateFieldPanel, but it's most probably too late > for > > that. > > > > Eelco, wdyt? > > > > Gerolf > > > > > > On Nov 27, 2007 10:08 AM, mraible <[EMAIL PROTECTED]> wrote: > > > > > > > > Changing the HTML from: > > > > > > > > > > > > To: > > > > > > > > > > > > Solved my problem. > > > > > > Unfortunately, there doesn't seem to be a way (from markup) to add my > > > class > > > classes (text small) to the input field rendered by this component. > > > > > > Matt > > > > > > > > > mraible wrote: > > > > > > > > For some reason, when using the new > extensions.yui.calendar.DateField, I > > > > end up with two text fields on my page. I'm sure it's something I'm > > > doing > > > > wrong, but I can't see the solution at 2 a.m. (and I haven't even > been > > > > drinking!). ;-) > > > > > > > > Java: > > > > > > > > add(new DateField("birthday"), new ResourceModel("user.birthday")); > > > > > > > > HTML: > > > > > > > > > > > > > > > key="user.birthday">Birthday: > > > > > > > > > > > size="11"/> > > > > [birthday feedback] > > > > > > > > > > > > > > > > The rendered markup has two input fields. Any ideas how to fix? > > > > > > > > > > > > Birthday: > > > > > > > > name="birthday"> > > > > > > > > name="birthday:date" > > > > id="date3"/> > > > > > > > > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I've attached a screenshot of what it looks like. > > > > > > > > Thanks, > > > > > > > > Matt > > > > > > > > http://www.nabble.com/file/p13967061/twodatefields.png > > > > > > > > > > -- > > > View this message in context: > > > > http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: DateField renders twice in 1.3.0-rc1
I had the same problem the first time i tried using the component, so I would have to agree that some sort of warning would be handy On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > hi matt, > > DateField is derived from FormComponentPanel and thus the markup should look > something like this: > > > > maybe we should check that the associated tag is not an input tag, as this > is a rather common pitfall, > or rename DateField to DateFieldPanel, but it's most probably too late for > that. > > Eelco, wdyt? > > Gerolf > > > On Nov 27, 2007 10:08 AM, mraible <[EMAIL PROTECTED]> wrote: > > > > > Changing the HTML from: > > > > > > > > To: > > > > > > > > Solved my problem. > > > > Unfortunately, there doesn't seem to be a way (from markup) to add my > > class > > classes (text small) to the input field rendered by this component. > > > > Matt > > > > > > mraible wrote: > > > > > > For some reason, when using the new extensions.yui.calendar.DateField, I > > > end up with two text fields on my page. I'm sure it's something I'm > > doing > > > wrong, but I can't see the solution at 2 a.m. (and I haven't even been > > > drinking!). ;-) > > > > > > Java: > > > > > > add(new DateField("birthday"), new ResourceModel("user.birthday")); > > > > > > HTML: > > > > > > > > > > > key="user.birthday">Birthday: > > > > > > > > size="11"/> > > > [birthday feedback] > > > > > > > > > > > > The rendered markup has two input fields. Any ideas how to fix? > > > > > > > > > Birthday: > > > > > > > > > > > > > > id="date3"/> > > > > > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > > > > > > > > > > > > > > > > > > > I've attached a screenshot of what it looks like. > > > > > > Thanks, > > > > > > Matt > > > > > > http://www.nabble.com/file/p13967061/twodatefields.png > > > > > > > -- > > View this message in context: > > http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DateField renders twice in 1.3.0-rc1
hi matt, DateField is derived from FormComponentPanel and thus the markup should look something like this: maybe we should check that the associated tag is not an input tag, as this is a rather common pitfall, or rename DateField to DateFieldPanel, but it's most probably too late for that. Eelco, wdyt? Gerolf On Nov 27, 2007 10:08 AM, mraible <[EMAIL PROTECTED]> wrote: > > Changing the HTML from: > > > > To: > > > > Solved my problem. > > Unfortunately, there doesn't seem to be a way (from markup) to add my > class > classes (text small) to the input field rendered by this component. > > Matt > > > mraible wrote: > > > > For some reason, when using the new extensions.yui.calendar.DateField, I > > end up with two text fields on my page. I'm sure it's something I'm > doing > > wrong, but I can't see the solution at 2 a.m. (and I haven't even been > > drinking!). ;-) > > > > Java: > > > > add(new DateField("birthday"), new ResourceModel("user.birthday")); > > > > HTML: > > > > > > > key="user.birthday">Birthday: > > > > > size="11"/> > > [birthday feedback] > > > > > > > > The rendered markup has two input fields. Any ideas how to fix? > > > > > > Birthday: > > > > > > > > > id="date3"/> > > > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > > > > > > > > > > I've attached a screenshot of what it looks like. > > > > Thanks, > > > > Matt > > > > http://www.nabble.com/file/p13967061/twodatefields.png > > > > -- > View this message in context: > http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: DateField renders twice in 1.3.0-rc1
Changing the HTML from: To: Solved my problem. Unfortunately, there doesn't seem to be a way (from markup) to add my class classes (text small) to the input field rendered by this component. Matt mraible wrote: > > For some reason, when using the new extensions.yui.calendar.DateField, I > end up with two text fields on my page. I'm sure it's something I'm doing > wrong, but I can't see the solution at 2 a.m. (and I haven't even been > drinking!). ;-) > > Java: > > add(new DateField("birthday"), new ResourceModel("user.birthday")); > > HTML: > > > key="user.birthday">Birthday: > > size="11"/> > [birthday feedback] > > > > The rendered markup has two input fields. Any ideas how to fix? > > > Birthday: > > > > id="date3"/> > > resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif > > > > > > > > > I've attached a screenshot of what it looks like. > > Thanks, > > Matt > > http://www.nabble.com/file/p13967061/twodatefields.png > -- View this message in context: http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967084 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DateField renders twice in 1.3.0-rc1
For some reason, when using the new extensions.yui.calendar.DateField, I end up with two text fields on my page. I'm sure it's something I'm doing wrong, but I can't see the solution at 2 a.m. (and I haven't even been drinking!). ;-) Java: add(new DateField("birthday"), new ResourceModel("user.birthday")); HTML: Birthday: [birthday feedback] The rendered markup has two input fields. Any ideas how to fix? Birthday: resources/org.apache.wicket.extensions.yui.calendar.DatePicker/icon1.gif I've attached a screenshot of what it looks like. Thanks, Matt http://www.nabble.com/file/p13967061/twodatefields.png -- View this message in context: http://www.nabble.com/DateField-renders-twice-in-1.3.0-rc1-tf4880492.html#a13967061 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]