Servoy developer enum undefined

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Servoy developer enum undefined

Postby deezzub » Thu Sep 05, 2013 1:10 pm

I created the following enum.:

Code: Select all
/**
* Represents the payment status.
*
* @enum {Number}
* @public
*/
var PAYMENT_STATUS = {
   UNPAID: 0,
   PAID: 1
}


I recognised after output:

Code: Select all
application.output( PAYMENT_STATUS.UNPAID + ' ' + PAYMENT_STATUS.PAID );


that the properties are "undefinded". After I'm closing Servoy Developer Version: 7.2.0 - build 2013, that enum works like intended.
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany

Re: Servoy developer enum undefined

Postby jcompagner » Tue Sep 17, 2013 12:32 pm

i guess you already has a client open?
Just close/reopen the solution, then it should work, not all stuff that you change or add in the developer will work right away in a running client
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Servoy developer enum undefined

Postby deezzub » Mon Sep 23, 2013 8:01 am

jcompagner wrote:i guess you already has a client open?
Just close/reopen the solution, then it should work, not all stuff that you change or add in the developer will work right away in a running client

I closed the client, but that doesn't solved the problem. I had to close the Servoy Developer.
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany

Re: Servoy developer enum undefined

Postby jcompagner » Mon Sep 23, 2013 11:28 am

if you can reproduce this that a close solution in the client doesn't help then make a case

What client are you talking about? how do you close the client? Is that a webclient or smartclient?
You can always try to kill the client on the admin page.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 5 guests