*** dimas has joined #gnuenterprise *** holycow has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** sjc has joined #gnuenterprise *** johannesV has joined #gnuenterprise good morning good morning *** dimas has quit IRC *** dimas has joined #gnuenterprise good morning all hello reinhard morning reinhard *** dcmwai has quit IRC *** kilo_ has joined #gnuenterprise good morning hi SachaS *** btami has joined #gnuenterprise *** mnemoc has joined #gnuenterprise *** mnemoc_ has quit IRC bbl *** btami has quit IRC *** dcmwai has joined #gnuenterprise Good Morning! For those of you that use Designer do you use the trigger facilities? Or do you do it with a editor? That is, do you use an editor to code your trigger or use the built in stuff that Designer offers? outer editor *** dimas has quit IRC *** dcmwai has quit IRC *** sjc has quit IRC *** kilo_ has quit IRC *** jamest has joined #gnuenterprise *** holycow has quit IRC *** johannesV has quit IRC *** johannesV has joined #gnuenterprise *** jcater has joined #gnuenterprise I have a question on dictionary conditions currently you have to tell buildConditionFromDict whether you want "LIKE" or "=" conditions what would you think about autodeciding that depending on whether the string contains a "%" or "_"? when you mean autodecide do you mean, as a whole and not have the parameter that specifies it or keep the parameter, but check each field and if 'LIKE' is to be used, only use LIKE if % or _ is included, but = otherwise? that's what I would want to find out here? s/?/:)/ *** titopbs has joined #gnuenterprise *** dimas has joined #gnuenterprise *** titopbs has quit IRC jcater: would any of these 2 alternatives make sense to you? I like the latter i.e., you specify that you are after "LIKE"s but include intelligence on whether like or = is actually used ok and you would keep the default of GCeq ? but some tools may need all strings to be '=' I'm indifferent though I don't know what all code is out there assuming that default already I think you're right *** dcmwai has joined #gnuenterprise reinhard, is object._parent support completely gone now? or are there deprecation hooks to keep old code working? I just need to know before I svn update you have non-gnue code that uses _parent? yes it is gone ok you should now use setParent and getParent is _children still there? yes ok I use GObject trees for several internal projects ok you use _parent a lot there? *** titopbs has joined #gnuenterprise *** jcater_ has quit IRC not a lot but inside my GObject subclasses hi howdy aren't blocks independent? i have two blocks in a form but they relate to each other. they both use the same datasource ... then one block will follow what the other does and with different datasource? they will be independent ok. thanks. will try. odd behaviour: if I use style="dropdown" of the entry for the only filed of one block I get a traceback if I do not use a style attribute it is working as text box you may not use a block for the lookup datasource what do you mean ? in the block I do reference a datasource you have 2 datasources, right? one with your main data and one where the dropdown would get it's contents one block, which uses several datasources: (project_todolist, project_state, project_priority, project_project) second block only one datasource: project_project with the first block the application is working eg without any second block then i have to go into query mode and select a project from the project pulldown. sorry I don't understand and then hit query SachaS: one block, which uses several datasources: (project_todolist, project_state, project_priority, project_project) how can you use several datasources in one block? sorry only one dah u are right the block uses only one datasource and the second datasource is to fill the project pulldown? then that block has to go away with the second block i want to have a project selection which creates a condition and sets the condition for the datasource of the first block then you should be just able to remove that block because the dropdown is bound to the datasource, not to the block *** titopbs has quit IRC jcater and/or jamest: I'm trying to understand the basical semantic difference between datasources and blocks to me it seems like they are always connected 1:1, aren't they? what is the "job" of a block as opposed to the "job" of a datasource? *** sjc has joined #gnuenterprise *** dcmwai has quit IRC a block contains forms-only attributes a datasource is universal across all tools other than that, it is 1:! 1:1 but we wanted datasources that are valid in any one tool to be valid in all tools (at least, read-only ones) ah so the idea was like to have a xml datasource definition to be included in a gfd and a grd and be valid in both? more or less that's how it works now ok gotcha iirc forms and report both just import the parser definitions from the common datasource yep and I got it right that datasource:dataobject is also 1:1 and was only necessary because dataobject had some backend specific stuff while datasource is backend-independent? that i can't answer and I don't recall there being a dataobject :( *** wendall911 has joined #gnuenterprise let me look reinhard: i think that's right i believe this was also to allow us to have more than one type of backend Is it oalso true that forms are onlu used with UI? you could have a sql type, or an object type jamest: yes however, the current DataObject/ResultSet code is able to handle both tiredbones: yes jamest: and contains no more backend specific functions reinhard: i think the object type was never actually used only a placeholder jamest: it was used but damn man, that's been more than a week ago :) jamest: there was a DataObject_object and a DataObject_sql class where week = year(s) DataObject_object was used? yes ah, maybe the csv drivers? no all backends the difference was DataObject_object was when you had s DataObject_sql was when you had a ah, ok but as it is now, would you (unless jcater speaks up) agree that DataObject could be phased out? When do you use blocks? I remember jcater saying something that he never liked the distinction anyway reinhard: i really don't remember enough to be qualified to say i myself would not object to the change if it would help simplify the code base I under stand that block are use with forms tiredbones: er, hang on jamest: I think that's very much the bad spell on gnue-common but I don't understand there use within forms. nobody knows/remembers enough about how all of it works to dare to change something deeply :-) form datasource block layout datasource links to data blocks contain fields that map to fields in the datasoure block tracks the current record being edited, the fields in the block enforce things like force uppercase, input length restrictions, etc layout contains entries which tie to fields in the block you can have more than one entry tied to a blocks field (usefull if you want the same entry fields on multiple pages of the same form) jamest: Is this M/D relationship? M/D used to be enforced at the block level years ago, this is now handled at the datasource level (reports needed it IIRC) reinhard: if somethings different now please tell tiredbones I'm full of it :) *** wendall911 has quit IRC jamest is correct :) with all the datasource commits i wasn't so sure :) jamest, reinhard: is the purpose of blocks to keep track of the virtual form? yes! it also allows you to place triggers at the block level to do certain processing Something else I'm confuse on, actually alot of thing. When I design a screen I usually use the add screen as the edit screen. But it sound like I have to know before hand what the user what before sending a screen up. a screen. Is this correct? i didn't understand the question Ok, let try again. sorry If a person what to do an edit they have to click on the icon the says they what to do an edit. Is that right? jamest: I know I'm not using the tech ligo here. you mean the switch to edit mode icon? *** wendall911 has joined #gnuenterprise jamest: yes i've never used that icon jcater added it iirc, but I'm not sure it's function *** btami has joined #gnuenterprise jamest: Is that something that's going to stay? i think this may have been a way to tag certain forms as uneditible by default to prevent accidental changes which is probably a nice feature, but I'm not sure it was completed jcater? jamest: Could'n that be done with a trigger? probably, but one goal of forms was to make the standard stuff as easy as possible so if that feature would be needed for lots of people then we'd make a quick way to do it forms if it's what I think it is then maybe it shouldn't display that icon as active if the form doesn't require it Going back to the datasource thing for a minute. If I have in my gfd file a line like what the difference in the this dataaource line? Do bothe datasource do the same thing? could anyone post me to some 'good' docs about wxPython ? the wxWidgets api docs don't count as 'good'? everything documented on wxPython.org is all about C++ and it looks like i can't find anything about the python implementation of wx is that a doc for python or C++ ? johannesV: both let me get you url http://www.wxpython.org/onlinedocs.php the C++ and python apis are the same with noted differences under topic overviews you'll find a wxPython link the wx docs usually document the difference from the python version at the end of the C++ doc however last I used it you have to still read the wxPython source at times as some things are not documented at all ok, thanks ... at least it looks like a good starting point maybe i can get along with that wx-stuff till tomorrow ... Isn't Robin writting a book on wxPython? It might be online. *** btami has quit IRC *** jamest has quit IRC *** jamest has joined #gnuenterprise *** SachaS has quit IRC *** SachaS has joined #gnuenterprise *** johannesV has quit IRC *** SachaS has quit IRC *** SachaS has joined #gnuenterprise jamest, jcater: I wonder if anybody calls GDataSource.addDetailDataObject or DataObject.addDetailDataObject manually in case there is any chance you could find out whether you have any reference to "addDetailDataObject" in your non-gnue code it would be very helpful for me thanks bbl reinhard: i never call it I don't call it outside of forms/reports my dream was to make that GEvent based and have a DataSourceController (part of GConnections?) that so anyone could listen in to detail record changes just by hooking into the event I also dream of a day I don't have to work any more so don't give too much thought to them :) This datasource variable is confusing. In some the the material I'm reading it is related to persistence data. In another is links a block to a datasource. Can it do both? In another part of the document, datasource is associated with the block variable in the tag. Sorry for the confusing first sentence. My brain goes fast than what I can type. s/fast/faster/ *** SachaS has quit IRC jamest, jcater: thanks for your reply, this makes life a lot easier for me jcater: if you are still here, is there any special reason why GRDataMapper calls controlSection.resultset = self.sources.getDataSource(source)\ .getDataObject().createResultSet(readOnly=1) instead of just self.sources.getDataSource(source).createResultSet? this is the only place where DataObject.createResultSet is called instead of GDataSource.createResultSet *** jcater has quit IRC *** jamest has left #gnuenterprise FYI, this address returns Not Found",http://www.gnuenterprise.org/tools/common/docs/technotes/00 Is Peter Sullivan still involed in the prodject? s/involed/involved/ night all *** reinhard has quit IRC *** titopbs has joined #gnuenterprise *** sjc has quit IRC *** wendall911 has left #gnuenterprise *** wendall911 has joined #gnuenterprise *** wendall911 has left #gnuenterprise *** dimas has quit IRC *** holycow has joined #gnuenterprise I was looking at some old archives and jcater metion he was going to look at Nola accounting package. Did anything ever develope? *** jcater has joined #gnuenterprise *** jcater has quit IRC *** dcmwai has joined #gnuenterprise *** titopbs has quit IRC *** tiredbones has quit IRC *** titopbs has joined #gnuenterprise