Re: DataPicker in GWT

2023-07-04 Thread Климент Кистень
I'll try to override CalendarView. I don't think there is any other way. 
Thank's

вторник, 4 июля 2023 г. в 20:52:11 UTC+3, Colin Alworth: 

> It appears that this is specified as part of the DefaultCalendarView type, 
> in the nested DateCell class's update(Date) method. I don't see an obvious 
> way to override that, nor to replace the DatePicker.StandardCss type 
> (package protected). Instead, you might implement CalendarView in your own 
> way (perhaps copying some of or all of the existing content in 
> DefaultCalendarView), then subclass DatePicker to pass your own instance to 
> the protected constructor that takes a CalendarView instead?
>
> As another option, can you clarify what additional styling you are trying 
> to add? It might be possible to use the existing CSS styles to do this, or 
> find another way to produce the same effect you're after?
>
> On Tuesday, July 4, 2023 at 11:32:20 AM UTC-5 zarat.u...@gmail.com wrote:
>
>> How can I set an additional selector for a date that has the "datePicker 
>> DayIsFiller" selector in the GWT DatePicker class?
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/9df43796-9ab5-4047-9aaa-f46baa6573dcn%40googlegroups.com.


Re: DataPicker in GWT

2023-07-04 Thread Colin Alworth
It appears that this is specified as part of the DefaultCalendarView type, 
in the nested DateCell class's update(Date) method. I don't see an obvious 
way to override that, nor to replace the DatePicker.StandardCss type 
(package protected). Instead, you might implement CalendarView in your own 
way (perhaps copying some of or all of the existing content in 
DefaultCalendarView), then subclass DatePicker to pass your own instance to 
the protected constructor that takes a CalendarView instead?

As another option, can you clarify what additional styling you are trying 
to add? It might be possible to use the existing CSS styles to do this, or 
find another way to produce the same effect you're after?

On Tuesday, July 4, 2023 at 11:32:20 AM UTC-5 zarat.u...@gmail.com wrote:

> How can I set an additional selector for a date that has the "datePicker 
> DayIsFiller" selector in the GWT DatePicker class?
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/1c8144a9-c7bd-4f3b-8406-5ba9d8bf9dfdn%40googlegroups.com.


Re: GWT war file deployment issue on Tomcat 9

2023-07-04 Thread Colin Alworth
It looks as though the war file that was deployed was built after Super Dev 
Mode had been started, but before the production build had been performed, 
so the generated JS only works with a local development server. Try a clean 
build, without starting dev mode?

If this still doesn't work, can you share more details about exactly how 
you build the project for production?

On Monday, July 3, 2023 at 11:33:26 AM UTC-5 jiny...@gmail.com wrote:

> We were notified that we need to move our applications off from Weblogic 
> 14 server to OpenShift platform. The first task is to make sure the GWT 
> application works in local development environment with Tomcat 9 server. 
>
> We can run the GWT application by starting Tomcat 9 server from Eclipse 
> using WTP. However, when we tried to deploy the war file in the tomcat 9 
> deployment folder "webapps" and tried to access to the site url as below, 
> an dialog is displayed as attached asking to get code server ready first. 
> The war file was created from the war directory after GWT compilation 
> process is finished. 
>
>
> http://127.0.0.1:8080/aries
>
> GWT 2.9
> JDK 11
> Eclipse 4,15
> GWT plugin 3
>
>
> Please help shed some lights on this deployment issue.
>
> thanks!
> Jenny
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/cb206781-0c0b-47d2-815c-28a5c43f5226n%40googlegroups.com.


Re: GWT compilation error with JDK 11

2023-07-04 Thread Colin Alworth
If the class can't be found, something is wrong with your gwt-dev, or the 
gwt-dev isn't on the classpath, or more details from the error message will 
indicate why the Compiler class couldn't be loaded. 

Please file a bug with more details (logs, full error message, other 
details about differences between the working computer and non-working 
computer) at https://github.com/gwt-plugins/gwt-eclipse-plugin/ so 
contributors there can take a closer look?

On Sunday, July 2, 2023 at 2:28:44 PM UTC-5 jiny...@gmail.com wrote:

> I tried to reinstall Eclipse again and GWT 3 plugin again from Eclipse 
> market, downloaded and reinstalled gwt 2.9 for the project, however, I 
> still encountered the error below.
> It is so weird, the project configuration in eclipse works in my old 
> laptop, not in the new one though it both has windows 10 installed.
>
> Error: Could not find or load main class com.google.gwt.dev.Compiler
>
> eclipse-jee-2020-06-R-win32-x86_64
> GWT Plugin 3.0
> gwt-2.9.0
>
> Please see attached for the java build path dialog in eclipse.
>
> Any idea about resolving this error? Please help shed some light on this 
> problem.
>
> Your help is much appreciated!
> Jenny
>
>
> On Friday, June 16, 2023 at 3:25:42 PM UTC-5 Ying Jin wrote:
>
>> Thanks for your reply. Please see attached for the GWT lib specified in 
>> the java build path in Eclipse. I tried to compile it with JDK 8 and it 
>> didn't work either. 
>> The same project configuration in Eclipse worked in my old laptop, but 
>> not in my new laptop. The Eclipse in the new laptop is a copy of the 
>> Eclipse installed in the old laptop.
>>
>> In addition, I also tried to  copy the "gwt-dev.jar" from the old laptop 
>> to the new one, but the compilation still gave me the following error.
>>
>> Error: Could not find or load main class com.google.gwt.dev.Compiler
>>
>> The project was compiled by using GWT->Compile option provided by the GWT 
>> Plugin installed in Eclipse.
>>
>> Version: 2020-06 (4.16.0)
>> GWT Plugin version: 3.0
>>
>> Your help is greatly appreciated!
>>
>> thanks,
>> Jenny
>> On Friday, June 16, 2023 at 12:33:18 PM UTC-5 Colin Alworth wrote:
>>
>>> GWT 2.9 should support running on Java 11, both running on JDK 11 and 
>>> compiling Java 11 sources.
>>>
>>> Without other information, it sounds like there is a problem with your 
>>> copy of gwt-dev.jar - the jar might be corrupt, or somehow not on your 
>>> classpath? 
>>>
>>> Can you verify that the jar is present and correct, and share more 
>>> specifics of how you are building?
>>>
>>> On Thursday, June 15, 2023 at 6:00:43 PM UTC-5 jiny...@gmail.com wrote:
>>>
 Hello,

 I tried to compile our GWT 2.9 project with JDK 11, but encountered the 
 following error:

 Error: Could not find or load main class com.google.gwt.dev.Compiler

 Caused by: java.lang.ClassNotFoundException: com.google.gwt.dev.Compiler

 BTW, the Eclipse version is  Version: 2020-06 (4.16.0). 

 Please help shed some lights on this issue.

 thanks,
 Jenny

>>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/25ab65da-b3a5-4458-955c-248dc64d97adn%40googlegroups.com.


DataPicker in GWT

2023-07-04 Thread Климент Кистень
How can I set an additional selector for a date that has the "datePicker 
DayIsFiller" selector in the GWT DatePicker class?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/8b85f774-f11d-4c08-bb0a-91f6014e89aen%40googlegroups.com.