upcoming 2.0 version

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

upcoming 2.0 version

Postby Harjo » Wed Feb 04, 2004 9:14 am

We are busy with some upcoming projects, and we want to straight some things out.
In the upcoming version of Servoy it will be possible to use database autoincrement generators. right?
Will it also be possible, that if a user updated or created a new record (outside Servoy, by PhP or something else) that this is instantly seen in the Servoy Client?

Or do you have to do all kind of methods, before this update is seen?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Harjo » Wed Feb 11, 2004 9:55 am

any news?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: upcoming 2.0 version

Postby Jan Blok » Wed Feb 11, 2004 12:38 pm

HJK wrote:In the upcoming version of Servoy it will be possible to use database autoincrement generators. right?

Correct, check the column data provider properties in Servoy 2.0 beta releases
HJK wrote:Will it also be possible, that if a user updated or created a new record (outside Servoy, by PhP or something else) that this is instantly seen in the Servoy Client?

Or do you have to do all kind of methods, before this update is seen?

It will not be instantly seen,since it is impossible to add a change listener on a database, currently there are 2 ways to make changes visible:
1) flush client cache in admin page
2) databaseManager.refreshRecordFromDatabase(foundset,record_index)

In option 2 we could make make if record_index is -1 all records are updated from db (let us know if this is wanted)
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby pbakker » Wed Feb 11, 2004 12:47 pm

The -1 option is something I would like :D

Now I have to make a loop to go through the foundset.

Thinking of this whole update issue: Would it be possible to get a property on a form that, if set to yes, would always refresh the data displayed on the forn when the form is loaded again?

This would solve most of the issues, I think.

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Harjo » Wed Feb 11, 2004 12:52 pm

I agree with Paul

P.S. What is exactly "record_index is -1"
I know "0" and any other number. but -1?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby pbakker » Wed Feb 11, 2004 1:02 pm

I assume -1 is not a record index, so if we would put that there, the function would know it has to refresh the entire dataset :D

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Postby Jan Blok » Wed Feb 11, 2004 7:00 pm

Yep, will be availeble in Servoy 2.0 rc5
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Discuss Feature Requests

Who is online

Users browsing this forum: Google [Bot] and 0 guests