GNUe Traffic #105 For 18 Jan 2004

By Arturas Kriukovas

Table Of Contents

Introduction

This covers the three main mailing lists for the GNU Enterprise (http://www.gnuenterprise.org) project, plus the #gnuenterprise IRC channel.

1. Sequences

12 Jan 2004 Archive Link: "[IRC] 12 Jan 2004"

People: James Thompson

It was asked how to make a master-detail report, that has to have a sequence in a PRE-INSERT trigger (how to fill a field of a block with a sequence). James Thompson (jamest) offered using "field level function: <trigger name="trig2" type="PRE-INSERT"><![CDATA[ntryschool_contact_id.autofillBySequence('seq_school_contact_id')]]></trigger>" - to attach it to a <block>. That worked.

2. Dropdown triggers

14 Jan 2004 Archive Link: "[IRC] 14 Jan 2004"

People: James ThompsonJason Cater

It was asked what trigger was activated, when user selected something from dropdown list, but still haven't left the entry (so that changes could be made on the form according to the value he/she selected). The problem was that although a field did have post-change trigger, an entry did not. James Thompson (jamest) thought "its due to the internal edit mode in the input handlers" . Jason Cater (jcater) thought "it has more to do w/wx's funky handling of combos but the internal edit mode may not allow it either" . James offered adding "self._field.setValue(event.text) in the replaceText() of the dropdown handler" . It worked. The possible problem here could be adding an event to the <entry> "if you have > 1 entry on a form, you're changing the value of the field but tying the value change to the entry. So if you forget to add that trigger to every entry pointing to that field then you have a "bad thing", so I really thing the value change trigger should fire on the field and dropdowns should change their field values upon new selection" .

On the following day, James commited a code, but another problem appeared - seemed like the dropdown was getting a "draw yourself please" command from the form with each focus change.

3. GNUe on Mandrake 9.2

17 Jan 2004 Archive Link: "[IRC] 17 Jan 2004"

People: Peter DabrowskiJan Ischebeck

Peter Dabrowski (PeterD) announced he had tested GNUe on Mandrake 9.2 with python 2.3. The following problems arose:


Jan Ischebeck thought the problem had to be connected with python xmlrpc module. Peter found out that py-xmlrpc from rpm was beeing installed under python2.2, so he reinstalled it from source and it worked. Then some problems with psycopg appeared, but after rebuilding it from source too, appserver worked just fine.

 

 

 

 

 

 

Sharon And Joy
 

Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at kernel.org. All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License version 2.0.