Re: Detect SSL

2008-05-01 Thread Simon McLean
Hi Don - I'm using the code below and have never had a problem, but it's being served through montior/wotaskd/apache. Simon public static boolean isRequestSecure(WORequest request) { boolean issecure = false; try { String serverPort = serverPort(re

Request for enhancement

2008-05-01 Thread Don Lindsay
Hello; Under the WOLips Ant Tools can the first Install be renamed to "Install Selected App" and the second Install be renamed to "Install Multiple Apps"? Both being named "Install" is not intuitive. Don ___ Do not post admin requests to the list

Re: Filtered to many relationship

2008-05-01 Thread Don Lindsay
For one application I wrote I extended the WOToOneRelationship and WOToManyRelationship components and added a qualifier binding. I can try and find the code that I used. It was convenient because you could type it right in the binding for the relationship component. Don On May 2, 2008, a

Re: Detect SSL

2008-05-01 Thread Don Lindsay
Hello; here is a dump of all the headers: {user-agent = ( Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en- us) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/ 525.18 ); accept = ( text/xml,application/xml,application/xhtml +xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;

Re: Filtered to many relationship

2008-05-01 Thread Chuck Hill
On May 1, 2008, at 7:31 PM, Steve Peery wrote: I am trying to set up a to many relationship in Entity Modeler that filters the destination objects based on a variable in the destination object. For example, in my School object I have an array of Student objects some have a variable that de

Re: Detect SSL

2008-05-01 Thread Chuck Hill
On May 1, 2008, at 8:34 PM, Don Lindsay wrote: Dang, :) It is not in the headers :) :-( Any chance it is there, but you are not seeing it? Can you post the headers? Chuck On May 1, 2008, at 10:06 PM, Chuck Hill wrote: On May 1, 2008, at 7:01 PM, Don Lindsay wrote: Hello; I wa

Re: Detect SSL

2008-05-01 Thread Don Lindsay
Dang, :) It is not in the headers :) Don On May 1, 2008, at 10:06 PM, Chuck Hill wrote: On May 1, 2008, at 7:01 PM, Don Lindsay wrote: Hello; I want to identify if an application is being served via SSL. How can I do this? I have looked at all the headers available through the reques

Filtered to many relationship

2008-05-01 Thread Steve Peery
I am trying to set up a to many relationship in Entity Modeler that filters the destination objects based on a variable in the destination object. For example, in my School object I have an array of Student objects some have a variable that defines them as fulltime. Now in my School object I want

Re: a little unclear on the quoting issue of Entity Modeler

2008-05-01 Thread Chuck Hill
Forgot, http://wolips.blogspot.com/2008/03/bindings-view.html On May 1, 2008, at 5:24 PM, Jaime Magiera wrote: Hello, After not having done much WO programming for several years, I'm starting to delve into WOLips. I'm noticing that Entity Modeler is quoting my column names during generati

Re: a little unclear on the quoting issue of Entity Modeler

2008-05-01 Thread Chuck Hill
On May 1, 2008, at 5:24 PM, Jaime Magiera wrote: Hello, After not having done much WO programming for several years, I'm starting to delve into WOLips. I'm noticing that Entity Modeler is quoting my column names during generation, which is causing the MySQL to fail. I've tried reading

Re: Detect SSL

2008-05-01 Thread Chuck Hill
On May 1, 2008, at 7:01 PM, Don Lindsay wrote: Hello; I want to identify if an application is being served via SSL. How can I do this? I have looked at all the headers available through the request. Is it in the headers for normal deployments. For servlets and IIS, I have no idea.

Detect SSL

2008-05-01 Thread Don Lindsay
Hello; I want to identify if an application is being served via SSL. How can I do this? I have looked at all the headers available through the request. Also, how can I get a handle to a client certificate if a person has a PKI card? Don ___

Re: a little unclear on the quoting issue of Entity Modeler

2008-05-01 Thread Rams
On May 1, 2008, at 8:24 PM, Jaime Magiera wrote: Hello, After not having done much WO programming for several years, I'm starting to delve into WOLips. I'm noticing that Entity Modeler is quoting my column names during generation, which is causing the MySQL to fail. I've tried reading

a little unclear on the quoting issue of Entity Modeler

2008-05-01 Thread Jaime Magiera
Hello, After not having done much WO programming for several years, I'm starting to delve into WOLips. I'm noticing that Entity Modeler is quoting my column names during generation, which is causing the MySQL to fail. I've tried reading up on all the threads on the list. However, I'm st

Re: Unable to locate "JavaWebObjects" bundle

2008-05-01 Thread Mike Schrag
com.webobjects.foundation.NSForwardException [java.lang.IllegalStateException] Unable to locate the "JavaWebObjects" bundle:: Cannot be initialized. Thanks Not sure what you have done there. That is the central framework for WO. I'd create a new launcher for this app and try again. Searc

Re: Unable to locate "JavaWebObjects" bundle

2008-05-01 Thread Chuck Hill
On May 1, 2008, at 12:44 PM, Matt Hendley wrote: Hello, I figured out the first part of the problem, is that I had the wrong info.plist copied into various frameworks. Manually? Now I am just getting the following message: [2008-5-1 20:38:19 CDT] Initialized : er.extensions.ERXExten

Re: WO 5.4.2

2008-05-01 Thread Don Lindsay
Hello; I can confirm there is an NDA, other than that I cannot comment further. Don On May 1, 2008, at 10:57 AM, Robert Walker wrote: Also, isn't the whole iPhone SDK still under NDA protection anyway? None of it is publicly released is it? On May 1, 2008, at 10:21 AM, Mike Schrag wrote: A

Re: IIS and URLScan

2008-05-01 Thread Don Lindsay
Hello; If your site is using a deep packet inspection tool, you can disable this without worring about opening any SQL Injection issues. Installing IIS any any database on the same server is begging for trouble, a web server should be just that, a web server and nothing else. Deep pack

Unable to locate "JavaWebObjects" bundle

2008-05-01 Thread Matt Hendley
Hello, I figured out the first part of the problem, is that I had the wrong info.plist copied into various frameworks. Now I am just getting the following message: [2008-5-1 20:38:19 CDT] Initialized : er.extensions.ERXExtensions 0 [main] INFO org.apache.log4j.Logger - Updated the loggin

Unable to locate "JavaWebObjects" bundle

2008-05-01 Thread Matt Hendley
Hey all, I'm pretty new to Webobjects and am having a problem. I had been working on a project, and then added in some new frameworks. Namely, ERExtensions, ERPrototypes, and WOExtensions frameworks. I had then modified my project in such ways as changing my Application.java class to rea

Re: NullPropertyException thrown, even though property allows null

2008-05-01 Thread Chuck Hill
My only guess is that the model got corrupted or something even stranger happened. :-) Take a look in .plist file. Chuck On May 1, 2008, at 8:38 AM, Hugi Þórðarson wrote: Good morning folks. I'm experiencing some weird validation behaviour. I just generated a DB schema from an old EOMode

Problems building with AppleScriptEngine.jar after JDK 1.6 Install

2008-05-01 Thread Chuck Hill
I had errors building in Eclipse. I am not sure why it affected me and not others. If this happens to you, here is what to do: http://wiki.objectstyle.org/confluence/display/WOL/Problems+Building+after+JDK+1.6+Install Chuck -- Practical WebObjects - for developers who want to increase th

Re: Getting a handle to Session when wo app deployed on a J2EE container

2008-05-01 Thread Guido Neitzer
On 01.05.2008, at 10:02, Alex Finkel wrote: Please note that we can use the session() method of the WODirectAction to get the handle. This works well but we want to take a generic approach to get Session objects from sessionid string as we may not always need to do this from within a direct

Getting a handle to Session when wo app deployed on a J2EE container

2008-05-01 Thread Alex Finkel
Hi there. Any help would be appreciated. We are trying to get a handle to the WebObjects Session object from within a direct action. There is an applet that calls a direct action to upload chunks of data along with other parameters including the wosid. We use the following lines of code to ge

NullPropertyException thrown, even though property allows null

2008-05-01 Thread Hugi Þórðarson
Good morning folks. I'm experiencing some weird validation behaviour. I just generated a DB schema from an old EOModel using WOLips. When I attempt to saveChanges() into a table using some rather vanilla code, I get NullPropertyExceptions for every attribute (even though the attributes all

Re: WO 5.4.2

2008-05-01 Thread Robert Walker
Also, isn't the whole iPhone SDK still under NDA protection anyway? None of it is publicly released is it? On May 1, 2008, at 10:21 AM, Mike Schrag wrote: As far as I'm concerned, if it's not an "official" release, it's not final. I'm not even sure the legality of deploying frameworks fro

Re: IIS and URLScan

2008-05-01 Thread Rams
On May 1, 2008, at 1:49 AM, Don Lindsay wrote: I ran into an issue on a deployed application. IIS has a tool called URLScan, which refuses URLs that could exploit security flaws in IIS server. I have a tomcat 5 instance running a Web Objects 5.4.2 application, connecting to IIS using the

Re: WO 5.4.2

2008-05-01 Thread Mike Schrag
As far as I'm concerned, if it's not an "official" release, it's not final. I'm not even sure the legality of deploying frameworks from the iPhone SDK, but why take the chance. I would consider it beta even if it technically isn't. ms On May 1, 2008, at 10:12 AM, Ricardo Parada wrote:

WO 5.4.2

2008-05-01 Thread Ricardo Parada
Is WebObjects 5.4.2 that is in the iPhone SDK a beta version of WebObjects or is it gold version of 5.4.2? I was asked that during a presentation I had about Eclipse, WOLips and WO 5.4.2 and I did not know the answer? :-) ___ Do not post admin