Re: mod_gzip + WO problems

2008-06-24 Thread Mike Schrag
er.extensions.ERXApplication.responseCompressionEnabled=true Yep, that's the one ... ms ___ 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 Su

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Kenny Leung
Sorry, that URL was: http://www.surfshacksoftware.com/FreeSoftware/EncodingTest.tar.gz -Kenny ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update y

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Kenny Leung
Hi Ryan. Thanks! I just tried this myself, and it works. My problem was not reading the documentation closely enough. (I blame myself) Zooping through the docs lead me to this page: http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html and I used the name for the old API instead

Re: mod_gzip + WO problems

2008-06-24 Thread Rams
On Jun 24, 2008, at 5:28 PM, Mike Schrag wrote: I'm trying to get mod_gzip running on one of my WO apps. It works for static pages (index.html) and static resources (like css) in my WO app, but not on the html returned from the WO app. I'm guessing this has something to do with the fact

Re: Practical Webobjects Utilities Framework

2008-06-24 Thread Jeff Schmitz
I was having one problem getting the velocity generator to generate my model classes as extensions of my custom superclass (CopyableGenericRecord) as described in the book. Specifically, where it says to: define the superclass name with: -define-EOSuperclass CopyableGenericRecord Where, ex

Re: Hand-rolled links not working in development without negative port number

2008-06-24 Thread Chuck Hill
On Jun 24, 2008, at 7:27 PM, Florijan Stamenkovic wrote: On Jun 24, 2008, at 20:28, Chuck Hill wrote: The launch config gets stored in the workspace metadata, not in the project. So svn checkouts should not affect this. You can also have the launch config stored in the project folder,

Re: Hand-rolled links not working in development without negative port number

2008-06-24 Thread Florijan Stamenkovic
On Jun 24, 2008, at 20:28, Chuck Hill wrote: The launch config gets stored in the workspace metadata, not in the project. So svn checkouts should not affect this. You can also have the launch config stored in the project folder, or wherever else for that matter. I kinda like doing this. S

Re: AjaxTabPanel Tabs - looking for a way to use images as tabs

2008-06-24 Thread Chuck Hill
On Jun 24, 2008, at 6:04 PM, David LeBer wrote: On 24-Jun-08, at 8:43 PM, Chuck Hill wrote: On Jun 24, 2008, at 1:29 PM, J Stephanos wrote: I have been trying get a different look for the tabs in AjaxTabPanel (ProjectWonder) by replacing the tabs with my own images (of tabs). Wit

Re: AjaxTabPanel Tabs - looking for a way to use images as tabs

2008-06-24 Thread David LeBer
On 24-Jun-08, at 8:43 PM, Chuck Hill wrote: On Jun 24, 2008, at 1:29 PM, J Stephanos wrote: I have been trying get a different look for the tabs in AjaxTabPanel (ProjectWonder) by replacing the tabs with my own images (of tabs). With the CSS (id) selector on each tab I can sort o

Re: AjaxTabPanel Tabs - looking for a way to use images as tabs

2008-06-24 Thread Chuck Hill
On Jun 24, 2008, at 1:29 PM, J Stephanos wrote: I have been trying get a different look for the tabs in AjaxTabPanel (ProjectWonder) by replacing the tabs with my own images (of tabs). With the CSS (id) selector on each tab I can sort of do that but the problem is with the name bin

Re: Hand-rolled links not working in development without negative port number

2008-06-24 Thread Chuck Hill
On Jun 24, 2008, at 3:55 AM, John Pollard wrote: Hi list, As a rule I run WO apps in development via apache2 web server with: -WOAdaptorURL http://localhost/cgi-bin/WebObjects -WOAllowRapidTurnaround true -WODirectConnectEnabled false -WOPort - This results in URLs that begin with http:/

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Ryan Klems
FWIW: I have no issues doing this: public static void main(String argv[]) { WOMessage.setDefaultEncoding("ISO-8859-1"); WOApplication.main(argv, Application.class); } And having a simple page (foo is just a String in the page, and goHome just return's null)

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Ryan Klems
I don't claim to be any expert in encodings, but are you sure ISO8895_1 is a valid encoding name, or even the encoding that you want? Are you trying to get ISO-LATIN-1 or ISO-8859-1 ? -Ryan On Jun 24, 2008, at 2:30 PM, Kenny Leung wrote: Hi All. So, after extensive testing with my little

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Daryl Lee
File a bug and we'll look into this deeper. The auto-detection of form value encodings has always been a little bit fragile. I'm surprised that turning it off doesn't fix the problem. On Jun 24, 2008, at 2:30 PM, Kenny Leung wrote: Hi All. So, after extensive testing with my little Hello

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Kenny Leung
Hi All. So, after extensive testing with my little HelloWorld app, these are the results: The only thing that seems to work is setting meta> in the head of the document. Setting accept-charset="UTF-8" in the form does not seem to do anything. I overrode WOApplication.dispatchRequest() to

Re: mod_gzip + WO problems

2008-06-24 Thread Mike Schrag
I'm trying to get mod_gzip running on one of my WO apps. It works for static pages (index.html) and static resources (like css) in my WO app, but not on the html returned from the WO app. I'm guessing this has something to do with the fact that the content is being dynamically generated.

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Daryl Lee
Is WORequest.isFormValueEncodingDetectionEnabled() turned on? What happens if you turn it off/on? On Jun 23, 2008, at 10:16 AM, Kenny Leung wrote: Hi All. I've bumped into an incompatibility between WebObjects 5.3 and 5.4. In 5.3, I could submit a form value with non-ASCII characters, a

mod_gzip + WO problems

2008-06-24 Thread John Huss
I'm trying to get mod_gzip running on one of my WO apps. It works for static pages (index.html) and static resources (like css) in my WO app, but not on the html returned from the WO app. I'm guessing this has something to do with the fact that the content is being dynamically generated. Any tip

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread David Avendasora
Wow. You are old-school! On Jun 24, 2008, at 12:11 PM, Don Lindsay wrote: holding down the Open Apple ... key ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Un

AjaxTabPanel Tabs - looking for a way to use images as tabs

2008-06-24 Thread J Stephanos
I have been trying get a different look for the tabs in AjaxTabPanel (ProjectWonder) by replacing the tabs with my own images (of tabs). With the CSS (id) selector on each tab I can sort of do that but the problem is with the *name* binding. >From the code: / * @binding name required, String

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread Patrick Robinson
I'm happy to have the _Entity.java files regenerated as often as EOGenerator likes. But definitely not all those Entity.java files. :-) This seems to be a more straightforward approach, and also seems to work well. I hadn't noticed the "update fully qualifierd names..." box when I was do

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread Patrick Robinson
Sure 'nuff good point! - Patrick On Jun 24, 2008, at 3:36 PM, David Avendasora wrote: Sure you can! Search for: className = " and replace with: className = "com.company.appname. no problem! Dave On Jun 24, 2008, at 3:25 PM, Patrick Robinson wrote: That's a nice "hackaround" :-), but

Re: WO WebStart problem

2008-06-24 Thread David Avendasora
Hi Daryl, I never resolved this problem from back in March with WO 5.4.1, and I'm still having the same problem with the current build (from the iPhone SDK) of 5.4.2 If I take the same application and run it using WO 5.3.3 it builds fine. I am going to put a bug in Radar about it, but if y

Re: 10.5 deployment

2008-06-24 Thread Cail Borrell
Hi Josh, That's a +1 from here. Same approach as Miguel but I ran the 5.3.3. update manually. -Cail On 24/06/2008, at 17.33, Miguel Arroz wrote: Hi! No problems at all... just install 5.3 on Leopard according to the Mike's procedure on

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread David Avendasora
Sure you can! Search for: className = " and replace with: className = "com.company.appname. no problem! Dave On Jun 24, 2008, at 3:25 PM, Patrick Robinson wrote: That's a nice "hackaround" :-), but the problem with this approach is that the entities initially were in the default package,

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread Patrick Robinson
That's a nice "hackaround" :-), but the problem with this approach is that the entities initially were in the default package, so there was no string I could search for. - Patrick On Jun 24, 2008, at 11:54 AM, David Avendasora wrote: Okay, follow these steps: (I am assuming you have your

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Alan Ward
Thanks Steve, accept-charset is what I was trying to retrieve from my murky memory. It's a long time since I've worked with a browser ;-) Alan On Jun 24, 2008, at 11:57 AM, Steve Quirk wrote: On Tue, 24 Jun 2008, Alan Ward wrote: On Jun 24, 2008, at 10:56 AM, Kenny Leung wrote: I've f

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Steve Quirk
On Tue, 24 Jun 2008, Alan Ward wrote: On Jun 24, 2008, at 10:56 AM, Kenny Leung wrote: I've figured it out - you have to stick in a meta tag to force the browser to use UTF-8. Something like. Some stuff... No, that tells the browser what encoding the page is in. Forms have

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Kenny Leung
Hi Alan. Setting the page's charset seems to have the side effect of setting the default form encoding for the page. Thanks for the tip though... -Kenny On Jun 24, 2008, at 10:04 AM, Alan Ward wrote: On Jun 24, 2008, at 10:56 AM, Kenny Leung wrote: I've figured it out - you have to st

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Alan Ward
On Jun 24, 2008, at 10:56 AM, Kenny Leung wrote: I've figured it out - you have to stick in a meta tag to force the browser to use UTF-8. Something like. Some stuff... No, that tells the browser what encoding the page is in. Forms have an "accept-encoding" tag which t

Re: WO 5.4 form value encoding problem

2008-06-24 Thread Kenny Leung
I've figured it out - you have to stick in a meta tag to force the browser to use UTF-8. Something like. Some stuff... Note that I simply cannot get it to work with ISO8859_1 encoding. -Kenny On Jun 23, 2008, at 10:16 AM, Kenny Leung wrote: Hi All. I've bumped into an inco

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread David Avendasora
Okay, follow these steps: (I am assuming you have your own Veogenerator templates - if you don't, you'll need to set some up to keep Veogenerator from running and possibly messing everything up.) 1) Rename your template files so your .eogen file can't find them. This will keep Veogenerat

Secure LDAP with EOModel

2008-06-24 Thread William Hatch
I'm trying to configure the connection dictionary using the JNDI adaptor so as to use ssl and a trusted certificate on the client side as part of creating the initial directory context all from within the EOModel. I'm able to do all this in code and successfully connect to the server and au

Re: Velocity EOGenerator: refactor package?

2008-06-24 Thread Don Lindsay
Hello; If you are using WOLips and Eclipse. Double click on your eogen file for your project, if you cannot see it click the small triangle in the upper right of the project explorer and choose filters and ensure eogen is not checked. Once you are editing your eogen, set the package the

Re: 10.5 deployment

2008-06-24 Thread Miguel Arroz
Hi! No problems at all... just install 5.3 on Leopard according to the Mike's procedure on , or embed the WO 5.3 frameworks themselves in the app. I used the first method to install some apps on a Leopard Server,

10.5 deployment

2008-06-24 Thread Joshua Paul
Has anyone deployed an app on 10.5 using 5.3? If so, what were the biggest hurdles you had to overcome? TIA. -- Josh Paul [EMAIL PROTECTED] twitter: joshpaul linkedin: joshpaul NOTICE: This e-mail message and all attachments transmitted with it are intended solely for the use of the addres

Velocity EOGenerator: refactor package?

2008-06-24 Thread Patrick Robinson
This is a bit old, but I assume it's still true: On Dec 19, 2007, at 8:48 PM, Mike Schrag wrote: is it possible to setup packagename argument in the EOGenerator command or turn on create package functionality? No, because this is really a setting of your EOModel, not just of the generation of

Hand-rolled links not working in development without negative port number

2008-06-24 Thread John Pollard
Hi list, As a rule I run WO apps in development via apache2 web server with: -WOAdaptorURL http://localhost/cgi-bin/WebObjects -WOAllowRapidTurnaround true -WODirectConnectEnabled false -WOPort - This results in URLs that begin with http://localhost/-/... Does this mean that apache