3.0.1b_6.0.6 and 3.0.1b3_6.1.rc2

New BETA 3 version is out. A double release for the 6.0.6 and the 6.1rc2 version.

The sampleuse_navigation file includes all the modules and contains data, this is best for new installs. The svy_framework file includes all the modules, but no data, this one is for updating your existing installation.

Fix - Lookup windows don’t open from forms that are not directly in the framework
Fix - All warnings is 6.1 (5 remaining)
New - duplicate toolbar
Fix - Toolbar buttons are somethimes disabled
Fix - svy_mod_closeForm now has a _formName parameter
Fix - Error when creating program with no existing form

Fixed from Jira:
SVYFRMWK-36 - Disable first/back button if on first record, next/last if on last record
SVYFRMWK-65 - onPreShow no longer fired for a program
SVYFRMWK-67 - pre enter positions splitters of layouts
SVYFRMWK-73 - Property to control whether dc_new creates records on top or bottom of foundset
SVYFRMWK-78 - Coloring the fields when going to add/edit mode or back is very slow when having multiple tab panels
SVYFRMWK-83 - Die Konvertierung von “UNKNOWN” in “UNKNOWN” wird nicht unterstützt on Startup
SVYFRMWK-84 - Wrong globals.owner_id
SVYFRMWK-87 - Buttons with more than one mode are not enabled at first
SVYFRMWK-89 - onChangeOrganization
SVYFRMWK-96 - Problem in ordenation field in functions
SVYFRMWK-98 - Make posible delete all field in the properties of each program
SVYFRMWK-100 - Callback method is not executed after inserting and selecting a record in the lookup window
SVYFRMWK-102 - Icons in the tree do not show
SVYFRMWK-108 - Make svy_globals a module
SVYFRMWK-109 - Search does not work with dates, concatenation of query misses a blank
SVYFRMWK-111 - globals.svy_sec_hasKey only checks for the ID of a key, not the name
SVYFRMWK-112 - svy_sea_restoreAdvancedSearch does not fire onPostSearch
SVYFRMWK-113 - Tabs without text in framework’s layouts
SVYFRMWK-118 - When I switch between two programs, automatically the selected record is lost.

known issue At the moment there is still a bug in Servoy smartclient that transparent splitpanes are grey. This bug will be solved in the version 6.1 rc3 and the next version of 6.0. We expect these versions in the next week. This is only a problem if you use the new implemented design.

New design
If you want to run the new design make sure that the following properties and scripts are set correcly.

In your solution properties:
[attachment=2]solution_properties.png[/attachment]
In your ‘onSolutionOpen’ method:
[attachment=5]onSolutionOpen.png[/attachment]

globals.nav.mainFormName = "svy_nav_fr_p_main";
	globals.nav.openLayoutFormName = "svy_nav_fr_p_openTabs";
	globals.nav.postLoginFormName = "svy_nav_fr_p_postLogin";
	globals.nav.loadingFormName = "svy_nav_fr_p_loading";
	globals.nav.desktopFormName = "svy_nav_fr_p_desktop";
	globals.nav.panelFormName = "svy_nav_fr_p_panel";

In your configurator properties (if you imported on a existing framework only this one should be wrong):
[attachment=3]properties_window.png[/attachment]

New design for current solution:
Change your forms to work with the stylesheet pv
Make your forms transparent
[attachment=9]form_properties.png[/attachment]
Go to the toolbars and change the images.
[attachment=13]chnage_images.png[/attachment]
Choose your new menu and layout for and background images
[attachment=8]layout_images.png[/attachment]
[attachment=6]menu_images.png[/attachment]

Old design
If you want to run the old design make sure that the following properties and scripts are set correctly.
In your solution properties:
[attachment=1]solution_properties_old2.png[/attachment]
In your ‘onSolutionOpen’ method:
You don’t have to set the forms here, because the old design is default so you can remove the lines or comment them out.
[attachment=4]onSolutionOpen_old.png[/attachment]

In your configurator properties:
[attachment=0]solution_properties_old.png[/attachment]

This version is still a beta version because 6.1 is still a release candidate. At the moment we are working to get conversion scripts for the framework tables to work with UUID’s so we can fully use the functionality in 6.1 of syncing with metadata.

Use of fastsearch in new design.

To let your forms use the new fastSearch you will have to overwrite the method ‘dc_fastSearch’ on your form that will be inherited from the base form. In this method you can provide a array of dataprovider names that the fastSearch will use. Example:

/** *
 * @param _value
 * @param _fields
 *
 * @properties={typeid:24,uuid:"37D3CFE2-FFE2-49EC-892C-0788DEDCC240"}
 */
function dc_fastSearch(_value, _fields) {
 _fields = ['companyname', 'contactname', 'country', 'address']
 return _super.dc_fastSearch(_value, _fields)
}

Main form buttons
[attachment=7]main_buttons.png[/attachment]
If you want to attache a method to one of the following buttons you can create a global method called ‘openCalender’ or one called ‘openSettings’.

Designer
Our new design is created by professional designer Pim van der Vossen, that is also the reason why it is referenced as pv. You can find more information about his work on his website: http://www.pi-vo.nl.
To give you attractive prices for the creation of extra icons or a more personal company background we already agreed with him on fixed prices.
The framework uses icons in the main menu and in the toolbars, the pricing for the two types is the same.
Per icon Price: € 15,00
Per 10 icons Price: € 125,-
Per 20 icons Price: € 200,-
1 Background Price: € 25,-
10 icons + 1 Background Price: € 140,-
20 icons + 1 Background Price: € 215,-

You can send your request at info@pi-vo.nl (English or Dutch).

6.0.6
[attachment=14]svy_framework.servoy[/attachment]
[attachment=10]sampleuse_navigation.servoy[/attachment]

6.1 RC2
[attachment=12]sampleuse_navigation_6_1.servoy[/attachment]
[attachment=11]svy_framework_6_1.servoy[/attachment]

sampleuse_navigation.servoy (1.76 MB)

svy_framework_6_1.servoy (1.46 MB)

sampleuse_navigation_6_1.servoy (1.76 MB)

svy_framework.servoy (1.46 MB)

What is exactly the difference between the 6.0.6 and the 6.1RC?

pentamsi:
What is exactly the difference between the 6.0.6 and the 6.1RC?

Warnings for 6.1 our solved in the 6.1 version.

Ok, but for the developer what is better to use, the 6.1, no?

There are no functional differences between the 2 framework exports.
But if you are using Servoy 6.1 you should off course use the 6.1 export.

Or are you asking if you should upgrade from 6.0 to 6.1?
It is not final, but there are a lot of new things to see in 6.1. My suggestion would be to try it and find out what is better for you.

Thanks Joas, but i wait until the Servoy Application 6.1 was estable and the version of the framework 6.1 was estable too to upgrade both.

I’ve installed Servoy 6.1 rc2 and imported sampleuse_navigation_6_1 on Mac OS 10.5.8 several times, completely clean (deleting the previous installs). The import hangs with a message, “the user operation is waiting for ‘test build paths’ to complete” (graphic attached). If I force-quit and run sampleuse_navigation, the login window comes up but won’t close, no matter what I click (I have to force quit).

Suggestions?

Fred Cummins

servoy install window.pdf (22.2 KB)

Are you having this problem with this solution only or also when you try to import the one for Servoy 6.0.6?

I get the exact same message (“the user operation is waiting for ‘test build paths’ to complete”), whether I import sampleuse_navigation_6_1 or the version for 6.0.6.

I didn’t mention in my previous message that I leave all the default choices unchanged when rimporting and answer all questions ‘yes.’

When you import this solution you need to make sure that data changes are allowed because tables and data for metadata needs to be created in database “svy_framework”.

However, this should not cause this issue you are facing and is more related to the Servoy product rather than the framework. Could you please file a case in our support system (http://support.servoy.com)?

Case filed in your support system.

For your information: the solution import dialog has ‘allow data model (database) changes’ checked by default. I left it checked, every time I tried importing.

I have installed 3.0.1b_6.0.6 framework on my solution.
I have found that the login form is that with the new interface.
When i run the solution from an iPad when i select Login the button doesn’t respond immediately, but i have to select the button more than one time (even 3-4 times). It seems to be selected but the onAction event probably is not executed. Try 3,4 times and then the access to the solution has been done…

Thanks

Does this issue occurs only on the login button or also on other buttons (before and after login)?

Perhaps you can also check your log on the Application Server to see if something strange is happening.

If i zoom the ipad screen i can see that the problem is that when i move the cursor on the button a shape appears on the button to show that i have selected the button, but this shape doesn’t cover all the button and the onAction starts only if i click on the not covered part.

Ok, and does this happen with the old design or the new one?

Only with the new one…

I see that the new UI uses 2 labels as buttons on top of eachother which might cause this problem. I need to discuss how to fix this issue.

Could you please create a case in the support system as a framework issue?

fredc:
I’ve installed Servoy 6.1 rc2 and imported sampleuse_navigation_6_1 on Mac OS 10.5.8 several times, completely clean (deleting the previous installs). The import hangs with a message, “the user operation is waiting for ‘test build paths’ to complete” (graphic attached). If I force-quit and run sampleuse_navigation, the login window comes up but won’t close, no matter what I click (I have to force quit).

Suggestions?

Fred Cummins

Jason Muenier suggested importing the most-recent version for 6.0.6 into 6.0.6. Results almost exactly the same as described above. The one difference I found is: the EXIT button in the login window works (in the 6.1 version, it did nothing). But I can’t log on (if I enter an ID, ‘Can’t connect to the database. Please contact the administrator.’ appears)

You are getting this message when the database for the metadata “svy_framework” and/or table “sec_owner” could not be found.

Could you please verify if you have these 2 objects in your environment?

vschuurhof:
You are getting this message when the database for the metadata “svy_framework” and/or table “sec_owner” could not be found. Could you please verify if you have these 2 objects in your environment?

I double-checked this by re-installing from scratch and being sure to create ‘svy_framework’ before importing sampleuse_navigation. The import process appears to have deleted ‘svy_framework.’ I’ve run this twice to test.

  1. Delete the servoy and servoy_workspace directories.
  2. Re-install 6.0.6.
  3. Create database svy_framework.
  4. Import sampeluse_navigation 3.0.1b_6.0.6.
  5. The import hung when almost done, on the ‘import a solution’ window.
  6. If I try closing that window, a message appears, ‘Wizard cannot be closed due to an active operation. You must cancel the operation before you can close the wizard.’
  7. Force quit.
  8. Re-start servoy, ‘svy_framework’ is no longer listed under database servers and a message appears, ‘Configuring CSS profile for style L/resources/styles/svy_nav.css’ has encountered a problem. Cannot configure CSS editor to use CSS1 for style L/resources/styles/svy_nav.css’).
  9. Click OK to close that window and start sampleuse_navigation. A similar error appears (‘Cannot configure CSS editor to use CSS1 for style L/resources/styles/pv.css’
  10. Close that and the client appears. Enter a username etc. and click LOGIN and ‘Can’t connect with the database’ appears, which makes sense, since the import appears to have deleted the database servoy.