*** johannesV has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning reinhard: translation done kilo: thanks good morning *** btami has joined #gnuenterprise hi johannesV morning i'm fiddling with the knobs ... :) and i'm surprised how much could be done with forms and appserver right now :) *** bluesbaron_ has joined #gnuenterprise *** bluesbaron_ has left #gnuenterprise does anyone know how to protect an entry from modification ? nor do we have a chance to get the 'description'-value of a field with fk_source=".." reinhard: protect entry-> label style oops it was meant for johannesV kilo: i cannot navigate through labels !!! i want to implement a dialog to select options from ideal protection 8-)) but i don't want the user to be able to change the values although she must be able to select one :) radiobuttons we don't have them oh listbox there's no navigation through the next/prev/first/last-record buttons then and i cannot have multiple columns then (from different sources like descriptions from fk_*) you dont want this really. you want something simpler. 8-)) yeah, i like a readonly-grid-control :) yes but i don't understand in detail what yuo would want to do all such things like 'readonly', 'editable' and the like are beeing ignored by forms i do query a cd from a remote cd database cddb? yes and i want the user to select a match so there's a dialog-form presenting all matches in a block using rows="..." the category of the downloaded match is a lookup into a datasource (as well as artist would be later) but i don't want the user beeing able to change the values in the entries ... in fact afaik 'readonly' works, but not on forms level, ie it lets you edit an entry, but does not save modifications but i think you should go for a listbox, concatenate description fields but i want to have nice columns all aligned vertically you ask for trouble 8-))) i know go and implement a grid control qucikly 8-)))) i can't ... a release is pending :)) otherwise i would have done so already .... *lol* back reinhard, can you give me a short call ? wait for release, then implemenet it asap johannesV: ok as soon as i finished my current telephone ok, thanks (so i'll go for a coffee ...) ahh < ? @roulette kilo: *click* @weather @weather LHUD kilo: The current temperature in Szeged, Hungary is 26°F. Conditions: Partly Cloudy. Humidity: 88%. Dew Point: 24°F. Wind: SSE at 2 mph (4 km/h). Pressure: 30.40 in (1029 hPa). Visibility: 6.0 miles (10.0 kilometers). UV: 0 out of 12 @roulette *BANG* Hey, who put a blank in here?! * bigbrother reloads and spins the chambers. bah 2 out of 2? btami: is there anything you can/want to do wrt windows packaging before the final release ? nothing ok thanks so if only ajmitch popped up here i'd like him to test the prereleases wrt deb packaging however i won't wait for too long... *** dcmwai has quit IRC *** lekma has joined #gnuenterprise hi all hi lekma hi kilo reinhard: if i create an appserver object with new(), fill up it's properties, what should i tell it to commit itself? session.commit ()? it will be committed on next commit that happens is session a global thing that i can access from within a class' procedure? for example when you press the diskette button in the form i don't want the user to press buttons, in fact buttons and menus are disabled... but be aware that a commit is always global, i.e. it commits the complete transaction of that session kilo: if you're in a 'gnue-procedure' session.commit() should do the trick yes 'session' is integrated into procedure's namespace bbl it represents the current 'session' but be aware that a commit is always global, i.e. it commits the complete transaction of that session <-- i'm damn too slow so you can access everything bound to a session (like all methods of language/Session.py as well as username, filters, etc.) ok guys, thanks. then i'll press that button... beware... johannesV: can you access password also? i think so but i'm not sure ... you would have to check bbl *** btami has quit IRC hmm i've added a 'getFKDescription ()' and a 'setFKDescription ()' to GFField so it would be possible to get a field's fk_description value right away without doing additional queries shall i commit this path before or after the release ? in principle it's very easy and looks non-intrusive green lamp :) at least it saves a gfd-programmer a few additional datasources ... :) ok, beware ... here we go if you find the way to enable/disable a button or an entry from trigger code... yeah, i've thought about this too yesterday but i think this will require changes in uidrivers/* too so i thought to add it after release anyway, it will be useful yes it is nice screenshot ... :) but zip codes are only 4 digits in austria :) bah and 'Makkoserdo sor' is 'Makkos-erdő sor' IRL but anyway it would be nice to have the add/remove buttons only active if there are elements in the list yes yes yes, exactly i think we should add this as a general feature to GFEntry, like .enable () .disable () but it impacts not only the widget-set but also the GF* stuff (like traveling focus, etc...) yes, deep impact bbl *** kilo has quit IRC *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** kilo has joined #gnuenterprise *** mixi has joined #gnuenterprise *** holycow has joined #gnuenterprise *** wendall911 has joined #gnuenterprise *** sjc has joined #gnuenterprise *** wendall911 has quit IRC *** johannesV_ has quit IRC *** johannesV has joined #gnuenterprise *** derek has joined #gnuenterprise *** btami has joined #gnuenterprise derek: any chance to setup DCL again? sure if people will use it i think we just need to not have the email gateway turned on (for now) as spam is so rampant i liked it i think it's better than using BUGS file for the logs: reinhard, seems as if i've found another bug in common (datasources) wrt dropdowns * johannesV still hunting derek: DCL with web interface is enough, if users can type bugreports with it well currently they have to be user i.e. have an id wouldnt be hard to make anon hmm ok reinhard, if i do a block.clear (), followed by a few block.newRecord () the next rollback raises an index-error on _cachedRecords derek: has ash enough resources to run DCL ? if yes, i'm suggesting to go yeah hit me up next week for it i have to run to meeting will forget by monday ok thx johannesV: block.clear() should actually already insert a new record AFAICT i get a index out of range error on _cachedRecords on rollback (even if i do not use clear ()) and does that relate to dropdowns? i'm not sure ok *** wendall911 has joined #gnuenterprise ah have a look at this traceback: File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/datasources/drivers/Base/ResultSet.py", line 435, in __notifyListeners listener.currentRecordMoved () File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/GFObjects/GFBlock.py", line 351, in currentRecordMoved self.switchRecord (self._resultSet.getRecordNumber() - self._currentRecord) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/GFObjects/GFBlock.py", line 362, in switchRecord field.gotNewCurrentRecord() File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/GFObjects/GFField.py", line 458, in gotNewCurrentRecord self.__fk_resultSet.findRecord({self.fk_key: self.getValue()}) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/datasources/drivers/Base/ResultSet.py", line 259, in findRecord self.__move (-1) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/datasources/drivers/Base/ResultSet.py", line 137, in __move self.__notifyListeners () File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/datasources/drivers/Base/ResultSet.py", line 435, in __notifyListeners listener.currentRecordMoved () File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/GFObjects/GFField.py", line 451, in currentRecordMoved self._block._form.updateUIEntry(self) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/GFForm.py", line 728, in updateUIEntry self.dispatchEvent('updateENTRY', entry, _form=self) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/events/EventController.py", line 111, in dispatchEvent handler(event) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/forms/uidrivers/_base/UIdriver.py", line 375, in updateEntry record = block._resultSet.getRecord (currentRecord - (index - count)) File "/home/johannes/prj/gnue/.cvsdevelbase/gnue/common/datasources/drivers/Base/ResultSet.py", line 122, in getRecord return self._cachedRecords[record] IndexError: list index out of range (sorry for that long part) *** btami has quit IRC oh crap so this means the recordset is moved to record -1 and tries to synchronize the block before the block can insert the new record it happens if i rollback in the master record yeah, something like that i think GFField should ignore the currentRecordMoved if the new position is -1 this should be safe (as the GFField will never remain on record -1, GFField only exists in a GFBlock and the GFBlock will insert a new record if needed) and it should fix this problem can you do the patch ? ah you already have uncommitted changes? no, i don't think so anyway I can do * reinhard svn up at the moment *** cilkay has joined #gnuenterprise *** johannesV has quit IRC * reinhard wonders why ajmitch is hiding these days ;-) btw as we are at rev 6730 new do we already have plans for a party when we will reach 10000? s/new/now/ bbl *** wendall911 has quit IRC *** wendall911 has joined #gnuenterprise *** MiXi^ has joined #gnuenterprise *** mixi has quit IRC *** reinhard has quit IRC *** sjc has quit IRC *** kilo has quit IRC *** holycow has quit IRC *** lekma has quit IRC *** holycow has joined #gnuenterprise *** wendall911 has left #gnuenterprise *** ajmitch_ has joined #gnuenterprise *** Vee has quit IRC *** Vee has joined #gnuenterprise *** jcater has joined #gnuenterprise *** jcater has quit IRC