how to create the calender in GWT

2008-09-26 Thread Ananda Rao

Hi,

can any one help me in doing the below task?

1) i want to create a calender in GWT.
2) when ever i click a button i should get the calender.
3) in that i should be able to navigate to any month and year.
4) when ever i click on the particular date then it should display the
selected date/month/year in the text box

you might have seen this in some sites. like online reservation etc,
where in you can select the date .

please can any one know how can i do this in GWT?

Regards,
Ananda

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to create the calender in GWT

2008-09-26 Thread Isaac Truett

Here's what I did:

1. Create a Composite that has a Button and a TextBox (perhaps a
HorizontalPanel for layout).
2. Add a ClickListener to the Button that displays a DatePicker (from
GWT Incubator) in a PopupPanel.
3. Add a ChangeHandlerDate to the DatePicker that formats the
selected Date and puts that String into the TextBox, then hides the
PopupPanel.

Salt to taste and place in a 400F oven until edges begin to separate
from the pan.*

- Isaac

* Do not put your computer in the oven.



On Fri, Sep 26, 2008 at 12:11 PM, Ananda Rao
[EMAIL PROTECTED] wrote:

 Hi,

 can any one help me in doing the below task?

 1) i want to create a calender in GWT.
 2) when ever i click a button i should get the calender.
 3) in that i should be able to navigate to any month and year.
 4) when ever i click on the particular date then it should display the
 selected date/month/year in the text box

 you might have seen this in some sites. like online reservation etc,
 where in you can select the date .

 please can any one know how can i do this in GWT?

 Regards,
 Ananda

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to create the calender in GWT

2008-09-26 Thread Ananda Rao

thanks for the reply isaac,


can you please tell me how to implement the DatePicker  and ChangeHandler


Ananda

On Fri, Sep 26, 2008 at 9:50 PM, Isaac Truett [EMAIL PROTECTED] wrote:

 Here's what I did:

 1. Create a Composite that has a Button and a TextBox (perhaps a
 HorizontalPanel for layout).
 2. Add a ClickListener to the Button that displays a DatePicker (from
 GWT Incubator) in a PopupPanel.
 3. Add a ChangeHandlerDate to the DatePicker that formats the
 selected Date and puts that String into the TextBox, then hides the
 PopupPanel.

 Salt to taste and place in a 400F oven until edges begin to separate
 from the pan.*

 - Isaac

 * Do not put your computer in the oven.



 On Fri, Sep 26, 2008 at 12:11 PM, Ananda Rao
 [EMAIL PROTECTED] wrote:

 Hi,

 can any one help me in doing the below task?

 1) i want to create a calender in GWT.
 2) when ever i click a button i should get the calender.
 3) in that i should be able to navigate to any month and year.
 4) when ever i click on the particular date then it should display the
 selected date/month/year in the text box

 you might have seen this in some sites. like online reservation etc,
 where in you can select the date .

 please can any one know how can i do this in GWT?

 Regards,
 Ananda

 


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to create the calender in GWT

2008-09-26 Thread Isaac Truett

The DatePicker and ChangeHandler are components from the GWT Incubator
project. You can read more about them at the follow URLs.

GWT Incubator - http://code.google.com/p/google-web-toolkit-incubator/
DatePicker intro -
http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=DatePicker


On Fri, Sep 26, 2008 at 12:56 PM, Ananda Rao
[EMAIL PROTECTED] wrote:

 thanks for the reply isaac,


 can you please tell me how to implement the DatePicker  and ChangeHandler


 Ananda

 On Fri, Sep 26, 2008 at 9:50 PM, Isaac Truett [EMAIL PROTECTED] wrote:

 Here's what I did:

 1. Create a Composite that has a Button and a TextBox (perhaps a
 HorizontalPanel for layout).
 2. Add a ClickListener to the Button that displays a DatePicker (from
 GWT Incubator) in a PopupPanel.
 3. Add a ChangeHandlerDate to the DatePicker that formats the
 selected Date and puts that String into the TextBox, then hides the
 PopupPanel.

 Salt to taste and place in a 400F oven until edges begin to separate
 from the pan.*

 - Isaac

 * Do not put your computer in the oven.



 On Fri, Sep 26, 2008 at 12:11 PM, Ananda Rao
 [EMAIL PROTECTED] wrote:

 Hi,

 can any one help me in doing the below task?

 1) i want to create a calender in GWT.
 2) when ever i click a button i should get the calender.
 3) in that i should be able to navigate to any month and year.
 4) when ever i click on the particular date then it should display the
 selected date/month/year in the text box

 you might have seen this in some sites. like online reservation etc,
 where in you can select the date .

 please can any one know how can i do this in GWT?

 Regards,
 Ananda

 


 


 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: how to create the calender in GWT

2008-09-26 Thread [EMAIL PROTECTED]

2nd on the DatePicker...works great.  We've also had good luck with
http://psthapar.googlepages.com/simpledatepicker, but I like the
DatePicker from the incubator better.  You will have to a little
digging around in the source code to tie everything together, so don't
be afraid to get your hands a little dirty.

On Sep 26, 11:00 am, Isaac Truett [EMAIL PROTECTED] wrote:
 The DatePicker and ChangeHandler are components from the GWT Incubator
 project. You can read more about them at the follow URLs.

 GWT Incubator -http://code.google.com/p/google-web-toolkit-incubator/
 DatePicker intro 
 -http://code.google.com/docreader/#p=google-web-toolkit-incubators=go...

 On Fri, Sep 26, 2008 at 12:56 PM, Ananda Rao

 [EMAIL PROTECTED] wrote:

  thanks for the reply isaac,

  can you please tell me how to implement the DatePicker  and ChangeHandler

  Ananda

  On Fri, Sep 26, 2008 at 9:50 PM, Isaac Truett [EMAIL PROTECTED] wrote:

  Here's what I did:

  1. Create a Composite that has a Button and a TextBox (perhaps a
  HorizontalPanel for layout).
  2. Add a ClickListener to the Button that displays a DatePicker (from
  GWT Incubator) in a PopupPanel.
  3. Add a ChangeHandlerDate to the DatePicker that formats the
  selected Date and puts that String into the TextBox, then hides the
  PopupPanel.

  Salt to taste and place in a 400F oven until edges begin to separate
  from the pan.*

  - Isaac

  * Do not put your computer in the oven.

  On Fri, Sep 26, 2008 at 12:11 PM, Ananda Rao
  [EMAIL PROTECTED] wrote:

  Hi,

  can any one help me in doing the below task?

  1) i want to create a calender in GWT.
  2) when ever i click a button i should get the calender.
  3) in that i should be able to navigate to any month and year.
  4) when ever i click on the particular date then it should display the
  selected date/month/year in the text box

  you might have seen this in some sites. like online reservation etc,
  where in you can select the date .

  please can any one know how can i do this in GWT?

  Regards,
  Ananda
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---