Re: WOForm and "multipleSubmit"

2007-02-09 Thread Mike Schrag
It's actually more of an effect on WOSubmitButton than it is on WOForm ... WOForm calls wocontext._setIsMultipleSubmitForm(true), then passes down to its children. For a WOSubmitButton, if the context is multiple submit, the action on the submit button will only be called if the submit but

MEETING: Chicago CocoaHeads / CAWUG Tuesday Feb. 13 6:00 pm

2007-02-09 Thread Bob Frank
Hi all, The Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group (CAWUG) is holding our next meeting this coming Tuesday, Feb 13th, at 6:00 PM at the Apple Store on Michigan Ave. Agenda: - Introductions & Announcements - Jon on BaseTen - Q & A -

WOForm and "multipleSubmit"

2007-02-09 Thread Andrew Lindesay
Hello; Aside from the obvious end-effect of setting "multipleSubmit" to true on WOForm, does anybody have any insight into the behind-the-scenes workings of WOForm and how its behaviour is altered by setting this binding to true? cheers. ___ Andrew Lindesay www.lindesay.co.nz

Re: Rendering Child Components

2007-02-09 Thread Andrew Lindesay
Hello Chuck; Can you explain that a bit more? If there is no template, how are there child components? Are you creating them yourself? Things like WOConditional maintain an array of their children and iterate over it calling appendToResponse... I'll see if I can make myself more clear;

Re: Rendering Child Components

2007-02-09 Thread Chuck Hill
Can you explain that a bit more? If there is no template, how are there child components? Are you creating them yourself? Things like WOConditional maintain an array of their children and iterate over it calling appendToResponse... You might want to have a template that consists only of

Rendering Child Components

2007-02-09 Thread Andrew Lindesay
Hello; I'm writing a component where all of the component is rendered in code as opposed to a template during "appendToResponse(...)" -- can anybody tell me if there is a right way (not using a "WOComponentContent" component) to render the child components programatically? cheers. ___

Re: Problem with instantiatePage in tomcat dist

2007-02-09 Thread John Larson
I changed my call to instantiate page to create the context longhand with the same fake request in wonder. WORequest request = new ERXRequest("GET", "", "HTTP/1.1", null, null, null); WOContext context = new WOContext(request); OrderConfirmation p = (OrderConfirmation) Ap

Problem with instantiatePage in tomcat dist

2007-02-09 Thread John Larson
I am trying to use ERXApplication.instantiatePage to generate a page to use in an e-mail. It works fine from Eclipse, but when I deploy it to the tomcat server I get this error. java.lang.NullPointerException at com.webobjects.jspservlet.WOServletContext. (WOServletContext.java:40) at sun

Re: ClassCastException during appendToResponse

2007-02-09 Thread Baiss Eric Magnusson
To troubleshoot problems of this kind do a or dump in a statement, if necessary, that will tell you the class you have, that does not match the requirements of the call. HTH, Baiss On Feb 9, 2007, at 5:42 AM, [EMAIL PROTECTED] wrote: Subject: Re: Help please: ClassCastExcepti

java.net.SocketException: Connection reset errors

2007-02-09 Thread jerry porter
Hello All, I am getting a number of these type of errors in my logs. I know they are pretty benign, and I think I know where they are coming from in my code. I am just not sure how to track them down to either eliminate the messages or eliminate the cause of the messages. Any debugging pointer

IllegalStateException when a component has a ref to a deleted EO

2007-02-09 Thread Fabrice Pipart
Hi ! If I have an array of EOs as a component instance variable containing EOs I fetch in its constructor. If the user on that component stays there for 2 mins. If in the meantime a background thread deleted the EO. If now the user does an action in the component that returns null (we stay i

Re: Help please: ClassCastException during appendToResponse

2007-02-09 Thread Kieran Kelleher
Hard to see with this generic stack trace Here is a guess . If content of MyAppComponent is causing the problem, then check by temporarily surrounding most or all of the body content with a WOConditional bound to "false" and see it the page renders without error. If it does work, t

Re: fetch EOs using Oracle stored procedures

2007-02-09 Thread Francis Labrie
Hi, David den Boer a écrit : [...] 2. You can fetch using : public static NSArray rawRowsForStoredProcedureNamed (EOEditingContext ec, String name,NSDictionary args) This will return an array of NSDictionary (raw rows). If this is being used to display results, you are best to leave them

Re: Help please: ClassCastException during appendToResponse

2007-02-09 Thread Mike Schrag
it would seem that you passed in a value in the "queryDictionary" binding on WOHyperlink that was not an instanceof NSDictionary. ms On Feb 9, 2007, at 2:05 AM, Lachlan Deck wrote: I'm stuck and need help really quick please :-) Could somebody please help explain why the following might occ

Fwd: AjaxDroppable

2007-02-09 Thread WIESEN Bruno
Hello, I've got a problem : after dropping, the page is not refeshed...So my draggable object is still on the page... I try to use javascript on the event onDrop (window.location.reload ()) but it doesn't seem to work... An idea?? Thank you very much !! Bruno _

Re: D2W How do I format my dates globally?

2007-02-09 Thread René Bock
Am 08.02.2007 um 23:37 schrieb James Cicenia: Hello - What is the rule to have all my dates displayed say, Feb 7, 2007 ?? try something like { author = 50; class = "com.webobjects.directtoweb.Rule"; lhs = { class = EOKeyValueQualifier; key = "smartAttribute.cl