Re: WOText Escape HTML Broken?

2008-08-03 Thread Rams
On Aug 2, 2008, at 4:06 PM, Mr. Frank Cobia wrote: The escapeHTML binding has not effect on WOText (or ERXWOText). Is this the way it is supposed to behave or is it broken. I am using WO 5.4.2 on Mac OS. I think escapeHTML is only for text display (WOString) and not for text

Re: Parameterized NSArray in 5.3.3

2008-07-23 Thread Rams
Apple isn't doing that? rg On Jul 23, 2008, at 12:15 AM, Guido Neitzer wrote: On 22.07.2008, at 22:05, Rams wrote: There doesn't seem to be a way to move just the Wonder frameworks there. Moving all the WebObjects frameworks to the top or the bottom of the list has no effect. The best

Re: Parameterized NSArray in 5.3.3

2008-07-23 Thread Rams
Just reported :-) On Jul 23, 2008, at 6:26 PM, Lachlan Deck wrote: On 24/07/2008, at 1:12 AM, Rams wrote: Okay, now I feel dumb :-)~ Generics wasn't broken! The problem was I was using WOContext's directActionURLForActionNamed with generics and it only accepts a NSDictionaryString

Re: Parameterized NSArray in 5.3.3

2008-07-22 Thread Rams
Hi all, At risk of asking a stupid question, how exactly does one change the load order? rg On Jun 4, 2008, at 1:42 AM, Guido Neitzer wrote: On 03.06.2008, at 13:38, Qi Yang wrote: In the project I'm working on I need to use 5.3 because of some compatibility problems, and I added both

Re: Parameterized NSArray in 5.3.3

2008-07-22 Thread Rams
... I'm stumped. rg On Jul 22, 2008, at 10:58 PM, Guido Neitzer wrote: On 22.07.2008, at 20:38, Rams wrote: At risk of asking a stupid question, how exactly does one change the load order? There is an Order and Export tab in the build path settings for the project in Eclipse. cug -- http

Re: Localization Help! (was Localizer Default vs. Browser)

2008-07-20 Thread Rams
Hi yllan! Without seeing your code, it's sorta hard for me to say what is wrong, so I apologize if I am covering basic things you already know... :-) I'll try to answer your question the best I can though! On Jul 19, 2008, at 11:16 PM, Yung-Luen Lan wrote: Hi Rams, I'm quite confused

403 Forbidden ([Was] Re: App instance dies on startup)

2008-07-16 Thread Rams
5.3.3 and Wonder frameworks. However, if you are using wotaskd you do not deploy the SSDD. Instead deploy the app as installed in / Library/WebObjects/Applications/myapp.woa on your build machine. Tim On 16/07/2008, at 3:57 PM, Rams wrote: Hi all, I'm trying to deploy my first app

Re: One Less Mystery

2008-07-14 Thread Rams
Nice tip! :-) Thanks Mike, I've been wondering how to fix that for a while now. On Jul 14, 2008, at 7:27 PM, Mike Schrag wrote: One of our guys got tripped up because his hostname was floating between what we expected it to be and his IP address. After some digging, I've resolved a

Re: Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]

2008-06-30 Thread Rams
will yield behavior that is more consistent with the development environment. On Jun 29, 2008, at 8:43 PM, Lachlan Deck wrote: On 28/06/2008, at 1:20 AM, Rams wrote: Hi everyone... I should add, I am currently using component actions. I'm not defaulting to direct actions yet... so I'm under

Component action context().hasSession() returns false? [Was Re: context().hasSession() returns false... then true?]

2008-06-27 Thread Rams
switch. I'm sure there have to be a few WebObjects hosting options out there. Any opinions?? Thanks again everybody. On Jun 26, 2008, at 8:40 PM, Rams wrote: Yes, the application has a login with the logged in user entity stored in the session. I do have an error in the log file

Wonder/Tomcat Deployment

2008-06-26 Thread Rams
Hi everybody, I'm testing deployment of an app on Tomcat with a WAR file. I am using WO 5.3.3, Project Wonder, Tomcat 6.0.16. After discovering that I needed to include the JavaWOJSPServlet.jar in my build path, I was able to run the app on the server. However, I'm getting some

context().hasSession() returns false... then true?

2008-06-26 Thread Rams
Hi Everyone... I have an app deployed on Tomcat 6.0.16 and it appears that context().hasSession() is failing to produce reliable results. In my Main WO I have: public Boolean authenticated() { return (context().hasSession()

Re: context().hasSession() returns false... then true?

2008-06-26 Thread Rams
Documentation. Don On Jun 26, 2008, at 7:21 PM, Rams wrote: Hi Everyone... I have an app deployed on Tomcat 6.0.16 and it appears that context().hasSession() is failing to produce reliable results. In my Main WO I have: public Boolean authenticated() { return (context

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: Disabling a form element server-side

2008-06-12 Thread Rams
Hi Dan, My first thought would be to use an NSValidation validateKey() method in your WOComponent. This is called before setKey() and would allow you to check credentials and throw an NSValidation.ValidationException to block the update if the user is not allowed to edit the setting.

Basic HTML parsing for input?

2008-06-04 Thread Rams
Hi everyone, Sorry if this is a really n00b question, but what do you use to parse input for html tags? Is there anything built in? I'm using WO 5.3.3 and Wonder. Thanks! smime.p7s Description: S/MIME cryptographic signature ___ Do not post

Re: Basic HTML parsing for input?

2008-06-04 Thread Rams
On Jun 4, 2008, at 11:07 PM, Chuck Hill wrote: On Jun 4, 2008, at 7:34 PM, Rams wrote: Hi everyone, Sorry if this is a really n00b question, but what do you use to parse input for html tags? Is there anything built in? I'm using WO 5.3.3 and Wonder. Thanks! What is it you want

Re: Basic HTML parsing for input?

2008-06-04 Thread Rams
I've used that one before too... yick! I was hoping you wouldn't say that ;-) On Jun 4, 2008, at 11:43 PM, Andrew Lindesay wrote: Hello Rams; I have used the Swing HTML parser built into J2SE with some success although it is not flawless. cheers. Sorry if this is a really n00b

model.validateKey intercepted on null?

2008-06-02 Thread Rams
Hi everyone, I have a model object using the WonderEntity template and my validateKey methods are being intercepted higher up with a NullPropertyException (ERXValidationException). I'd like to handle the null values myself and throw a localized exception message, but my validateKey

ERCaptcha and DirectActions?

2008-05-27 Thread Rams
Hi everyone, A few questions about ERCaptcha: 1. Is it possible to use ERCaptcha with DirectActions instead of component actions? 2. Is there any way to set the alt attribute of the img tag so so that the component will validate with XHTML 1.0 strict? 3. Is it possible to change the captcha

n00b EO questions :-)

2008-05-22 Thread Rams
Hi Everyone, Please pardon me if I am asking extremely stupid questions, but I'm starting to do some work with my database and I have a few questions about EnterpriseObjects and database things in general... The first question is about creating unique data... I have a user object and I

Get hyperlink from WOComponent?

2008-05-21 Thread Rams
Hi everyone, Does anyone know how to get a plaintext hyperlink from an instance of a WOComponent? There has to be a way, but i can't seem to find it. Thanks in advance :-) -- Learn how to secure your email (Mac OS X 10.3+) http://www.joar.com/certificates/ (Windows)

Re: Get hyperlink from WOComponent?

2008-05-21 Thread Rams
On May 21, 2008, at 6:37 PM, Guido Neitzer wrote: On 21.05.2008, at 16:15, Rams wrote: Does anyone know how to get a plaintext hyperlink from an instance of a WOComponent? There has to be a way, but i can't seem to find it. What do you want to get back? The link to an action? Have you

XHTML Strict Validation errors WOTextfield, WOImage

2008-05-20 Thread Rams
Hi all, I've noticed that certain components do not validate on w3c's validator. Specifically, html tags for img and input never close. Anytime I use a WOTextfield I get multiple validation errors with XHTML 1.0 Strict as a result. Is there a reason WO does this, is it a known issue,

Re: Localize WOLips project [SOLVED]

2008-05-16 Thread Rams
().browserLanguages()); ERXLocalizer.setCurrentLocalizer(localizer); } return super.performActionNamed(actionName); } Thank you all for your assistance! On May 16, 2008, at 12:09 AM, Guido Neitzer wrote: On 15.05.2008, at 17:34, Rams

Re: Localize WOLips project

2008-05-15 Thread Rams
. Anyone ideas? Thank you everyone! On May 15, 2008, at 4:38 AM, Daniele Corti wrote: 2008/5/15 Rams [EMAIL PROTECTED]: Thank you both for responding! It has taken me a while to get back to this. Localizing strings seems to work fine. I have my English.lproj and Japanese.lproj folders

Re: Localize WOLips project

2008-05-15 Thread Rams
On May 15, 2008, at 11:46 AM, Daniele Corti wrote: 2008/5/15 Rams [EMAIL PROTECTED]: Almost there I think... That works, but now my sessionless localizer in my ERXComponent is broken. wo:str value = localizer.LOCALIZED_KEY / returns English strings in both components where Because when

Shorter URLs without mod_rewrite?

2008-05-15 Thread Rams
Hi Everybody! Is it possible to clean up the urls generated by WO in WO? I don't plan on using Apache, so that sorta eliminates mod_rewrite :-) Shorter URLs aren't a necessity, but it would be nice to have. Thanks! -- Learn how to secure your email (Mac OS X 10.3+)

Re: Localize WOLips project

2008-05-14 Thread Rams
the components in the Resource/LANGUAGE.lproj directory for every language you use. I am sure there is also an article in the Confluence Wiki about that (http://wiki.objectstyle.org). Regards, Helmut Am 12.04.2008 um 21:14 schrieb Rams: Hi all, Can anyone point me in the direction

Re: How to get rid of ?wosid=

2008-05-04 Thread Rams
Hi Gennady, I'm told you can suppress that behavior. http://davidleber.net/?p=274 Good luck! On May 4, 2008, at 8:01 AM, Gennady Kushnir wrote: Yes, I do create session And I repeat once again : it is not expected behavior for WOHyperlink to append ?wosid to href-bound instances In 5.3

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

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

WO 5.4.2 standalone...

2008-04-23 Thread Rams
Hi all, Any word on when we will see a WO 5.4.2 standalone update? It is my understanding that it is already available with the iPhone SDK. Thanks in advance. -- Learn how to secure your email (Mac OS X 10.3+) http://www.joar.com/certificates/ (Windows)

Re: Upgraded to Leopard - what do I need to do?

2008-04-16 Thread Rams
On Apr 16, 2008, at 1:20 PM, Daniel DeCovnick wrote: So I finally upgraded to Leopard and installed Xcode 3 and WO 5.4. I know I need to get the 5.4 Wonder frameworks, and I know I can't use migrations until 5.4.2. But is there anything else I need to get back to work? An updated version

Localize WOLips project

2008-04-12 Thread Rams
Hi all, Can anyone point me in the direction of information regarding how to localize a WOLips project. The process was fairly straightforward in xcode, but I can't seem to find any info on WOLips. I would like to know how to localize components as well as strings. TIA -- Learn how to

Re: Generate SQL fails

2008-04-07 Thread Rams
I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOLips 3.5? MySQL 5.0.51a and Connector J 5.0.8.

[SOLVED] Generate SQL fails

2008-04-07 Thread Rams
On Apr 7, 2008, at 2:19 AM, Rams wrote: I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOLips

Generate SQL fails

2008-04-06 Thread Rams
Hello everyone, I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOLips 3.5? MySQL 5.0.51a and

Re: Generate SQL fails

2008-04-06 Thread Rams
I'm trying to Generate SQL to create my tables and it is failing. My searching leads me to believe it is due to my setup as described here... http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829 I'm using: OS X 10.5 WO 5.4.1 WOLips 3.5? MySQL 5.0.51a and Connector J 5.0.8. Is