Re: ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Cheong Hee (Gmail)
If I were to try, I will activate this to see why global id for user is '0': /* debugging database */ NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupSQLGeneration); NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupDatabaseAccess); NSLog.setAllowedDebugLevel(NSLog.

Re: Date formatter with support for ordinal date suffix?

2009-07-16 Thread Q
On 17/07/2009, at 11:53 AM, Lachlan Deck wrote: Does anyone know of or use a date formatter that supports ordinal date suffixes like: 1st Jan, 2nd Feb, etc I ended up writing one, but am still interested to hear what other people have done to solve this one. Custom formatters. Since yo

Re: Date formatter with support for ordinal date suffix?

2009-07-16 Thread Lachlan Deck
On 17/07/2009, at 11:20 AM, Q wrote: On 17/07/2009, at 8:41 AM, Lachlan Deck wrote: On 16/07/2009, at 8:45 PM, Q wrote: On 16/07/2009, at 11:55 AM, Q wrote: Does anyone know of or use a date formatter that supports ordinal date suffixes like: 1st Jan, 2nd Feb, etc I ended up writing o

Re: Date formatter with support for ordinal date suffix?

2009-07-16 Thread Q
On 17/07/2009, at 8:41 AM, Lachlan Deck wrote: On 16/07/2009, at 8:45 PM, Q wrote: On 16/07/2009, at 11:55 AM, Q wrote: Does anyone know of or use a date formatter that supports ordinal date suffixes like: 1st Jan, 2nd Feb, etc I ended up writing one, but am still interested to hear wh

Re: ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Lachlan Deck
On 16/07/2009, at 6:37 PM, Gustavo Pizano wrote: Lachlan hello.. Yeah about the classnames it was damn mistake I did when creating the EOModel, my bad. :) selectedList is a NSArray that comes form the binding selections form the WOBrowser. The list that feeds the WOBrowser its being cr

Re: Date formatter with support for ordinal date suffix?

2009-07-16 Thread Lachlan Deck
On 16/07/2009, at 8:45 PM, Q wrote: On 16/07/2009, at 11:55 AM, Q wrote: Does anyone know of or use a date formatter that supports ordinal date suffixes like: 1st Jan, 2nd Feb, etc I ended up writing one, but am still interested to hear what other people have done to solve this one. C

Re: PDF-printing

2009-07-16 Thread Andrew Lindesay
Hi Atli; There is also a java print API implementation of IPP printing in LEWOStuff which was what I was going to point Frank at if he needed app-server side printing; LEIPPDocPrintJob LEIPPPrintService LEIPPPrintServiceTest (unit test to see how it works) I'd bette

Re: WOWebserviceClient: invalid argument

2009-07-16 Thread Chuck Hill
On Jul 16, 2009, at 9:18 AM, Kristof Cossement wrote: Hi, does someone have a solution for this problem ? I have a recurring problem in WO 5.4 with WOWebserviceClient.invoke: sometimes we get an exception on WOWebServiceClient.invoke private static WOWebServiceClien

WOWebserviceClient: invalid argument

2009-07-16 Thread Kristof Cossement
Hi, does someone have a solution for this problem ? I have a recurring problem in WO 5.4 with WOWebserviceClient.invoke: sometimes we get an exception on WOWebServiceClient.invoke private static WOWebServiceClient caller = ...;

Re: PDF-printing

2009-07-16 Thread Atli Páll Hafsteinsson
Great ! The last couple of days I've been looking like crazy for a way to connect to any CUPS server from java (not just the one on localhost) but all my googling did not find this lib .. go to love the WO lists ! Atli On Thu, Jul 16, 2009 at 2:09 PM, Jean-Francois Veillette wrote: > If the prin

Re: PDF-printing

2009-07-16 Thread Jean-Francois Veillette
If the printer is accessible from the server, the WO app can print directly to it using cups. We use the jipsi library to do so. In an office environment (with WO being used as a multi-platform dev environment for business) where server reside on the same network than users (and printers)

Re: Date formatter with support for ordinal date suffix?

2009-07-16 Thread Q
On 16/07/2009, at 11:55 AM, Q wrote: Does anyone know of or use a date formatter that supports ordinal date suffixes like: 1st Jan, 2nd Feb, etc I ended up writing one, but am still interested to hear what other people have done to solve this one. -- Seeya...Q Quinton Dolan - qdo...@g

Re: PDF-printing

2009-07-16 Thread Frank Stock
Hello Andrew, it is the user who needs to print to a local printer. But I have solved it now to open an extra window and put the pdf there and then print. Tah gives me a nomal result. It is strange that printing directly from the iFrame add extra margins on top and left. Thanks, Frank Op

Re: ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Gustavo Pizano
OK I have changed the name convention to Camel Case. :P I hope you guys wil understand me better. hhehe.. sorry for the huge mistake ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@list

Re: PDF-printing

2009-07-16 Thread Andrew Lindesay
Hi Frank; Would you be able to print from the WebObjects application itself or does the user need to print to a local printer? cheers. I want to include a PDF in an iFrame and let the user click to print the iFrame. But when I print the pdf, the left margin is always to large! Is this th

Re: ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Gustavo Pizano
Lachlan hello.. Yeah about the classnames it was damn mistake I did when creating the EOModel, my bad. selectedList is a NSArray that comes form the binding selections form the WOBrowser. The list that feeds the WOBrowser its being created like contentsList = (NSMutableArray) selectedWG.toTr

Re: ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Lachlan Deck
On 16/07/2009, at 5:40 PM, Gustavo Pizano wrote: Ok this is really simple but somehow its not working. I have a list of EO's (TRANSLATIONSET) in a WOBrowser, I have multiple selections to ture and with their proper bindings, also I have a WOpopUpButton that displays a list of USERS, item : USER

Antw: New job position in Switzerland

2009-07-16 Thread Andri vonAllmen
Hi, Because you mentioned this new job position, here is another one (also in Switzerland): http://www.espros-photonics.com/Versions/Europe/English/jobs_1.html#Software-Engineer for Business Applications >>> Pascal Robert Donnerstag, 16. Juli 2009 03:10 >>> Hello, I just posted, on wocommu

ObjectNotAvailableException: when saving a simple relationship

2009-07-16 Thread Gustavo Pizano
Hello all. Ok this is really simple but somehow its not working. I have a list of EO's (TRANSLATIONSET) in a WOBrowser, I have multiple selections to ture and with their proper bindings, also I have a WOpopUpButton that displays a list of USERS, item : USER and selection= selectedUser. now I have