[ANNOUNCEMENT] Dialog module v1.0 released

Share business templates, ideas, experiences, etc with fellow Servoy developers here

[ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Tue May 31, 2011 10:02 pm

The dialog module just got a whole lot better!

Announcing the 1.0 release of the Dialog module.


This release has the following new features:
  • function calls and arguments mimic the dialog plugin 100%
  • dialogs can be used in multiple instances of a solution window
  • support for default button (first button of the right) just like in Smart-Client
  • fixed the select dialog issue in version 0.9
  • removed the requirement for FIMD's to use the dialogs_base form as parent
  • showFormInModalDialog() function arguments now mimics the application.showFormInDialog() function excluding the last parameter (isModal)
  • lots of small fixes and additions (the devil is always in the details)

You can download the Dialog module here.
See for more info in the wiki.
Check out the screenshots.

Thanks to Paul Bakker for all the code and support.
Actually also thanks to Johan Compagner for fixing the few bugs we found in the process in 5 and 6.

Enjoy!
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Harjo » Tue May 31, 2011 10:14 pm

Thanks Robert!! GREAT work!!! :D
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby chico » Wed Jun 01, 2011 6:46 am

This looks awesome! How hard would it be to make it work in Servoy 4.1?
--------------------------------------------
Servoy Version: 6.0.3
DB: MySQL 5.1
Win XP/Vista/7 - Java 5u20 / 6u22
OS X - 10.6.5 - Java 5/6 update 3
chico
 
Posts: 271
Joined: Tue Nov 20, 2007 6:34 am

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Wed Jun 01, 2011 10:30 am

chico wrote:This looks awesome! How hard would it be to make it work in Servoy 4.1?

Well, 4.1 does have Form Inheritance and the SolutionModel but not the function controller.recreateUI() which was implemented in 5.0.
So it requires some work but in theory it should be doable, assuming that the Rhino version in 4.1 also supports Continuations.
But why not upgrade to 5.2 or 6.0 instead. 6.0 is just around the corner anyway.
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby chico » Wed Jun 01, 2011 5:20 pm

But why not upgrade to 5.2 or 6.0 instead. 6.0 is just around the corner anyway.


Good point... it'd make more sense to put the work into that.

Thanks!

Chico
--------------------------------------------
Servoy Version: 6.0.3
DB: MySQL 5.1
Win XP/Vista/7 - Java 5u20 / 6u22
OS X - 10.6.5 - Java 5/6 update 3
chico
 
Posts: 271
Joined: Tue Nov 20, 2007 6:34 am

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Kahuna » Wed Jun 01, 2011 7:26 pm

Robert - not sure how to report an issue on the Forge so postingh here instead:

First time trying the new module and have this error:
Too deep recursion while parsing (E:\Dropbox\ServoyWorkspaces\WorkSpaceMay2011_RelationLess\mod_dialog\globals.js#89(eval)#1)
at E:\ServoyWorkspaces\WorkSpaceMay2011_RelationLess\mod_dialog\globals.js:89 (showDialog)


Can you enlighten me if this is something I'm doing wrong? as a first test all I did was this in the smart Client - it works fine with the standard 'plugins.dialogs.' format
Code: Select all
var goOn = globals.DIALOGS.showInfoDialog("Copy Record Data","You are about to copy this current record data to a new record."
                           + "\n The new record will be added at the end of the table of records."
                           + " All support tables DWG's Links & Areas etc will be reproduced also if the 'Copy Button' check box is ticked"
                           + "\n otherwise those tables will not be reproduced \n Do you want to continue ?","OK","Cancel")


I get the same error with this from a sandbox form too:
Code: Select all
var output =  globals.DIALOGS.showWarningDialog('TestBIGD','msg','OK')
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Wed Jun 01, 2011 7:46 pm

Kahuna wrote:Robert - not sure how to report an issue on the Forge so postingh here instead:

Just log into ServoyForge with your account (you are a registered member) and go to the project's New Issue tab.

Kahuna wrote:First time trying the new module and have this error:
Too deep recursion while parsing (E:\Dropbox\ServoyWorkspaces\WorkSpaceMay2011_RelationLess\mod_dialog\globals.js#89(eval)#1)
at E:\ServoyWorkspaces\WorkSpaceMay2011_RelationLess\mod_dialog\globals.js:89 (showDialog)


Can you enlighten me if this is something I'm doing wrong? as a first test all I did was this in the smart Client - it works fine with the standard 'plugins.dialogs.' format
Code: Select all
var goOn = globals.DIALOGS.showInfoDialog("Copy Record Data","You are about to copy this current record data to a new record."
                           + "\n The new record will be added at the end of the table of records."
                           + " All support tables DWG's Links & Areas etc will be reproduced also if the 'Copy Button' check box is ticked"
                           + "\n otherwise those tables will not be reproduced \n Do you want to continue ?","OK","Cancel")


I get the same error with this from a sandbox form too:
Code: Select all
var output =  globals.DIALOGS.showWarningDialog('TestBIGD','msg','OK')


What version of Servoy is this?
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Kahuna » Wed Jun 01, 2011 8:06 pm

Its (Servoy Version: 5.2.6 Win 7 - SQL Server 2008 R2) Robert
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Wed Jun 01, 2011 8:11 pm

I just send you a test version with a possible fix.
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Kahuna » Wed Jun 01, 2011 8:27 pm

ROCLASI wrote:I just send you a test version with a possible fix.


Fixed Robert - Thanks for the effort on this module Robert - long awaited from Servoy - and you've beaten them to it with essential functionality for Web Client. :D :D :D :D :D
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Wed Jun 01, 2011 9:31 pm

I released version 1.0.1 with this fix.
You can download it here.
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Kahuna » Thu Jun 02, 2011 1:39 pm

ROCLASI wrote:I released version 1.0.1 with this fix.
You can download it here.

Two fix's in one day - you work fast Robert :D

Q. In Modal Dialog If the last argument is retained in the string (modal setting argument) will the function simply ignore it or fall over Robert? I'm hoping its a global search and replace but changing that argument is not a big deal (around 200 forms I believe in our system at the moment).
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Thu Jun 02, 2011 1:57 pm

You're second fix is not available yet thought ;)
Unless you check the source out from svn.
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Thu Jun 02, 2011 1:58 pm

Kahuna wrote:Q. In Modal Dialog If the last argument is retained in the string (modal setting argument) will the function simply ignore it or fall over Robert? I'm hoping its a global search and replace but changing that argument is not a big deal (around 200 forms I believe in our system at the moment).

It will simply ignore it.
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: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Kahuna » Thu Jun 02, 2011 4:24 pm

Great stuff Robert - we will await the new release.

Cheers

Ian
(Servoy Version: 6.0.7 Win XP / 7 - SQL Server 2008 R2)
Ian Cordingley (Kahuna)
Kahuna
 
Posts: 1235
Joined: Thu Oct 26, 2006 1:39 am
Location: 1/2 NE UK 1/2 Olvera Spain

Next

Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 4 guests