<?xml version="1.0" ?>

<kc>

<title>GNUe Traffic</title>

<author contact="mailto:arturas@gsk.vtu.lt">Arturas Kriukovas</author>

<issue num="105" date="18 Jan 2004 00:00:00 -0800" />


<intro>
  This covers the three main mailing lists for the <a href="http://www.gnuenterprise.org">GNU Enterprise</a> project, plus the #gnuenterprise IRC channel.
</intro>



<section 
	title="Sequences"
   subject="[IRC] 12 Jan 2004" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.12Jan2004"    
   author="Arturas Kriukovas" 
   contact="mailto:arturas@gsk.vtu.lt"    
   startdate="12 Jan 2004 04:00:00 -0800" 
   enddate="12 Jan 2004 04:00:00 -0800">


<p>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 <quote who="James Thompson">field level function: &lt;trigger name="trig2" type="PRE-INSERT"&gt;&lt;![CDATA[ntryschool_contact_id.autofillBySequence('seq_school_contact_id')]]&gt;&lt;/trigger&gt;</quote> - to attach it to a &lt;block&gt;. That worked.</p>
</section>


<section 
	title="Dropdown triggers"
   subject="[IRC] 14 Jan 2004" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.14Jan2004"    
   author="Arturas Kriukovas" 
   contact="mailto:arturas@gsk.vtu.lt"    
   startdate="14 Jan 2004 04:00:00 -0800" 
   enddate="14 Jan 2004 04:00:00 -0800">

<p>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 <quote who="James Thompson">its due to the internal edit mode in the input handlers</quote>. Jason Cater (jcater) thought <quote who="Jason Cater">it has more to do w/wx's funky handling of combos but the internal edit mode may not allow it either</quote>. James offered adding <quote who="James Thompson">self._field.setValue(event.text) in the replaceText() of the dropdown handler</quote>. It worked. The possible problem here could be adding an event to the &lt;entry&gt; <quote who="James Thompson">if you have &gt; 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</quote>.</p>
<p>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.</p>
</section>


<section 
	title="GNUe on Mandrake 9.2"
   subject="[IRC] 17 Jan 2004" 
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.17Jan2004"    
   author="Arturas Kriukovas" 
   contact="mailto:arturas@gsk.vtu.lt"    
   startdate="17 Jan 2004 04:00:00 -0800" 
   enddate="17 Jan 2004 04:00:00 -0800">

<mention>Jan Ischebeck</mention>

<p>Peter Dabrowski (PeterD) announced he had tested GNUe on Mandrake 9.2 with python 2.3. The following problems arose:<br />
<ul>
<li><quote who="Peter Dabrowski">I had to reinstall all gnue modules after upgrading because nothing worked</quote>.</li>
<li><quote who="Peter Dabrowski">xmlrpc transport for appserver</quote> did not work.</li>
</ul><br />
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.</p>
</section>


</kc>
