Re: Weird mysql problem

2010-09-05 Thread Mark Woollard
avid B. > > Le 5 sept. 10 à 13:31, Paul D Yu a écrit : > >> What is the case insensitivity on MySQL set to? >> >> Paul >> On Sep 5, 2010, at 9:21 AM, Mark Woollard wrote: >> >>> I am trying to take a backup of a mysql database used by WO app from

Weird mysql problem

2010-09-05 Thread Mark Woollard
I am trying to take a backup of a mysql database used by WO app from a live server and restoring onto my laptop so I can test the migration code in the new version with a live data set. I've created a sql script from the live database using backup feature of mysqlworkbench. However when I try to

Re: Best way to run period task?

2010-01-06 Thread Mark Woollard
Triggering an action could work - was thinking of a thread created in the actual WO app that wakes every hour - any reason not to do that? Mark On 7 Jan 2010, at 01:19, Andrew Lindesay wrote: > Hello Mark; > > Could you use cron on a UNIX host inside your deployment network hitting a DA > in

Best way to run period task?

2010-01-06 Thread Mark Woollard
What's the recommended way to run a periodic task from within a WO application? In this case its infrequently (hourly) and independent of any web requests. Thanks Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev ma

Re: MySql plugin / driver bug

2010-01-06 Thread Mark Woollard
Mark On 7 Jan 2010, at 00:06, Chuck Hill wrote: > Why does it need an ID field? Do the relationship keys not make it unique? > Can you make it an EOGenericRecord? > > > On Jan 6, 2010, at 2:07 PM, Mark Woollard wrote: > >> If you have an entity with no exposed

MySql plugin / driver bug

2010-01-06 Thread Mark Woollard
If you have an entity with no exposed properties incorrect SQL gets generated (mysql + plugin). I have an entity who's sole purpose is to map between two other entities, it contains no data itself, just two one:many relationships, and an id field, so three fields in all (id, and two for the rela

Re: ERXSession ctors?

2010-01-05 Thread Mark Woollard
Done - have modified local copy of source for now. Mark On 5 Jan 2010, at 22:08, Mike Schrag wrote: > nobody ever asked ... log a jira > > ms > > On Jan 5, 2010, at 5:00 PM, Mark Woollard wrote: > >> Is there any specific reason why ERXSession / ERXAjaxSession don&

ERXSession ctors?

2010-01-05 Thread Mark Woollard
Is there any specific reason why ERXSession / ERXAjaxSession don't expose WOSession's WOSession(String aSessioniD) ctor? Thanks Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists

Re: Example of AjaxTabbedPanel use?

2010-01-04 Thread Mark Woollard
ax/AjaxExample and Wonder/Examples/Ajax/AjaxExample2 show > how to use the Ajax components. > > > On Jan 3, 2010, at 10:58 AM, Mark Woollard wrote: > >> Can someone point me at one? >> >> Thanks >> Mark >> >> __

Example of AjaxTabbedPanel use?

2010-01-03 Thread Mark Woollard
Can someone point me at one? Thanks Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/optio

Re: Sproutcore version?

2010-01-03 Thread Mark Woollard
OK - thanks Mark On 3 Jan 2010, at 17:49, Mike Schrag wrote: > Don't use SC framework in Wonder. > > Anjo -- how do you feel about just deleting that SC framework in Wonder? > > ms > > On Jan 3, 2010, at 11:53 AM, Mark Woollard wrote: > >> Just started t

Sproutcore version?

2010-01-03 Thread Mark Woollard
Just started to take a look at sproutcore and the Project Wonder wrappers seem to want sproutcore-0.9.20 and the current version installed by the process on the sproutcore website is sproutcore-1.0.1042. What's the way forward here? Symlink, configuration of wrapper classes somehow or obtain 0.9

Re: Another newbie question

2010-01-02 Thread Mark Woollard
Thanks - subclasses are now working:-) Mark On 3 Jan 2010, at 03:08, Chuck Hill wrote: > > On Jan 2, 2010, at 6:52 PM, Mark Woollard wrote: > >> Thanks for the input - a couple of questions on this. >> >> 1) Can't find ResourceManagerAdditions - what do I ne

Re: Another newbie question

2010-01-02 Thread Mark Woollard
rceManagerAdditions.stringFromResource(componentPath + "html", null, > session().languages()); >String wodString = > ResourceManagerAdditions.stringFromResource(componentPath + "wod", null, > session().languages()); >return WOComponent.templateWithHT

Re: Another newbie question

2010-01-02 Thread Mark Woollard
Maybe expanding will make things clearer... There is a base component FieldEditor which does in-place editing using the AjaxInPlace component + 2 ERXWOTemplate instances for the edit and view modes. I then am wanting to derive from this to create StringFieldEditor / IntegerFieldEditor / etc tha

Another newbie question

2010-01-02 Thread Mark Woollard
I have a component (java/html/api/woo/wod) and want to create a derived component that specialises some of the java functionality, but doesn't need to modify the html of the base component. I can't figure out how to get the derived component to return the base class html since the derived classe

Re: Migration bug?

2010-01-02 Thread Mark Woollard
Thanks - thats it - plugin fixes problem Mark On 2 Jan 2010, at 17:29, Mike Schrag wrote: > WO 5.4 breaks sql generation ... you need to use the custom mysql plugin that > has been posted on the wonder list. > > ms > > On Jan 2, 2010, at 12:23 PM, Mark Woollard wrote: >

Migration bug?

2010-01-02 Thread Mark Woollard
Am using Wonder Project migration for the first time. The initial database creation works but am now trying to add a single column as the second revision of the database. When running application am getting error as follows: Jan 02 17:13:28 TheApp[53817] INFO er.extensions.jdbc.ERXJDBCUtilities

Re: Stored procedure problem

2009-12-28 Thread Mark Woollard
Thanks for the input - adding ?noAccessToProcedureBodies=true gets the call to work. Will try and figure out what permissions issue requires this at some point. Mark On 28 Dec 2009, at 17:33, Chuck Hill wrote: > > On Dec 28, 2009, at 1:40 PM, Mark Woollard wrote: > >> perm

Re: Stored procedure problem

2009-12-28 Thread Mark Woollard
SP... > > > Chuck > > > On Dec 28, 2009, at 10:11 AM, Mark Woollard wrote: > >> Yes, and yes - the procedure does reference data in a difference schema, but >> the user has access to that and as indicated in my other follow-up reply it >> works when called

Re: Stored procedure problem

2009-12-28 Thread Mark Woollard
Yes, and yes - the procedure does reference data in a difference schema, but the user has access to that and as indicated in my other follow-up reply it works when called from mysql command line. Regards Mark On 28 Dec 2009, at 12:54, Chuck Hill wrote: > > On Dec 28, 2009, at 9:43 AM

Re: Stored procedure problem

2009-12-28 Thread Mark Woollard
lf (unless find_zips has tons of business logic in it > that you don't want to duplicate in code). > > Dave > > On Dec 28, 2009, at 12:43 PM, Mark Woollard wrote: > >> Am trying to get rows from a stored procedure, first time I've tried to do >> this

Stored procedure problem

2009-12-28 Thread Mark Woollard
Am trying to get rows from a stored procedure, first time I've tried to do this with WO. I have a stored procedure in the database (mysql) find_zips which takes a single argument of a zip code as a varchar. I've created a stored procedure in the Entity Model FindZIps with a single argument to ma

Re: Book recommendations

2009-12-23 Thread Mark Woollard
Thanks for the input - will check it out. Mark On 23 Dec 2009, at 11:34, Pascal Robert wrote: > If you already have an hand in WO, Pratical WebObjects is the way to go. > >> For someone with many years object orientated + db experience. Have >> reasonable CoreData exposure too. Looking for some

Book recommendations

2009-12-23 Thread Mark Woollard
For someone with many years object orientated + db experience. Have reasonable CoreData exposure too. Looking for something to fill in the details, particularly with regards db interactions, scaling and efficiency rather than high level concepts. Online articles great too. Thanks Mark __

Store procedures?

2009-12-22 Thread Mark Woollard
Can someone give me a bit of guidance or pointers to examples of using stored procedures within WO? I am looking to use existing stored procedures that return record sets within a WO app. Not sure on how you set this up to populate an editing context with entity objects for the results of the st

Re: Deployment build?

2009-12-22 Thread Mark Woollard
Thanks for the replies, have my app running on the server now. Just need to configure apache now to access properly. Mark On 22 Dec 2009, at 13:28, Pascal Robert wrote: > > Le 09-12-22 à 13:23, Mark Woollard a écrit : > >> First off am new to webobjects + WOLips! > > J

Deployment build?

2009-12-22 Thread Mark Woollard
First off am new to webobjects + WOLips! Have developed an WO app that I want to deploy to a linux server which is configured with webobjects as detailed here: http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux This appears to be working fine since JavaMonito