You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jan Ferko <ju...@gmail.com> on 2010/11/05 17:25:19 UTC

Configuration of AbstractCalendar

Hi,

Can anyone tell me what is format of map for 
AbstractCalendar.configureWidgetProperties(Map map) ? For example I want 
to set navigator property to true, but map.put("navigator", true) 
doesn't work.

thanks for answer
Jan

Re: Configuration of AbstractCalendar

Posted by Jan Ferko <ju...@gmail.com>.
Is there any other component to use instead of AbstractCalendar for 
plain calendar without DatePicker?

Jan



> 2010/11/9 Igor Vaynberg <igor.vaynberg@gmail.com 
> <ma...@gmail.com>>
>
>     the value should be available in the formcomponent's model the
>     datepicker is attached to.
>
>     -igor
>
>
>     On Tue, Nov 9, 2010 at 2:27 AM, Jan Ferko <julyloov@gmail.com
>     <ma...@gmail.com>> wrote:
>     > Thanks,
>     >
>     > I figured it out. I have one more question ... can i use wicket
>     behaviour to
>     > retrieve selected date from calendar or i have to write some JS
>     hacks to do
>     > it?
>     >
>     >
>     > On 11/06/2010 06:38 PM, Igor Vaynberg wrote:
>     >>
>     >> i think its whatever format the yui component expects.
>     >>
>     >> -igor
>     >>
>     >> On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko<julyloov@gmail.com
>     <ma...@gmail.com>>  wrote:
>     >>
>     >>>
>     >>> Hi,
>     >>>
>     >>> Can anyone tell me what is format of map for
>     >>> AbstractCalendar.configureWidgetProperties(Map map) ? For
>     example I want
>     >>> to
>     >>> set navigator property to true, but map.put("navigator", true)
>     doesn't
>     >>> work.
>     >>>
>     >>> thanks for answer
>     >>> Jan
>     >>>
>     >>>
>     >>
>     >>
>     ---------------------------------------------------------------------
>     >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>     <ma...@wicket.apache.org>
>     >> For additional commands, e-mail: users-help@wicket.apache.org
>     <ma...@wicket.apache.org>
>     >>
>     >>
>     >
>     >
>     >
>     ---------------------------------------------------------------------
>     > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>     <ma...@wicket.apache.org>
>     > For additional commands, e-mail: users-help@wicket.apache.org
>     <ma...@wicket.apache.org>
>     >
>     >
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>     <ma...@wicket.apache.org>
>     For additional commands, e-mail: users-help@wicket.apache.org
>     <ma...@wicket.apache.org>
>
>
>
>
> -- 
> Jan Ferko,
> julyloov@gmail.com <ma...@gmail.com>


Re: Configuration of AbstractCalendar

Posted by Jan Ferko <ju...@gmail.com>.
The problem is that i am using only AbstractCalendar object, because I need
to use YUI CalendarGroup object and show multiple page calendar in page,
every page has only a few available cells for users to pick date of event.

2010/11/9 Igor Vaynberg <ig...@gmail.com>

> the value should be available in the formcomponent's model the
> datepicker is attached to.
>
> -igor
>
>
> On Tue, Nov 9, 2010 at 2:27 AM, Jan Ferko <ju...@gmail.com> wrote:
> > Thanks,
> >
> > I figured it out. I have one more question ... can i use wicket behaviour
> to
> > retrieve selected date from calendar or i have to write some JS hacks to
> do
> > it?
> >
> >
> > On 11/06/2010 06:38 PM, Igor Vaynberg wrote:
> >>
> >> i think its whatever format the yui component expects.
> >>
> >> -igor
> >>
> >> On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko<ju...@gmail.com>  wrote:
> >>
> >>>
> >>> Hi,
> >>>
> >>> Can anyone tell me what is format of map for
> >>> AbstractCalendar.configureWidgetProperties(Map map) ? For example I
> want
> >>> to
> >>> set navigator property to true, but map.put("navigator", true) doesn't
> >>> work.
> >>>
> >>> thanks for answer
> >>> Jan
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Jan Ferko,
julyloov@gmail.com

Re: Configuration of AbstractCalendar

Posted by Igor Vaynberg <ig...@gmail.com>.
the value should be available in the formcomponent's model the
datepicker is attached to.

-igor


On Tue, Nov 9, 2010 at 2:27 AM, Jan Ferko <ju...@gmail.com> wrote:
> Thanks,
>
> I figured it out. I have one more question ... can i use wicket behaviour to
> retrieve selected date from calendar or i have to write some JS hacks to do
> it?
>
>
> On 11/06/2010 06:38 PM, Igor Vaynberg wrote:
>>
>> i think its whatever format the yui component expects.
>>
>> -igor
>>
>> On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko<ju...@gmail.com>  wrote:
>>
>>>
>>> Hi,
>>>
>>> Can anyone tell me what is format of map for
>>> AbstractCalendar.configureWidgetProperties(Map map) ? For example I want
>>> to
>>> set navigator property to true, but map.put("navigator", true) doesn't
>>> work.
>>>
>>> thanks for answer
>>> Jan
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Configuration of AbstractCalendar

Posted by Jan Ferko <ju...@gmail.com>.
Thanks,

I figured it out. I have one more question ... can i use wicket 
behaviour to retrieve selected date from calendar or i have to write 
some JS hacks to do it?


On 11/06/2010 06:38 PM, Igor Vaynberg wrote:
> i think its whatever format the yui component expects.
>
> -igor
>
> On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko<ju...@gmail.com>  wrote:
>    
>> Hi,
>>
>> Can anyone tell me what is format of map for
>> AbstractCalendar.configureWidgetProperties(Map map) ? For example I want to
>> set navigator property to true, but map.put("navigator", true) doesn't work.
>>
>> thanks for answer
>> Jan
>>
>>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Configuration of AbstractCalendar

Posted by Igor Vaynberg <ig...@gmail.com>.
i think its whatever format the yui component expects.

-igor

On Fri, Nov 5, 2010 at 9:25 AM, Jan Ferko <ju...@gmail.com> wrote:
> Hi,
>
> Can anyone tell me what is format of map for
> AbstractCalendar.configureWidgetProperties(Map map) ? For example I want to
> set navigator property to true, but map.put("navigator", true) doesn't work.
>
> thanks for answer
> Jan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org