Re: Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)

2009-04-29 Thread Jake MacMullin
que - was this the cause of the problem with spaces that you identified? What was your proposed solution? (as an aside - wouldn't it be nice if this were an open source project and we could see each other's bug reports and submit patches? - one can only dream) Cheers, Jake On Thu, Apr 3

Re: Generate PDF from dynamically generated WOComponents...

2009-04-29 Thread Jake MacMullin
An interesting idea (though nowhere near being a reality) is this javascript pdf generation library.. http://jspdf.googlecode.com/svn/trunk/examples/basic.htm Cheers, Jake On Thu, Apr 30, 2009 at 9:01 AM, Jean-Francois Veillette < jean_francois_veille...@yahoo.ca> wrote: > a 4th option would be

Problem loading EOModel in a unit test on Windows (NSBundle fails to load .jar bundles)

2009-04-29 Thread Jake MacMullin
Today I finally decided to see if I could find out why our suite of EO unit tests kept failing on Windows while passing on Mac OS X and Linux (don't ask me why I'm using Windows). All our EO unit tests have a common parent class that has a @BeforeClass method that makes sure the EOModel has been lo

Re: JavaXML.framework Question

2009-04-21 Thread Jake MacMullin
estion of just referencing the required libraries directly. Problem is I'm not sure exactly what we need. As far as I know we're not using anything in JavaXML directly - but using some part of WO that itself has a dependency on something in JavaXML... I guess I need to look in to this more

Re: App Engine supports Java

2009-04-16 Thread Jake MacMullin
There's also always Amazon's EC2... http://aws.amazon.com/ec2/ Cheers, Jake On Thu, Apr 9, 2009 at 12:34 AM, Anjo Krank wrote: > http://googleappengine.blogspot.com/ > > WO in the cloud, anyone? > > Cheers, Anjo > > PS: And they support Fortran 77, too! > __

Re: JavaXML.framework Question

2009-04-16 Thread Jake MacMullin
I've encountered this same problem (sans-wonder) when deploying WebObjects applications built as WARs to Tomcat, JBoss (with a Tomcat servlet container) and Glassfish application servers - though not with Jetty. I'd really like to know more about what might be causing this problem and what the solu

Re: AJAX without Wonder?

2009-03-10 Thread Jake MacMullin
I'd love it if someone could answer Gennady's question. How does the AJAX support added in WO 5.4 work? Could we have some documentation? Cheers, Jake On Tue, Mar 10, 2009 at 10:47 PM, Gennady Kushnir wrote: > Hello all > I have a question. Is there a way to use AJAX in WebObjects other than >

Sometime WebObjects drives me a little crazy!

2009-01-25 Thread Jake MacMullin
Anyone know why I can't have a relationship called 'members'? When I have a flattened many-to-many where one of the relationships is called 'members' and I try to add an object to the relationship with addObjectToBothSidesOfRelationshipWithKey(obj, "members") I get the following cryptic error messa

Sometime WebObjects drives me a little crazy!

2009-01-25 Thread Jake MacMullin
Anyone know why I can't have a relationship called 'members'? When I have a flattened many-to-many where one of the relationships is called 'members' and I try to add an object to the relationship with addObjectToBothSidesOfRelationshipWithKey(obj, "members") I get the following cryptic error messa

Re: WOFileUpload and 5.4

2008-10-30 Thread Jake MacMullin
There is a bug in WO 5.4 with how HTTP headers are handled when deployed in a servlet container. I reported this (5711936) and it has been marked as resolved in 'the latest seed release of Xcode 3.1, Developer preview 2. So perhaps this is the bug you are running in to. Here's how it manife

Re: Development with a Servlet container

2008-10-21 Thread Jake MacMullin
g on if you're having problems with an application you've deployed to a server (as you can step-through your code in your debugger as your app runs on the server). Cheers, Jake On 22/10/2008, at 11:05 AM, John Huss wrote: So how do I launch a WO app in eclipse this way? Forgive me, I

Re: Development with a Servlet container

2008-10-21 Thread Jake MacMullin
Yes you can debug from Eclipse. You just need to make sure you launch Jetty or whatever container with remote debugging enabled and then configure Eclipse to connect. I can't remember the sytax off hand, but googling eclipse jetty remote debug should turn it up :-) Regards, Jake On 22/10/

Re: WO5.4.2 download url

2008-07-10 Thread Jake MacMullin
Yes: http://developer.apple.com Login to your (free) ADC account, go to downloads -> webobjects -> webobjects nightly build snapshot. Cheers, Jake On 10/07/2008, at 9:20 AM, Cheong Hee (Datasonic) wrote: Hi Is there any official (or non official) url to download WO5.4.2? beta or fina

Re: WOXMLDecoder and NSData

2008-07-09 Thread Jake MacMullin
We've been discussing ways to allow people to insert their custom classpaths early on in the bootstrap process. Perhaps there could be some custom properties passed to the WOBootstrapper. Would this work for 'container deployments'? Wouldn't the container load any jars found inside a war *

Re: WOXMLDecoder and NSData

2008-07-08 Thread Jake MacMullin
Speaking of using the SAX parser (and other XML apis), is there a good reason WebObjects contains a bunch of 3rd party libraries in the java- xml .jar? Couldn't these just be expressed as dependencies in the Maven project? Including specific versions of these libraries in one of the WO lib

Re: Maven

2008-06-25 Thread Jake MacMullin
Make sure you installed the required Maven plugin before installing the Apple plugin. On 25/06/2008, at 10:23, Amedeo Mantica <[EMAIL PROTECTED]> wrote: I followed the tutorial: http://wiki.objectstyle.org/confluence/display/WO/Apple+Maven+Support+and+Nightly+Builds but when I create a n

Re: Basic HTML parsing for input?

2008-06-04 Thread Jake MacMullin
I don't know about the status of this project, but I found this when I was looking for an existing library that would allow users to enter simple 'wiki markup' instead of HTML for exactly this sort of scenario - where you want to give some limited control over the formatting of user-supplie

Re: Is it possible to create Wonder-style getters in Eclipse?

2008-05-19 Thread Jake MacMullin
Also, according to the documentation for key-value-coding, the getKey() form is the first one the framework looks for, so if you use it you can be sure your method is the one being used (and not a similarly named method / variable inherited from a parent class) and it might be ever-so-sligh

Re: [OT] Mikes Magic Click

2008-05-18 Thread Jake MacMullin
I think you need to hold down 'command' when you click... (but it is only in recent builds) Cheers, Jake On 19/05/2008, at 4:17 PM, Owen McKerrow wrote: ( NOTE : This is referring to eclipse ) Hi All, I was just watching Mikes Ajax movie ( http://webobjects.mdimension.com/wonder/screencas

Re: About JBoss 4.2.2 and Apache 2.0.63 configuration

2008-05-05 Thread Jake MacMullin
If you are using Apache 2, I'd suggest you look at mod_proxy if you only have a single instance and mod_proxy_balancer if you have multiple instances of your application. You can find more information about these at: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html http://httpd.apache.org

Re: Best Server Environment for Large WebObjects Applications

2008-04-28 Thread Jake MacMullin
While people are discussing Netscaler, you may be interested to know there is a new version available. I hadn't heard of Netscaler before Alan mentioned it on this list - but then I saw this in my morning RSS feeds: http://www.theregister.co.uk/2008/04/28/citrix_netscaler_mpx/ Cheers, Jake

Re: Maven (was: WO 5.4 Linux Deployment)

2008-03-25 Thread Jake MacMullin
e On Tuesday, March 25, 2008, at 10:49PM, "Lachlan Deck" <[EMAIL PROTECTED]> wrote: >Hi again, > >On 26/03/2008, at 4:24 PM, Jake MacMullin wrote: >> Ok - I think I know what you mean about a 'shared environment'. I >> think the easiest way to handle t

Re: Maven (was: WO 5.4 Linux Deployment)

2008-03-25 Thread Jake MacMullin
from an existing framework project) in the 'Resources' directory. That's it. If you build a .jar in this way it magically becomes a 'framework' as far as WebObjects is concerned. Cheers, Jake On Tuesday, March 25, 2008, at 09:54PM, "Lachlan Deck" <[EMAIL

Re: Maven (was: WO 5.4 Linux Deployment)

2008-03-25 Thread Jake MacMullin
g to the wiki would be great. There is a screencast on the wocreator site - perhaps I should add a link to the relevant section of the wiki. Hope this helps, Jake >Any other sets of how-tos (and real examples) on the net for practical >usage of maven would be good :-) > >Thanks.

Re: WO 5.4 Linux Deployment

2008-03-25 Thread Jake MacMullin
I also deploy on linux using Tomcat (and recently Jetty too), but I build my applications using Maven. I've written a simple Maven plug-in to create a Maven project to build WebObjects applications as WARs if you're interested: http://wocreator.sourceforge.net/ Cheers, Jake On Tuesday, March

Re: Weird problem with setPrefetchingRelationshipKeyPaths

2008-03-16 Thread Jake MacMullin
Miguel, Perhaps you've also specified that the fetch specification you're using should refresh re-fetched objects? If so - it will also refresh any relationships you've asked it to pre-fetch. From the EOFetchSpecification javadoc: "Assigning relationships to prefetch also has an effect on

Re: Converting to a static site.

2008-02-25 Thread Jake MacMullin
James, I've done this before and in some cases it can be quite simple. If for example you have a master-detail style catalog and your detail pages are designed to take a single 'product' and then display the detail, you could do something like this: Get all the 'products' out of the DB I

Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]

2008-02-12 Thread Jake MacMullin
Hi, I don't know if this has been aswered yet as for some reason this thread is a bit messed up for me - I don't have the original question... But, in answer to the broader question of "what's the WO idiom" for avoiding tags within tags? Something new in 5.4 that I think is great is the abilit

Re: Short question (legacy usage?)

2008-01-30 Thread Jake MacMullin
As I understand it (and I could well be wrong) this key specifies that a bundle (.framework or .jar) contains WebObjects components (ie. .wo bundles). Cheers, Jake On 31/01/2008, at 3:28 PM, Gavin Eadie wrote: I'm bringing some ancient code forward to WOLips and, in the course of that, d

Re: multipart/form-data WOForm broken in 5.4 when deploying as a WAR? [WORKED AROUND]

2008-01-28 Thread Jake MacMullin
ur own WOSerlvetAdaptor sub-class and override the default implementation of doPost to change the case of any HTTP headers before handling the request. Regards, Jake MacMullin On 29/01/2008, at 11:18 AM, Chuck Hill wrote: What are the difference in headers in the two requests? Ch

multipart/form-data WOForm broken in 5.4 when deploying as a WAR?

2008-01-28 Thread Jake MacMullin
Hi All, I think I've found a bug - and before I submit a bug report I thought I'd check to see if anyone else has encountered it and if there are any work-arounds. It seems that WOForms with an enctype of "multipart/form-data" are broken in WebObjects 5.4 when you're deploying an applicat

Re: WOAllowRapidTurnaround = true Isn't working...

2008-01-23 Thread Jake MacMullin
While someone is looking at rapid turn around, it'd be great if rapid turn around was decoupled from the IDE / Project files. For example, when I build a WebObjects application with Maven (and don't generate any of the PB.proj, xcode, etc. project files) I'd like to be able to pass an extra

Re: Unique Fields in Database

2008-01-20 Thread Jake MacMullin
Have you thought about using a Universally Unique Identifier (UUID)? http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html Regards, Jake On 21/01/2008, at 1:06 PM, Neil MacLennan wrote: Following on from the postings on subject, "Avoiding duplicate records" can I get my understanding

Re: Packaging WebObjects application like JavaEOGenerator...

2008-01-19 Thread Jake MacMullin
Galen, If you're interested in building a .WAR containing the embedded jar frameworks, you can do this quite easily with Maven. WOCreator is a Maven 2 plugin that you can use to create the initial project structure for a Maven project that will build a WebObjects application as a stand-al

Re: JavaEOGenerator generates no files...

2008-01-14 Thread Jake MacMullin
Dennis, I had the same problem. I downloaded the JavaEOGenerator from the Apple web site (http://developer.apple.com/samplecode/JavaEOGenerator/index.html ). It compiled and ran fine - but failed to produce any files. Stepping through the source code in the debugger - I figured out what th

Re: Can't retrieve cookies

2008-01-06 Thread Jake MacMullin
Try leaving the domain as null (eg. new WOCookie("POOL", session.poolName, "/", null, expires, true) ) and see what domain gets set for the cookie. I do this on my development machine and the cookie gets the domain of 'localhost.local'. I'm then able to retrieve it fine. Cheers, Jake

Re: Any tutorials on using direct actions and/or component actions with AJAX

2008-01-03 Thread Jake MacMullin
So, if you wish to do WO/Ajax with direct actions, it is quite easy as was previously stated. If you want to use component actions, it gets more difficult, and requires a little digging into WO internals to understand it all, but it is possible, and we are using it heavily in one of our apps.

Re: Problem with Leopard - WO 5.4

2007-10-31 Thread Jake MacMullin
I guess you haven't seen this email from Pierre: The new parser is only used for the all in one syntax. The old parser is used for the traditional bundle. The switch is made automatically when the component loader detect a non existent or empty wod file. A world of caution about the structu

[ANN] Maven WOCreator Plug-in updated for WebObjects 5.4

2007-10-31 Thread Jake MacMullin
://wocreator.sourceforge.net In order to use the WOCreator plug-in you need Maven 2 which is included with Leopard. If you are using another operating system, you can find Maven at: http://maven.apache.org Regards, Jake MacMullin http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may

Re: [ANN] Maven WOCreator Plug-in

2007-08-14 Thread Jake MacMullin
Johan, See my answers inline below: On 14 Aug 2007, at 11:24, Johan Henselmans wrote: On Aug 9, 2007, at 1:48 PM, Jake MacMullin wrote: Introducing WOCreator WOCreator is a Maven plug-in that can be used to create initial Maven project templates for J2EE WebObjects applications. Who

Re: WOServletAdaptor trouble with tomcat

2007-08-13 Thread Jake MacMullin
, you will get a decent stack-trace showing you the underlying cause of the problem. Regards, Jake MacMullin On 13 Aug 2007, at 06:27, Jonathan Meijer wrote: Hi, I have been trying to deploy on Tomcat a WARed application. The issue I get is that Tomcat logs a bunch of stuff including &qu

[ANN] Maven WOCreator Plug-in

2007-08-09 Thread Jake MacMullin
://maven.apache.org Regards, Jake MacMullin http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or

Re: Ajax Updates

2007-03-02 Thread Jake MacMullin
If you're trying to debug Ajax in Safari, I can recommend the 'Drosera' debugger that comes with the WebKit Nightly Builds. Download a copy of WebKit from: http://nightly.webkit.org/ Copy both WebKit and Drosera to your Applications folder. Launch WebKit. Launch Drosera and when prompted 'attac

Re: Voting Time.. Food/Policy for WoDev event, August 7th 7-10pm

2006-07-17 Thread Jake MacMullin
I vote for option 1 too. Cheers, Jake On 14/07/2006, at 12:18 PM, Joe Little wrote: See below for correction. I mistook the minimum requirements and got clarification. 2 options at around $20/person total are listed below On 7/13/06, Joe Little <[EMAIL PROTECTED]> wrote: I've finally talked

Re: WWDC WO Meet

2006-07-11 Thread Jake MacMullin
I'm another Aussie WebObjects developer - and I'll be there! (Monday sounds good) On 11/07/2006, at 11:57 AM, Karl Moskowski wrote: monday++; --Karl <[EMAIL PROTECTED]> On 10-Jul-06, at 9:39 PM, Graham J Lee wrote: On 10/7/06 21:31, Miguel Arroz wrote: Hi! Me too, monday! Monday

Re: Most EOF-like FOSS?

2006-05-17 Thread Jake MacMullin
I don't know much about it - other than what I just read in an article on O'reilly's onjava.com (http://www.onjava.com/pub/a/onjava/2006/05/17/standardizing-with-ejb3-java-persistence-api.html?page=5), but has anyone used the new EJB3 Java Persistence API?If so - how does it compare to EOF?Cheers,J

Re: Help. Error from jam ??

2006-03-27 Thread Jake Macmullin
I've found that rebuilding the project 'code sense index' can help cure strange problems (esp if files have changed path). Highlight the project in the 'Groups and Files' view, click Apple + I and click the 'rebuild code sense index'. This has solved some strange build bugs for me in the pa

Re: Generating reports in excel?

2006-03-27 Thread Jake Macmullin
is in source view. You might find it easiest to set up the bindings in the WYSIWYG mode using WOBuilder - then switch to source view and replace the HTML with the Excel XML (making sure you put the WebObject tags in the right spot). Cheers, Jake On 16/03/2006, at 9:06 AM, Jake Macm

Re: Generating reports in excel?

2006-03-15 Thread Jake Macmullin
ell for me. Details about the xml file formats for excel and the other office products can be found at: http://www.microsoft.com/office/xml/default.mspx Regards, Jake MacMullin On 15/03/2006, at 5:10 AM, Zac Konopa wrote: I'm working on a project where we need to generate a report in an Exc

Re: Web Based EOModeler?

2005-10-20 Thread Jake MacMullin
I like the idea of an alternative EOModel editor. I'm not sure if a web UI would be the best user experience - I agree with the suggestion of an eclipse plug-in. However, if you're interested in the idea of a web-based editor - have a look at this example of a web-based interface for designing