GNUe Traffic #112 For 17 Apr
Editor: Peter Sullivan
By Peter Sullivan
Table Of Contents
* Standard Format
* Text Format
* XML Source
* Introduction
* Threads Covered
1. 12 Apr Designer for Forms and Application Server
2. 12 Apr - 14 Apr Requerying on a commit in Forms
3. 13 Apr Menu tags and triggers within Forms
4. 13 Apr Forms approaching version 1.0?
5. 14 Apr - 15 Apr Trigger namespace in Forms
Introduction
This covers the three main mailing lists for the GNU Enterprise (http://
www.gnuenterprise.org) project, plus the #gnuenterprise IRC channel.
1. Designer for Forms and Application Server
12 Apr Archive Link: "[IRC] 12 Apr 2006"
Summary By Peter Sullivan
Topics: Designer, Forms, Application Server
People: Jan Ischebeck, Jason Cater
Jan Ischebeck (siesel) asked "how is designer improving?" Jason Cater (jcater)
said "it requires wx2.6 now - so the first change was getting it stable on 2.6.
Then I stopped using GNUe Form's ui drivers to draw widgets in real-time on the
layout canvas - I now draw my own objects on my own canvas object - this gave
me a tremendous amount of control over the canvas - so things "just work" on it
now - like rubberband boxes, etc. I also reworked the property editor - which
as it turns out - was solely responsible for the 2+ second delay between
clicking on a widget, and having designer actually select that widget.
Actually, that will be the extent of the changes before I declare designer
"stable" again - but there's a lot of under the hood cleaning (comments, better
variable naming, etc)" .
Jan said that he was "thinking how to enable designer to create appserver
designs" , alongside its current role as a designer for Forms and Reports.
Jason said he definantly wanted "to tackle that after I get forms support
stable again" but he had not given much thought to how an Appserver Designer
would actually work yet - it needed to be a tool for end users who were not
programmers but who understood the business process they were trying to model.
For the current (Forms-related) version of Designer, Jason was "not *that* far
away from wanting alpha testers - if I can get in a couple of solid days of
programming, I think it'd be where I want it at" .
2. Requerying on a commit in Forms
12 Apr - 14 Apr Archive Link: "[IRC] 12 Apr 2006"
Summary By Peter Sullivan
Topics: Forms
People: Reinhard M?ller, Jason Cater, James Thompson, Bajusz Tam?s
Referring back to Issue #111, Section #2 (5 Apr : Behaviour of Clear button) ,
Reinhard M?ller (reinhard) noted the consensus that "it would be logical if
after a commit the complete result set would be queried again" , but added
several further issues: "1. actually the starting point was the "undo" function
(that we came up with a different name afterwards), that this function should
do the query again - it was me who extrapolated that to the commit - is this
really desired to after commit see changes done by different users? and 2.
doing the complete query again after commit would mean newly inserted records
being sorted to the place they belong instead of the place they were originally
inserted, so it would look to the user as if the record "jumped" to a different
place" . Also, "3. what about those records that were inserted or changed in a
way that they don't match the query? would they disappear after the commit?" .
Jason Cater (jcater) noted that "the last query is already saved" since "if you
press the "Query" button twice, the previous query is brought back up" , so
users could re-run the query manually to see what had changed if they wanted
to. On the more general issue, "my personal feeling is in several key forms, my
users will get disoriented if the resultset changes on them - but I can see
where it would be useful/desirable too. Certainly it wouldn't be hard to add a
requery-on-commit attribute to datasources or blocks (is there not one now?).
But even then, the question becomes "what is the default?"" .
James Thompson (jamest) said "what's the advantage to the requery of the whole
result set? (other than it would make our record tracking and removal code go
away :)" But Jason was not sure of this last point - "as even on requery,
wouldn't you want it to still try to make a best-effort to go back to the same
record" ? Reinhard said that the "advantage would be that you see other records
that other users have added meanwhile - or changes from other users - (current
requery logic only requeries those records that had changes on commit)" . James
wondered "if that shouldn't be a separate feature - like in postgresql's case
it allows you to register for notifications of table updates" .
Reinhard was "also interested in what you think about this "revert" function:
should it revert to the original state of the db, or should it fetch changes
from other transactions? I think new records popping up on revert might not
disorient as much as it would on commit" but worried "*sigh* why does it happen
so often that I start implementing something and after that, I find out that
I'm not even sure what exactly I want to implement..." ..
Two days later (http://www.gnuenterprise.org/irc-logs/
gnue-public.log.2006-04-14) , Bajusz Tam?s (btami) explained that some of his
users were having problems adjusting to using a legacy application, now
translated to use GNUe Forms, because of the behaviour of the 'Clear' button.
The 'clear' button threw away all changes since the last commit, not just on
the current record. Also, it did not re-query the data, leaving the user
looking at a blank form. Reinhard M?ller (reinhard) noted that "both issues are
actually related to the "undo" function, and not to commit in any way" . This
meant that the behaviour of commit could stay as it was as of time of writing,
avoiding some of the potential problems previously discussed. The main
outstanding issue was whether the 'undo' function should "revert to the state
of the result set before any change was made - or should it refresh data from
the backend - risking that, for example, the current record suddenly disappears
because another user has just deleted it - or records "jumping around" because
somebody changed a record in a way relevant for the sort order" .
3. Menu tags and triggers within Forms
13 Apr Archive Link: "[IRC] 13 Apr 2006"
Summary By Peter Sullivan
Topics: Forms
People: Reinhard M?ller, James Thompson, Jason Cater
Reinhard M?ller (reinhard) noted that the