*** sjc has joined #gnuenterprise *** reinhard has joined #gnuenterprise good morning all hi reinhard reinhard: appserver & common will get into sid 'soon' :) if I'm really lucky I'll be in the next batch of NM applicants to be processed that would be great *** sjc has quit IRC yeah, it'll mean no more bugging jbailey to get packages in :) *** sjc has joined #gnuenterprise *** johannesV has joined #gnuenterprise *** btami has joined #gnuenterprise good morning good morning *** sjc has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning *** ccfiel has joined #gnuenterprise *** ccfiel has quit IRC *** sjc has quit IRC *** sjc has joined #gnuenterprise johannesV: can you give a lecture 'Dive into filters' ? where's the problem with filters ? i would need step-by-step instructions oh, wow / msg btami poor johannesV. if i ever dare to ask him anything, he trembles and thinks there is another error somewhere :) i have say People class and i would like to filter them for Company in principle filters are very easy. if you look into gnue-appserver/doc/gcd.doc you'll find an attribute "filter" of the class-tag yes so you can say: done so when you read in this gcd the people-class get's a new field 'somemodule_Company' of the same type i see and whenever you create a new instance of the People-class, this property"somemodule_Company" will be filled in automatically by appserver but how does appserver now about the 'current company' ? we tell hime we tell him on startup of a session, all classes are searched which appear in such a filter-attribute *** sjc has quit IRC of all these classes you need a gld defining at least one property with search-attribute these search-properties are then displayed automatically in the login-dialog alternatively you can add a value of such a filter into your connection.conf like somemodule_Company = foobar where 'foobar' could be the name of the company (= the search-field) that's all about ah, there's something else all queries you create on such a 'filtered' class like People will automatically get an extended condition which is matching the filter so you don't need to 'filter' manually and you need to be carefull when designing filters: don't make them circular :)) (but i think appserver would detect it ... it's been a long time i've created that filter-stuff) kilo, does that answer you questions ? *** kilo has quit IRC *** btami has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC *** dcmwai has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC *** jamest has quit IRC *** dcmwai__ has quit IRC *** lekma has joined #gnuenterprise hi all johannesV: you here?? i'm still correcting code to keep up with None changes and i have a calc property that used to return None (for a not found object) should i return None or NullObject?? None *** kilo has joined #gnuenterprise on a side note, even thoug the code tell it to return a language-interface-Object the return object is a unicode objectId reinhard: thx johannesV: sorry, we were cut off from the net lekma, have you read the latest mail about NullObject ? you do get a NullObject only on reference-properties not yet oh ok (sometimes called indirect properties) speaking in the word of sample.gcd this means address_person.address_country will return a NullObject (if it has NULL in the db) and address_person.address_country.address_name will return None (if it has NULL in the db) *** jamest has joined #gnuenterprise same applies if you save the value of address_person.address_country and do x.address_name later (where x is the saved value) kilo, do you have any other questions about filters then ? got to try them, before asking kilo, ok, np and i got to go home now, so will try it in the evening. thx lekma on a side note, even thoug the code tell it to return a language-interface-Object lekma the return object is a unicode objectId lekma, what do you mean with this ? how did you check if it's unicode ? print type(object) :) because the official string representation of a language-interface object is it's gnue_id (objectId) in a calc prop there is no return type for language-interface-Object no, not for a calc prop so if you do: return session.find(...)[0] youl will get an unicode string of gnue_id ah, i see not the object well i think this is a combination of __str__ and xmlrpc ... you have defined the calculated property as type string, don't you ? well i tried with 'id' and 'string' same bbl *** kilo has quit IRC so a some point the result will be transformed into a string yep my comment was not a bug report :) id is a string with length 32, but i'm not sure what happens if used for a calc. property lekma, we do not support 'object' as result-type yet that's ok it's just one more find to get the object back, so it's good enough *** btami has joined #gnuenterprise johannesV: i'm afraid i don't understand smthing, in your example above if address_person.address_country is a calculated prop that should return a language-interface-Object following your explanation, if there is no object i should retur NullObject lekma, no only if address_person.address_country is a "reference property" ah ok this means it's datatype is for example "address_country" or "foobar_trash" in this case, another ref like person.country.name would be allowed (syntatically) so there's no way i will ever rturn NullObject that's why we cannot return just None in this case no, usually you don't ever have to return NullObject ok thx you only have to watch out if you access such reference properties when you want to check for null bbl -- does anybdoy have a hint how to import a pst into evolution? pst = outlook file *** mnemoc_ has joined #gnuenterprise *** mnemoc has quit IRC reinhard, have you already delete win* ? here's a thread which may be of interest to you: http://www.webmasterworld.com/forum40/1128-2-10.htm and here's another one, sounds even better: http://lists.ximian.com/archives/public/evolution/2002-May/018577.html http://alioth.debian.org/projects/libpst/ reinhard: import them in firebird on win and then you can copy you Local Folders to linux (i think they are in mbox format in fb win/linux) if evo stores in mbox it's a win :) PostgreSQL 8.0 has been released thanks all reinhard, still installing ubuntu ? he just left *** titopbs has joined #gnuenterprise *** jcater has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** jamest has quit IRC *** jamest has joined #gnuenterprise *** johannesV has quit IRC *** reinhard has left #gnuenterprise *** cilkay has quit IRC *** dimas has joined #gnuenterprise hello all *** wendall911 has joined #gnuenterprise hi dimas hi btami *** dcmwai has joined #gnuenterprise *** sjc has joined #gnuenterprise *** kilo has joined #gnuenterprise *** dcmwai has quit IRC *** kilo has quit IRC *** johannesV_ has quit IRC *** kilo has joined #gnuenterprise *** SachaS has joined #gnuenterprise *** kilo has quit IRC *** mixi has joined #gnuenterprise *** lekma has quit IRC *** MiXi^ has joined #gnuenterprise *** MiXi^ has quit IRC *** reinhard has joined #gnuenterprise *** mixi has quit IRC *** kilo has joined #gnuenterprise hi kilo how are you? *** SachaS_ has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** SachaS__ has joined #gnuenterprise *** SachaS__ has quit IRC *** SachaS has quit IRC *** cilkay has quit IRC *** SachaS_ has quit IRC *** btami has quit IRC *** cilkay has joined #gnuenterprise *** cilkay has quit IRC night all *** reinhard has left #gnuenterprise *** kilo has quit IRC *** jamest has quit IRC *** cilkay has joined #gnuenterprise *** cilkay has quit IRC *** cilkay has joined #gnuenterprise *** jcater has quit IRC *** titopbs has quit IRC *** cilkay has quit IRC *** cilkay has joined #gnuenterprise *** cilkay has quit IRC *** cilkay has joined #gnuenterprise *** sjc has quit IRC *** jamest has joined #gnuenterprise *** jamest has left #gnuenterprise *** jamest has joined #gnuenterprise *** bigbrother has joined #gnuenterprise *** bigbrother has joined #gnuenterprise *** bigbrother` has quit IRC *** ncjp has quit IRC *** ncjp has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** jcater has joined #gnuenterprise *** jcater has quit IRC *** titopbs has joined #gnuenterprise *** titopbs has quit IRC *** cilkay has quit IRC *** cilkay has joined #gnuenterprise *** wendall_away has quit IRC