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

2008-02-14 Thread Paul Hoadley
On 13/02/2008, at 2:13 PM, Jake MacMullin wrote: 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? Someth

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: Tags inside tags [was: Re: WebObjects 5.4 is out.]

2008-02-12 Thread Mike Schrag
or ms On Feb 12, 2008, at 5:06 PM, Paulo Filipe Andrade wrote: Just FYI, You could also use addStylesheetResourceInHead in ERXWOContext if you don't have access to the of your page. Namely, if you're building a subcomponent. Paulo Andrade On Nov 4, 2007, at 4:21 AM, Paul Hoadley wrot

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

2008-02-12 Thread Paulo Filipe Andrade
Just FYI, You could also use addStylesheetResourceInHead in ERXWOContext if you don't have access to the of your page. Namely, if you're building a subcomponent. Paulo Andrade On Nov 4, 2007, at 4:21 AM, Paul Hoadley wrote: On 03/11/2007, at 7:33 PM, Paul Hoadley wrote: On 27/10/2007,

Using wobuild.properties to switch between WO 53 and WO 54. Was: WebObjects 5.4 is out.

2008-02-11 Thread Archibal Singleton
On 26 Oct 2007, at 12:21, Anjo Krank wrote: IIRC, you just set: wo.wosystemroot=/some/place/or/other where /some/place/or/other/Library/Frameworks/ has all the WO stuff in it. Now taking that into account and based on the instructions @ http://wiki.objectstyle.org/confluence/display/WOL/T

Re: WebObjects 5.4 is out.

2007-11-06 Thread Lachlan Deck
On 07/11/2007, at 1:52 AM, David Koski wrote: Check out: http://developer.apple.com/documentation/MacOSXServer/Reference/ WO54_Reference/com/webobjects/appserver/parser/package-summary.html In particular the WOAssociationFactory part. This would allow you to write: ... etc.

Re: WebObjects 5.4 is out.

2007-11-06 Thread David Koski
Check out: http://developer.apple.com/documentation/MacOSXServer/Reference/WO54_Reference/com/webobjects/appserver/parser/package-summary.html In particular the WOAssociationFactory part. This would allow you to write: ... etc. You can create your own association scheme

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

2007-11-03 Thread Paul Hoadley
On 03/11/2007, at 7:33 PM, Paul Hoadley wrote: On 27/10/2007, at 5:50 AM, Mike Schrag wrote: 2) Tags inside of tags (>">). This is EVIL. The WOLips validator has also been yelling at you about this for months now, and that was very intentional. If you listened to it, you're in a much bet

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

2007-11-03 Thread Guido Neitzer
On 03.11.2007, at 03:03, Paul Hoadley wrote: As an aside to the main thread, what's the WO idiom for getting around this? While WOLips accepts this: (where myCSS refers to a WOResourceURL), and it builds and runs, it makes the XML purist inside me cringe. JSP, for example, has the js

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

2007-11-03 Thread Miguel Arroz
Hi! I use WOGenericContainer to avoid that. Just put "link" in the elementName binding, and create bindings for everything else. On pre-5.4, I always used the Container, because it would generate a close tag, needed to be XHTML compliant. 5.4 seems to be fully XHTML, so I suppose the WO

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

2007-11-03 Thread Andrew Lindesay
Hello Paul; As an aside to the main thread, what's the WO idiom for getting around this?While WOLips accepts this: Have a look at "WOGenericElement" and "WOGenericContainer". cheers. ___ Andrew Lindesay technology : www.lindesay.co.nz business : www.silvereye.co.nz __

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

2007-11-03 Thread Paul Hoadley
On 27/10/2007, at 5:50 AM, Mike Schrag wrote: 2) Tags inside of tags (>">). This is EVIL. The WOLips validator has also been yelling at you about this for months now, and that was very intentional. If you listened to it, you're in a much better position for 5.4. There is no automatic fi

Re: WebObjects 5.4 is out.

2007-10-29 Thread Doug McClure
Mike, As one of the original EOGenerator developers, I was wondering if you could provide me with any more details about the EOGenerator replacement. For instance, I presume that the template language is not compatible with ours, but does offer the same features? I'm composing a official stateme

Re: WebObjects 5.4 is out.

2007-10-29 Thread Mike Schrag
I wasn't very clear -- I'm with you on this (though honestly this is actually identical to OGNL except that WOOGNL requires the leading "~". ... and the surrounding quotes, no? And, thus escaping quotes within the expression. Actually, no. One of the changes I made a while back to Wonder's

Re: WebObjects 5.4 is out.

2007-10-29 Thread Lachlan Deck
Hi there, On 29/10/2007, at 10:28 PM, Mike Schrag wrote: Personally I find creating a simple groovy expression in your wod binding cleaner looking than WOOgnl. e.g., SomeDiv : WOGenericContainer { <> omitTags = hasFoo && hasBar; } I wasn't very clear -- I'm with you on th

Re: WebObjects 5.4 is out.

2007-10-29 Thread Mike Schrag
Personally I find creating a simple groovy expression in your wod binding cleaner looking than WOOgnl. e.g., SomeDiv : WOGenericContainer { <> omitTags = hasFoo && hasBar; } I wasn't very clear -- I'm with you on this (though honestly this is actually identical to OGNL exc

Re: WebObjects 5.4 is out.

2007-10-28 Thread Lachlan Deck
On 29/10/2007, at 10:42 AM, Mike Schrag wrote: 2) Tags inside of tags (">). This is EVIL. The WOLips validator has also been yelling at you about this for months now, and that was very intentional. If you listened to it, you're in a much better position for 5.4. There is no automatic fi

Re: WebObjects 5.4 is out.

2007-10-28 Thread Mike Schrag
2) Tags inside of tags (>">). This is EVIL. The WOLips validator has also been yelling at you about this for months now, and that was very intentional. If you listened to it, you're in a much better position for 5.4. There is no automatic fix for this ... In fact, I would not be surpris

Re: WebObjects 5.4 is out.

2007-10-28 Thread Lachlan Deck
On 27/10/2007, at 6:20 AM, Mike Schrag wrote: Am 26.10.2007 um 22:00 schrieb Mike Schrag: Is there a recommended migration route from 5.3 style wod/html to 5.4 html ? is it a case of changing each and every component by hand ? At the moment it's really an issue of testing and converting by

Re: WebObjects 5.4 is out.

2007-10-28 Thread Michael Halliday
Awesome! Thanks ... that worked perfectly!! Cheers, Michael. On 28-Oct-07, at 2:02 PM, Art Isbell wrote: On Oct 28, 2007, at 6:31 AM, Michael Halliday wrote: Okay ... wotaskd is happy now, but apache doesn't seem to be handling the requests correctly. I just get a 403 Forbidden error.

Re: WebObjects 5.4 is out.

2007-10-28 Thread Art Isbell
On Oct 28, 2007, at 8:02 AM, Art Isbell wrote: On Oct 28, 2007, at 6:31 AM, Michael Halliday wrote: Okay ... wotaskd is happy now, but apache doesn't seem to be handling the requests correctly. I just get a 403 Forbidden error. Can anyone tell me exactly how they have their httpd.conf s

Re: WebObjects 5.4 is out.

2007-10-28 Thread Art Isbell
On Oct 28, 2007, at 6:31 AM, Michael Halliday wrote: Okay ... wotaskd is happy now, but apache doesn't seem to be handling the requests correctly. I just get a 403 Forbidden error. Can anyone tell me exactly how they have their httpd.conf setup? Do you simply need to add the following in

Re: WebObjects 5.4 is out.

2007-10-28 Thread Michael Halliday
Okay ... wotaskd is happy now, but apache doesn't seem to be handling the requests correctly. I just get a 403 Forbidden error. Can anyone tell me exactly how they have their httpd.conf setup? Do you simply need to add the following include at the end like with 1.3: Include /System/Libra

Re: WebObjects 5.4 is out.

2007-10-28 Thread Michael Halliday
okay yeah, for some reason the upgrade to Leopard switched the JavaVM versions on me ... something to watch out for. I hate upgrades ... didn't have enough space for an archive & install :( Cheers, Michael On 28-Oct-07, at 11:56 AM, Mike Schrag wrote: It looks like you're running it

Re: WebObjects 5.4 is out.

2007-10-28 Thread Mike Schrag
It looks like you're running it with 1.4 and it's build with 1.5. err.. build = built ___ 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 Subsc

Re: WebObjects 5.4 is out.

2007-10-28 Thread Mike Schrag
It looks like you're running it with 1.4 and it's build with 1.5. On Oct 28, 2007, at 11:53 AM, Michael Halliday wrote: Hey guys, I'm just curious how others have configured apache on Leopard client to run in non-direct connect mode? I've tried adding the following line to my apache2.2 ht

Re: WebObjects 5.4 is out.

2007-10-28 Thread Michael Halliday
Hey guys, I'm just curious how others have configured apache on Leopard client to run in non-direct connect mode? I've tried adding the following line to my apache2.2 httpd.conf: Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf It appears though there is a bug in wotaskd

Re: WebObjects 5.4 is out.

2007-10-27 Thread Mike Schrag
Heh, feel no remorse; I invited that. Besides, what the heck are you doing answering email at 7:00 AM on Saturday??? Just can't keep those fingers off the keyboard? It's called "sleeping 30 mins the previous night" ... I crashed early last night and the next thing I know I'm awake at 5am toda

Re: WebObjects 5.4 is out.

2007-10-27 Thread Jerry W. Walker
On Oct 27, 2007, at 7:01 AM, Mike Schrag wrote: You and your lucky GMT+10 :) Now that Leopard is officially released, I can actually comment on some of these things. I can't I wonder what I was going to say in the end of this sentence :) "I can't " "... wait to get Leopard"? "... find m

Re: WebObjects 5.4 is out.

2007-10-27 Thread Kieran Kelleher
On Oct 26, 2007, at 10:18 PM, Art Isbell wrote: I am breaking various rules about not making more than one change simultaneously by moving from Apple WO tools to Eclipse (3.2.2 - too timid to move to 3.3.1 yet :-) Probably you will be more successful using 3.3.1/wolips nightly ... 3.2.2 w

Re: WebObjects 5.4 is out.

2007-10-27 Thread Mike Schrag
You and your lucky GMT+10 :) Now that Leopard is officially released, I can actually comment on some of these things. I can't I wonder what I was going to say in the end of this sentence :) "I can't " "... wait to get Leopard"? "... find my keys"? Who knows :) The Shadow knows... (

Re: WebObjects 5.4 is out.

2007-10-27 Thread Mike Schrag
However, its treatment of Mike's "lazy tags" wasn't ideal from my perspective. WOLips in the 3.3.x builds makes this much better. In the 3.2.x branch, I treated them all like a paragraph tag that you left off the closing tag for. In 3.3.x it knows that some lazy tags really are single tag

Re: WebObjects 5.4 is out.

2007-10-27 Thread Mike Schrag
The error: "The method arrayByAddingObjectsFromArray (NSArray) in the type NSArray is not applicable for the arguments (NSArray)". Say what?! An EOAttribute is an EOProperty! This is a bug in 5.4 -- Wonder had this same bug in our generic form of NS* originally, but it is fixed in Wonder.

Re: WebObjects 5.4 is out.

2007-10-27 Thread Johann Werner
Am 27.10.2007 um 04:18 schrieb Art Isbell: [...] http://www.foo.com/bar.css"; type="text/css" charset="utf-8" /> but I could not rewrite a script tag with no contents as: http://www.foo.com/bar.js"; type="text/ javascript" charset="utf-8" />