Servoy 5.1 rc 3

problem 1:

Ok I have done a mistake,I have thinked that “.getLocationX()” and “getX()” returned the same X value(now using the first all work fine).In my mind I have imagined that work like the event ‘onDataChange’ that returned the new value (I don’t know why I have thinked this ^^‘’ )

problem 2 :

linked to the needs of problem 1:
I have to point to the form-button because the buttons represent database data,so to establish a logical link I would to give myTable-progressive-id to the name property of my button.
For now I have round the problem by giving a prefix name like “data_”+_id.

Thanks for your time

Marco

linked to the needs of problem 1:
I have to point to the form-button because the buttons represent database data,so to establish a logical link I would to give myTable-progressive-id to the name property of my button.
For now I have round the problem by giving a prefix name like “data_”+_id.

you also have getFormName and getElementName (also getSource) on the event; maybe these methods help you ?

you also have getFormName and getElementName (also getSource) on the event; maybe these methods help you ?

I already use these methods in this part of code:

function onTaskDrop(_event) {
var _formName,_elementName,_newY,i

for(i in _event.data){
 _formName = _event.getFormName()	
_elementName = _event.data[i].getName()
 _newY = forms[_formName].elements[_elementName].getLocationY() 
globals.saveNewY(_elementName,_newY)
}

during evaluation of

 _newY = forms[_formName].elements[_elementName].getLocationY()

the Client go in error.

I have modified the ‘test_drop’ solution to reproduce this case:
[attachment=0]test_drop.servoy[/attachment]

So try with this solution to move all the button,after some movement the client go in crash

test_drop.servoy (4.52 KB)

Ok, I see what happens, if you do
forms[_fName].elements[4] it will take the fifth element in the array of elements (which in this case doesn’t exist, as there are only 4 elements). So , you should use another name, so that there is no confusion between index and name.

Hi,

I want to report that:

I have a solutionModel-form,than I put it in designMode.
I drag an object(es:button) from a point to another,but at the DROPevent I want to adjust its position by “.setLocation(x,y)”.
Then the object is rightly moved,but the border-selection remains on the DROPlocation.

Can It be fixed?

Thanks in advance

Marco

Hi Marco,

Please also make a case in the Servoy support database:
http://www.servoy.com/s

I can’t update from rc2 to rc3.

See screenshot. As you can see there is the -beta option in the commandline, but Servoy doesn’t want to update and suggest … to add -beta to the commandline :?

[attachment=0]Clipboard-1.gif[/attachment]

Hi Martin,

Try it without all the other parameters.

java -jar servoy_updater.jar -beta

ROCLASI:
Hi Martin,

Try it without all the other parameters.

java -jar servoy_updater.jar -beta

Same problem …

please try again, we corrected a server resolve issue, just yet

Thanks Jan.

Download/Update is now started

Hi

I tried to use the Edit date format property. When I enter a format, let’s say dd.MM.yyyy in Display Format AND Edit Format and apply the checkbox “Use as mask” and enter a dot (.) the Edit Format gets lost.

In the field only … are displayed, as the edit format got lost.

Regards, Robert

Mac OS X 10.6.2
Java 1.6.0_17

ROCLASI:
Hi Marco,

Please also make a case in the Servoy support database:
http://www.servoy.com/s

Ok robert,

case maked with ID = 273939

We are busy migrating a project from Servoy 3.5 to Servoy 5.1. But when we import the solution, all the relations to media is gone and the property “imageMedia” shows “-unresolved-” in every form.

Could this problem be solved before the final version?

Most likely your module structure is not correct. The module containing the images should be included in the solution/module using them.

Paul

Hi

I just found that when starting the SmartClient from within the Developer, without having an active solution, no message is given, the first form shortly appears and then disappears. An info message would be nice I think. May not be related to this release.

Regards, Robert

Hi Paul,

We exported the top solution including all attached modules. So everything has been imported at the same time, including the module which contains the media.

Hi Vincent,

That doesn’t mean that the module structure is correct though. You need to check if the solution that has the -unresolved- items in it does include the module containing the missing resources.

Paul

Hi Paul,

I checked whether the module containing the media is correctly attached to the module with the missing links and this is the case. Moreover, if I try to attach the correct media to the element, I can select the media which should be there in the first place.

ok, this can mean 2 things:
1- You had duplicate media’s on 3.5 (meaning: the same media was part of 2 different modules/solutions) and now it cannot access the one it’s linked to (due to the module strucure) while you access the other one located in the module/solution where you expect it.

2- something is going wrong in the export/import.

To check the first: Open the Navigator view and locate the .frm file that has the -unresolved- property on it. Open it as a text file and locate the property that is -unresolved-. In the .frm file it should have a long identifier (UUID) as value. Then search throughout your entire workspace (Control-H) for that UUID to see if it is used anywhere as a unique identifier for a media. If it is, look at the module/solution it is in.

If the above is not clear, it’s best to create a support request in our support system and attach a zipped version of your workspace.

Paul