*** johannesV has joined #gnuenterprise *** reinhard has joined #gnuenterprise *** kilo has joined #gnuenterprise good morning *** kilo has quit IRC *** kilo has joined #gnuenterprise good morning hi johannesV *** johannesV has quit IRC *** johannesV has joined #gnuenterprise reinhard: how much are the datatypes 'date' and 'time' useable wrt appserver? do you still recommend not using them? kilo, you can use them, of course .. but you should keep in mind that backends handle date-types different (until we fix that in common) or find another solution to the problem it just hurts for me to type datetime eg date of birth... ? i'd say a birthdate is of type "date" or do you track the time too for that information ? :) it was my original question, that should i stick to using datetime as a safe datatype or not. ah, now i understand ... sorry however for a GNUe-Horoscope birth time could be also important 8-))) i'd say use date (since it is the *right* type) and exact geo coordinates... :)( after fixing dropdowns, fixing such a little thingy should be a 10-min work for you two 8-))))) i had a strict order *not* to start anything *new* today ... :) lol i'm fiddling with changes that new dropdown behaviour causes... could yuou help out plz? in a block that contains invoice lines, i have fk_description="ITEM_shortName" fk_key="gnue_id" fk_source="dts_ITEM_Item" maxLength="32"/> fk_description="ITEM_price" fk_key="gnue_id" fk_source="dts_ITEM_Item" readonly="Y" /> first field is dropdown, second is a label for displaying the price of the product this works OK, it displays the price. but fldInvProductPrice contains the product itself (of type ITEM_Item), not the price. but I would need the price for later calculations. how t achieve that the second field contain the price? have you tried fk_description="ITEM_price.foobar_price" ? I dont get it how to reach the price ? it is in INV_product.ITEM_price, it is a num,ber just a sec, i'll have a look at the gcd's ok, thx in which gcd do i find it ? item.gcd ? yes ITEM_item.ITEM_price is this the value you'd like to see ? yes from which class ? INV_product ? INV_Item has a product, of type ITEM_Item. INV_Item.INV_product.ITEM_price this is the fully qualified name of the value (as seen from INV_Item) all this to fk_description? fk_description="INV_product.ITEM_price" fk_source is ITEM_Item, and ITEM_Item has no INV_product * johannesV phone i'm going to commit recent state so i'm a bit confused now ... shortName is in the same class as the price you'd like to see... why can't you use "ITEM_price" as fk_description ? this should actually work if shortName is displayed correctly btw. you won't need that readonly="Y", just set the entry to style="label" readonly is only double-cheking, a good old habit of C programmers... *** ajmitch_ has quit IRC ITEM_price works, i can display it and it correctly shows the product's price. but the field itself contain an instance of the product, not the price. and i would like that it contained the price, not the gnue_id of the product * johannesV phone ... * kilo sharpens his knife, gets in the car, drives to Austria and cuts off that annoying phone line 8-)) back committed if you svn up, you'll see that product price is displayed when selecting the product from the dropdown but it seems to work fine ... as soon as i select another item, the price changes ... uncomment line 150 in the gfd ? yes after entering the qty, it should display that line's total TypeError: int argument required yes. it is because a gnue_id is in fldInvProductPrice, not the price... why don't you do this in a OnChange () trigger ? (on appserver-side= s/=/) hung to quantity in the gcd? are create a calculated property at least hmmm kilo: to get the 'real' price you'd have to add another datasource which you can query say dtsItem_item which you query with dtsItem_item.simpleQuery ({'gnue_id': blkINV_Item.fldInvProductPrice.get ()}) and then you have the price this is not a bug, though no, not a bug the 'real' value of the field defined by fldInvProductPrice in fact is a gnue_id but it's displayed by it's price and is there no way that it contained the price? i'd say you do the calcs in a calculated property and use the on-change trigger (forms) to fire it no, the block blkINV_Item does not provide a container for that value and what about your previous idea, OnChange in the gcd? but maybe we could change GFField to provide the 'lookup' value for fk-fields ... OnChange in the gcd would mean you've to store the result in there too ... ah. sure... but as it looks like you're storeing the result in blkFree.... but you could combine it a bit ... calc-property in gcd (doing the dirty work) and in the forms-trigger just access that prop INV_Item.fldMyFunnyResult (for example) blkFree is only because of limitatons imho, so if it could be solved any other way more elegant, i will go that way @roulette *BANG* Hey, who put a blank in here?! where this field is connected to the calc. prop * bigbrother reloads and spins the chambers. damn ok, thx for the help np @dice kilo: dice d @dice 6d6 kilo: 4, 4, 1, 3, 6, and 5 johannesV: whoaaa, I win, Evil-Appserver loose 8-))) Thx!!! *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC @fortune ah no fortune 8-)) *** dcmwai has quit IRC bbl have to fix a suse server this afternoon which means format disk, install debian :-) l8r all *** reinhard has quit IRC johannesV_: it is not a new problem, so you are allowed to deal with it 8-))) latest commit in gnue-contrib if you enable the trigger in line 64 in INV_Head.gfd, it causes infinite loop upon commiting why??? there's no trigger at that line line 64 is ? ah didn't svn up @roulette kilo: *click* can you reproduce it? @weather LHUD kilo: The current temperature in Szeged, Hungary is 51°F (1:00 PM CET on November 19, 2004). Conditions: Partly Cloudy. Humidity: 67%. Dew Point: 43°F. Pressure: 29.44 in (997 hPa). Visibility: 19.0 miles (30.0 kilometers). UV: 0 out of 12 *** inv0lved has joined #gnuenterprise *** kilo has quit IRC *** inv0lved has quit IRC *** johannesV__ has joined #gnuenterprise *** johannesV_ has quit IRC *** johannesV__ has quit IRC *** lekma has joined #gnuenterprise hello everyone *** wendall911 has joined #gnuenterprise *** kilo has joined #gnuenterprise hi hi lekma hi kilo *** reinhard has joined #gnuenterprise hi reinhard reinhard: if i were to reload a class while running server would replaceReferences (...) and then complete () on a class definition be enough?? * lekma wonders if his sentence makes sense lekma: I'm sorry I can't tell johannesV has done most of the class repository stuff and I have lost track at some point what you say seems to make sense to me so you might be right but to be sure you should ask johannesV ok , i'll ask johannes later in fact we already have to new methods to reload classes and modules that seem to be working but i wanted to be sure before submitting to you or johannes lekma: how do these methods work? let me rephrase how are these methods activated? they are functions of geasSession that are available in geasSessionManager and then via xmlrpc (appserver.grpc) ah reloadClass (classname) is there something wrong in this sheme? we were toying with the idea to let appserver react on a signal or with a pseudo business object (comparable to the /proc filesystem in linux) my major concern is humm lot of fun in perspective there will be several administrative things not only reloading gcd's but also stuff like killing sessions, requesting info about sessions, probably much more and I think we don't want to clutter up the RPC interface hmm phone, bbl in any case I agree with you that something like reloading gcd's in running appserver is needed but we saw that as part of a "bigger" project named "administrative interface" well my wife demands for me so i'll bbl myself :) *** johannesV has joined #gnuenterprise i have to run, i'll try to catch up with you or johannes tomorrow night all *** lekma has quit IRC *** holycow has joined #gnuenterprise *** wendall911 has left #gnuenterprise *** sjc has joined #gnuenterprise *** cilkay has quit IRC *** bluesbaron_ has joined #gnuenterprise *** bluesbaron_ has left #gnuenterprise *** jcater has joined #gnuenterprise *** cilkay has joined #gnuenterprise *** bluesbaron_ has joined #gnuenterprise *** bluesbaron_ has left #gnuenterprise *** sjc has quit IRC *** reinhard has quit IRC *** kilo has quit IRC *** holycow has quit IRC *** sjc has joined #gnuenterprise *** sjc has quit IRC *** sjc has joined #gnuenterprise *** shmooz has quit IRC *** shmooz has joined #gnuenterprise *** sjc has quit IRC *** jbailey has quit IRC *** cilkay has left #gnuenterprise *** holycow has joined #gnuenterprise