Hi,

i have added the jar file in the class path and also the below code.

<module>
        <inherits name="com.google.gwt.user.User"/>
        <inherits name="com.google.gwt.datepicker.DatePicker"/>
        <inherits name="com.google.gwt.widgetideas.WidgetIdeas"/>
        <entry-point 
class="com.google.gwt.demos.datepicker.client.DatePickerDemo"/>
        <stylesheet src="DatePickerDemo.css"/>
</module>

into the DatePickerDemo.gwt.xml...but getting error at the import
statement for the below import

import com.google.gwt.widgetideas.client.LazyPanel;
import com.google.gwt.widgetideas.client.event.ChangeEvent;
import com.google.gwt.widgetideas.client.event.ChangeHandler;
import com.google.gwt.widgetideas.client.event.EventHandler;
import com.google.gwt.widgetideas.client.event.HighlightEvent;
import com.google.gwt.widgetideas.client.event.HighlightHandler;
import com.google.gwt.widgetideas.client.event.KeyDownEvent;
import com.google.gwt.widgetideas.client.event.KeyDownHandler;
import com.google.gwt.widgetideas.client.event.RenderingEvent;
import com.google.gwt.widgetideas.client.event.RenderingHandler;
import com.google.gwt.widgetideas.datepicker.client.DateBox;


can any one tell me why is this?

On Mon, Sep 29, 2008 at 8:50 PM, Ananda Rao
<[EMAIL PROTECTED]> wrote:
> thanks olivier
>
> On Mon, Sep 29, 2008 at 8:20 PM, olivier nouguier
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>  When using a GWT java resource 2 step are need:
>>   * the class file must resolved (add jar to classpath) or you IDE will
>> complains with "unresolved classes".
>>   * the module "owning" that java resources must be inherited from your
>> application GWT module, or the GWT compiler will fail (even if you add the
>> jar to the classpath).
>>
>> Look at the sample in the project, but your application.gwt.xml your look
>> like something:
>> <module>
>>  <!-- Inherit the core Web Toolkit stuff.  -->
>>  <inherits name="com.google.gwt.user.User"/>
>>  <!--  Inherit style injection -->
>>  <inherits name="com.google.gwt.widgetideas.WidgetIdeas"/>
>>     <!--  Specify the app entry point class.  -->
>>  <entry-point
>> class="com.google.gwt.demos.datepicker.client.DatePickerDemo"/>
>>  <stylesheet src="DatePickerDemo.css"/>
>> </module>
>>
>>
>>
>> On Mon, Sep 29, 2008 at 4:41 PM, Ananda Rao
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> thanks olivier  for replying.
>>>
>>> i was actually trying to use gwt-incubator.jar.
>>> i have downloaded the sample code from the below URL and trying to test
>>> that.
>>>
>>> http://code.google.com/p/google-web-toolkit-incubator/wiki/DatePicker
>>>
>>> but getting error.
>>> WidgetIdeas cannot be resolved.
>>>
>>> can you please tell me what i have to do here to get rid of this error.
>>>
>>>
>>> i have added this in tha classpath
>>>
>>> On Mon, Sep 29, 2008 at 8:03 PM, olivier nouguier
>>> <[EMAIL PROTECTED]> wrote:
>>> > Hi,
>>> >  If the jar contain the source (.java files) simply:
>>> > * add the jar to your classpath.
>>> > * inherit the new module in your "yourApplication.gwt.xml".
>>> >
>>> >
>>> > On Mon, Sep 29, 2008 at 3:44 PM, Ananda Rao
>>> > <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> i have downloaded the gwt-incubator,jar file .
>>> >> nut i dont know how to add this to my project. i need to use
>>> >> datepicker but not able to do so.
>>> >>
>>> >> can any one help me here
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
>>> > dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
>>> > comestible"
>>> >      - proverbe indien Cri
>>> >
>>> > >
>>> >
>>>
>>>
>>
>>
>>
>> --
>> "Quand le dernier arbre sera abattu, la dernière rivière asséchée, le
>> dernier poisson péché, l'homme va s'apercevoir que l'argent n'est pas
>> comestible"
>>      - proverbe indien Cri
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to