Page 1 of 1

Hack Servoy's Calendar Picker (web client)

PostPosted: Thu Jan 03, 2013 10:33 pm
by david
Technique explained here: http://www.servoymagazine.com/home/2013 ... icker.html

Servoy's default picker:

Screen shot 2013-01-03 at 3.23.43 PM.png
Screen shot 2013-01-03 at 3.23.43 PM.png (49.28 KiB) Viewed 5739 times


New picker:

Screen shot 2013-01-03 at 3.23.48 PM.png
Screen shot 2013-01-03 at 3.23.48 PM.png (50.36 KiB) Viewed 5739 times

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Thu Jan 03, 2013 10:53 pm
by ROCLASI
Looking good ! :)

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Fri Jan 04, 2013 11:34 pm
by Harjo
This is looking SOOO much better....

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Sat Jan 05, 2013 2:40 am
by david
Thanks! Troy nailed this one -- buy him a beer next time around :)

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 3:25 pm
by bobcusick1332964082
I hope that in a future version - Servoy will just put that CSS style sheet and images into the "templates" folder so we can mess with it - without having to resort to re-writing the internal source URL! :)

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 4:07 pm
by Harjo
+1 !!!!!

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 5:11 pm
by david
We opened a ticket on this subject over a year ago: https://support.servoy.com/browse/SVY-2341. Lots of web client stuff hard coded into Servoy where it is tough to get to.

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 8:15 pm
by bobcusick1332964082
I wouldn't even be opposed to having to specify separate folders in the setup of the solution like:

Code: Select all
application.putClientProperty('templates.dir', 'myCss');
application.putClientProperty('calendar.dir', 'myCalendar');
application.putClientProperty('upload_icons.dir', 'myImages');


This would also allow us to have dynamically different looks and feels for different customers/tenants.

It's something that's really important as we move away from the Smart Client and more and more into the WebClient

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 8:16 pm
by bobcusick1332964082
Also, have you guys found a way to inject HTML into a form to replace those HORRIBLE icons on the media field (Save, Edit, Delete) ??

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Wed Oct 02, 2013 11:50 pm
by david
bobcusick1332964082 wrote:I wouldn't even be opposed to having to specify separate folders in the setup of the solution like:

Code: Select all
application.putClientProperty('templates.dir', 'myCss');
application.putClientProperty('calendar.dir', 'myCalendar');
application.putClientProperty('upload_icons.dir', 'myImages');


This would also allow us to have dynamically different looks and feels for different customers/tenants.

It's something that's really important as we move away from the Smart Client and more and more into the WebClient


A little different than you've outlined but we have all this setup. A few URL rewrite rules per client is the magic sauce.

bobcusick1332964082 wrote:Also, have you guys found a way to inject HTML into a form to replace those HORRIBLE icons on the media field (Save, Edit, Delete) ??


Why...of course!

media-icons.png
media-icons.png (87.58 KiB) Viewed 5409 times


Maybe you should just use Data Sutra Bob... :lol:

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Thu Oct 24, 2013 10:51 am
by Harjo
Finally see some movement on this: https://support.servoy.com/browse/SVY-1419

If you haven't voted, please do!!

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Tue Nov 12, 2013 4:05 pm
by lvostinar
Customizing the calendar icon and picker will be fully possible in Servoy 7.4 . Added a css example at: https://wiki.servoy.com/display/DOCS/Re ... ent+images . The wiki example uses the same style as example from this topic.

Re: Hack Servoy's Calendar Picker (web client)

PostPosted: Thu Dec 12, 2013 9:41 pm
by bobcusick1332964082
Oh. My. Gosh! I'm literally leaping around my desk! :D

SO AWESOME! Thank you guys very much for solving this!!