Hack Servoy's Calendar Picker (web client)

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

Hack Servoy's Calendar Picker (web client)

Postby david » Thu Jan 03, 2013 10:33 pm

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 15277 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 15277 times
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

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

Postby ROCLASI » Thu Jan 03, 2013 10:53 pm

Looking good ! :)
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

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

Postby Harjo » Fri Jan 04, 2013 11:34 pm

This is looking SOOO much better....
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

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

Postby david » Sat Jan 05, 2013 2:40 am

Thanks! Troy nailed this one -- buy him a beer next time around :)
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

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

Postby bobcusick1332964082 » Wed Oct 02, 2013 3:25 pm

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! :)
bobcusick1332964082
 
Posts: 85
Joined: Wed Mar 28, 2012 9:48 pm

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

Postby Harjo » Wed Oct 02, 2013 4:07 pm

+1 !!!!!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

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

Postby david » Wed Oct 02, 2013 5:11 pm

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.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

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

Postby bobcusick1332964082 » Wed Oct 02, 2013 8:15 pm

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
bobcusick1332964082
 
Posts: 85
Joined: Wed Mar 28, 2012 9:48 pm

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

Postby bobcusick1332964082 » Wed Oct 02, 2013 8:16 pm

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) ??
bobcusick1332964082
 
Posts: 85
Joined: Wed Mar 28, 2012 9:48 pm

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

Postby david » Wed Oct 02, 2013 11:50 pm

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 14947 times


Maybe you should just use Data Sutra Bob... :lol:
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

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

Postby Harjo » Thu Oct 24, 2013 10:51 am

Finally see some movement on this: https://support.servoy.com/browse/SVY-1419

If you haven't voted, please do!!
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

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

Postby lvostinar » Tue Nov 12, 2013 4:05 pm

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.
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

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

Postby bobcusick1332964082 » Thu Dec 12, 2013 9:41 pm

Oh. My. Gosh! I'm literally leaping around my desk! :D

SO AWESOME! Thank you guys very much for solving this!!
bobcusick1332964082
 
Posts: 85
Joined: Wed Mar 28, 2012 9:48 pm


Return to How To

Who is online

Users browsing this forum: No registered users and 8 guests