plist to dict and back again

2008-02-02 Thread Josh Paul
I'm attempting to read in a plist, alter some information, and then write it out again. My approach has been to read in the plist, convert it to a NSDictionary, alter the value of a given key, and then convert the dict back to a plist and write the file to disk. However, I am stuck on conve

stored procedures (reverse engineered)

2008-02-02 Thread Theodore Petrosky
I have a simple postgresql setup with one trigger that fires a stored function. I would like my webobjects app to know about this procedure. (Or maybe I don't...). Basically if I insert a new person name, I fires a procedure that inserts a row into a meta data table and sets the reference back to

Re: did change....?

2008-02-02 Thread Guido Neitzer
On 02.02.2008, at 22:12, Theodore Petrosky wrote: ok I was playing around tonight and doing some tests... So I typed in Hello World Hello World Hello WorldHello World Hello World I got an error Error: com.webobjects.appserver.parser.woml.WOMLTemplateParserException exception Reason: com.w

Re: WO version from code (was: Qualifier creation)

2008-02-02 Thread Florijan Stamenkovic
I am scratching my head at the purpose of being WO independent but depending on other projects. JBND is not dependent on any other project, completely standalone. For deployment WO is essentially free so I do not really see the gain. Well, providing Cayenne users with a data binding library

Question regarding new inline style

2008-02-02 Thread Guido Neitzer
Hi. Something is not really clear to me with the 5.4 component parser: The documentation [1] states: "Keys prefixed with the Q character are analogous to prefixing ? in the original .wod file in a WOComponent bundle and are used for appending formValue content." And even gives an example:

did change....?

2008-02-02 Thread Theodore Petrosky
ok I was playing around tonight and doing some tests... So I typed in Hello World Hello World Hello WorldHello World Hello World I got an error Error: com.webobjects.appserver.parser.woml.WOMLTemplateParserException exception Reason: com.webobjects.appserver.parser.woml.WOMLTemplateParserExc

"WOO" – Do you need them?

2008-02-02 Thread Andrew Lindesay
Hello; For somebody who makes no use of "display groups" and forces the encoding in the components, I've never fully understood the need for the ".woo" files. Can I just drop them all? cheers. ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silvereye.co.nz ___

Re: Deploying a simple web application on Tomcat

2008-02-02 Thread Andrew Lindesay
Hello Asim; The idea behind my article was to support a deployment that was similar in topology to WebObjects' own wotaskd -- not a regular "servlet container". So it is not so much messy, but just intentionally not trying to "do the usual thing". Those instructions may also be a little

Re: WO version from code (was: Qualifier creation)

2008-02-02 Thread Mr. Pierre Frisch
I am scratching my head at the purpose of being WO independent but depending on other projects. For deployment WO is essentially free so I do not really see the gain. The only way to determine the WebObjects version is to check the plist of the JavaWebObjects bundle, this is how the install

Re: WOLips Entity Modeler and Derby SQL generation issue. (drop table cascade)

2008-02-02 Thread Anjo Krank
As WOLips just calls into the WO Derby plugin, I'd guess you better log a bug with WO. Cheers, Anjo Am 02.02.2008 um 19:39 schrieb Sergio Sánchez Maffet: does anybody know a quick workaround for the above mentioned issue. Derby does not support the cascade command in drop table statements,

WOLips Entity Modeler and Derby SQL generation issue. (drop table cascade)

2008-02-02 Thread Sergio Sánchez Maffet
Hi all, does anybody know a quick workaround for the above mentioned issue. Derby does not support the cascade command in drop table statements, but the Entity Modeler in WOLips generates always the cascade command which leads to a SQL syntax error if you execute the SQL without modificat

WO version from code (was: Qualifier creation)

2008-02-02 Thread Florijan Stamenkovic
Like Mike said, JBND is made so to be as data storage type independent as possible, even though it's primary purpose always was to bind WO and Swing. I will make sure that translations for WO qualifiers are provided. Talking about WO evolution, I already have a few places in my code where

[OFF] slapd on OS X client

2008-02-02 Thread Timmy
Friends: If anyone is doing WO dev with ldap and has any pointers about how you got the built-in slapd running on client (leopard) I'd love to hear about it (on/off-list). I've done all my testing against our live OpenDirectory server and I'd like to move to a local instance for further d