3.0.1b_6.0.6 and 3.0.1b3_6.1.rc2

When is relased the final and stable version of the framework?

I have a problem with the framework & Servoy 6.1.
The function isMethodAllowed is not working anymore.
Example:

function isMethodAllowed(_method) {
	var _allowed = true;
	if(vbuttonstatus == false && _method == "dc_edit") {
		_allowed = false
	}
	if(vbuttonstatus == false && _method == "dc_delete") {
		_allowed = false
	}
	if(vbuttonstatus == false && _method == "dc_duplicate") {
		_allowed = false
	}
	return _super.isMethodAllowed(_method) && _allowed
}

The variable _allowed is correct but the images Delete/Edit… are always active. Can you check this please?

I have another problem (I already posted it in the Announcement):

TabPanels are not fired in Firefox & Chrome, only IE9 is working.
I tested the forms with tabs in debug-client (within firefox & Chrome) and everything is working. It is not working if I start it with the framework (only IE9 and Smart-Client is working). Well, I think it’s really a problem within the framework.
Error when tracing is on:

Thread:    http-8080-8
Category: com.servoy.j2db.util.Debug 	
Message:  couldnt resolve the page of the component, component already gone from page? returning empty

Hello… i want to force the recreating of one form link customers_dtl with one my external function … how can i do it?

i need to make something like this:
[attachment=2]customers_dtl.PNG[/attachment]

when i click to the button:
[attachment=1]customers_dtl_js.PNG[/attachment]

it compares the button but it doesn’t work
[attachment=0]customers_dtl_button.PNG[/attachment]

briese-it:
I have a problem with the framework & Servoy 6.1.
The function isMethodAllowed is not working anymore.
Example:

function isMethodAllowed(_method) {
var _allowed = true;
if(vbuttonstatus == false && _method == "dc_edit") {
	_allowed = false
}
if(vbuttonstatus == false && _method == "dc_delete") {
	_allowed = false
}
if(vbuttonstatus == false && _method == "dc_duplicate") {
	_allowed = false
}
return _super.isMethodAllowed(_method) && _allowed

}



The variable _allowed is correct but the images Delete/Edit... are always active. Can you check this please?

I tested this method:

function isMethodAllowed(_method) {
	var _allowed = true
	if(_method == 'dc_new')
	{
		_allowed = false
	}
	return _super.isMethodAllowed(_method) && _allowed
}

It seems to work perfect. Did you test on 6.1 the last version and not a RC one?

briese-it:
I have another problem (I already posted it in the Announcement):

TabPanels are not fired in Firefox & Chrome, only IE9 is working.
I tested the forms with tabs in debug-client (within firefox & Chrome) and everything is working. It is not working if I start it with the framework (only IE9 and Smart-Client is working). Well, I think it’s really a problem within the framework.
Error when tracing is on:

Thread:    http-8080-8

Category: com.servoy.j2db.util.Debug
Message: couldnt resolve the page of the component, component already gone from page? returning empty

While you only see this in the frameworks it still seems to be a problem in servoy itself. I made a case for it.

Ok, thanks Sanneke, but when I create a Testsolution without the framework then it’s working with tabs.
Regarding my other problem with isMethodAllowed: I have fixed it by using UpdateUI() after calling isMethodAllowed. In 6.0.6 and RC it was running without that but anyway… Thanks.

DEK4:
Hello… i want to force the recreating of one form link customers_dtl with one my external function … how can i do it?

i need to make something like this:
[attachment=2]customers_dtl.PNG[/attachment]

when i click to the button:
[attachment=1]customers_dtl_js.PNG[/attachment]

it compares the button but it doesn’t work
[attachment=0]customers_dtl_button.PNG[/attachment]

Hi DEK4,

This has nothing todo with the frameworks. In servoy you can change forms with the solutionModel. If a form is already created and showing there is a functions recraeteUI(). This will recreate the UI but will not do anything to new methods, new variables ect. So if you want to create new method or new variables you will have todo this before the form is ever loaded or remove the form from history first so it will be created again.

sanneke:

DEK4:
Hello… i want to force the recreating of one form link customers_dtl with one my external function … how can i do it?

i need to make something like this:
[attachment=2]customers_dtl.PNG[/attachment]

when i click to the button:
[attachment=1]customers_dtl_js.PNG[/attachment]

it compares the button but it doesn’t work
[attachment=0]customers_dtl_button.PNG[/attachment]

Hi DEK4,

This has nothing todo with the frameworks. In servoy you can change forms with the solutionModel. If a form is already created and showing there is a functions recraeteUI(). This will recreate the UI but will not do anything to new methods, new variables ect. So if you want to create new method or new variables you will have todo this before the form is ever loaded or remove the form from history first so it will be created again.

hi thanks for your answer
but when i try to execute history.removeForm(‘Subjcet_dtl’) it returns false…any idea?

You can only remove forms that are not visible.

Ok thanks!

I have this error when try to open a form…

Exception calling form method 'treeNodeSelected' with arguments [41, nav_menu_items, 82, 169, null] on form 'svy_nav_fr_tree'in async mode on solution sampleuse_navigation

pentamsi:
When is relased the final and stable version of the framework?

We plan to release on 20 august.

Regards Sanneke

Thanks for all! And update all the documentation? both pdf?

Yes, I am also updating the documentation.

Today launch the final relase? Sorry about this question, but it’s important for our program, thanks for all

Due to some unforeseen problems today we will not make the release today. We plan to release soon, we will keep you posted.