Hi Gordon,
My version of Servoy is: R2 2.2.3-build 335 but, using the Java Web Start option to test the calendar I believe that I was using theirs !
Cheers
Harry
Hi Gordon,
My version of Servoy is: R2 2.2.3-build 335 but, using the Java Web Start option to test the calendar I believe that I was using theirs !
Cheers
Harry
Harry Catharell:
Hi Gordon,My version of Servoy is: R2 2.2.3-build 335 but, using the Java Web Start option to test the calendar I believe that I was using theirs !
Cheers
Harry
Harry, thanks, I was hoping you were using a Servoy version as it seems that the class path issue is in the current build. It would be logical that the Mig cal thing works outside Servoy, and I have the same working too - its the Servoy contained stuff I have a problem with !!!
I hasten to add I can not provide this other than by observation ie beans that work in 2.2.1 dont work in 2.2.3 without any code alteration. Julian Salerno suggested that this class path issue could have re raised its self and I have to defer to his advanced Java knowledge. I hope there is a fix VERY soon for both Christian and my clients sake’s!!
Gordon
tweetie:
So what does this meanelements.scheduleBean.setCategoriesChecked("Categories$0000$", false);and ```
elements.scheduleBean.setUserChecked(new java.lang.Integer(1), false)
The first was an early way to do the same thing as setCategoriesChecked(null, false); Setting the first parameter to null is now the preferred way of doing it, as the “Categories$0000$” identifer shown above could change in future versions.
The second bit of code was just an experiment on my part to see if it worked, it really should not be used… sorry about the confusion there. I’ll get rid of it in the sample app.
Just want to add that the Mac where the webstart version of the migbean demo is working has Servoy 1.2rc4 installed ![]()
The others have Servoy 2.2.3.
I just discovered a weird problem!
I wanted to show, somebody the migcalendar demo (on the migcalendar website)
But I got an error in the console: there is noSuchfield: Z blabla
Because Fred, told us to drop the migcalendar.jar into the lib/ext of the current java jre, I thought, this could be the problem.
And yes, I deleted this file, and the javawebstart demo is running fine again!
Just to let you know!
HJK:
I just discovered a weird problem!
This is the problem we are having on the Mac, unfortunately deleting the other migcalendar.jar’s don’t seem to fix it.
Try to search your whole drive for: migcalendar*.*
and delete those,
maybe it helps.
Some more tests here on a fresh Mac OS X 10.4.4 system with Java 1.5, Servoy 2.2.3:
Standalone MigCalendarDemo.jar runs fine.
Install ScheduleCalendar.jar in Servoy beans folder.
Install migcalendar.jar in Servoy beans folder.
Standalone MigCalendarDemo.jar runs fine.
Install migcalendar.jar in ~/Library/Java/Extensions
CalendarDemo.servoy fails. bean missing com.servoybeans.migcalendar.scheduler.ScheduleCalendar.
Standalone MigCalendarDemo.jar fails.
Remove migcalendar.jar from ~/Library/Java/Extensions
Install migcalendar.jar in /Library/Java/Extensions
CalendarDemo.servoy fails. bean missing com.servoybeans.migcalendar.scheduler.ScheduleCalendar.
Standalone MigCalendarDemo.jar fails.
Remove migcalendar.jar from /Library/Java/Extensions
Install migcalendar.jar in /Library/Java/Home/lib/ext/
CalendarDemo.servoy fails. bean missing com.servoybeans.migcalendar.scheduler.ScheduleCalendar.
Standalone MigCalendarDemo.jar works.
Does anyone have the scheduleCalendar of Fred, working in a client on Mac???
We can’t get it to work, on Mac
Not I
I thought this thread made it pretty clear that it didn’t work on Mac.
The MigCalendar demo works on Mac but not in Servoy with the scheduleCalendar wrapper.
It doesn’t work for me on Servoy 2.2.1 (Java 1.4 and 1.5) nor any version after that so I wonder if it has to do with the classpath issues that 2.2.3 seemed to have introduced.
yes, I have tested with all kind of servoy-versions and came to the same conclusion.
Fred, does’nt have a mac, so he can’t reproduce it.
He also thought it has something to with Servoy, but I doubt it.
Did anyone got the scheduleCalendar bean with migcalendar bean work on a servoy-client on MAC???
No matter what I do, I am always getting: bean missing!
on windows it is fine!
Here it seems to work as far as I can see the calendar (so the bean is not missing), but I get errors that I don’t get on windows. I haven’t done further research on this, however.
Than it must have something to do, with the migcalendar demo!
I have downloaded the java webstart demo, in the beginning from the migcalendar website. Maybe that is conflicting!
I hop Fred can fix it soon!
hmm, I have installed that, too. But not on the servers the Mac clients load from.
I believe that the problems with the Servoy client not loading stem from the fact that the unsigned.jnlp file was listing package entries that were too restrictive with each jar entry.
Here is an excerpt from the unsigned jnlp Harjo sent me:
…
<package name=“com.miginfocom.beans.*” part=“migcalendar” recursive=“true”/>
…
…
In the jnlp file, when a tag is inserted it seems to restrict the JVM from looking at other packages outside the listed package. In the above example there are some classes in the “com.miginfocom.util." packages that are required for the libraries to work, but the JVM never sees them due to the jnlp package entry narrowing the package scope to "com.miginfocom.beans.”.
I remember having a discussion about something similar a few months ago, and Jan Blok provided a solution where if you turn on “eager” downloading of jar files in the /servoy-admin page (servoy.clientJarLoadOption) instead of “lazy” it will not put the package entries in the unsigned.jnlp, and will allow the clients to work correctly. I just tested this and it does work.
I hope this helps.