Re: php scripts inside WebObjects

2006-06-16 Thread Florian Schaeffer
Thanks Chuck and Pascal, I actually did a lot of research for HTML editors about two years ago and I did not come across TinyMCE. I have started to integrate it and it really looks good, works well and can easily be integrated. So thanks for the suggestion. Why DevEdit decided to only suppo

Problem to record an image file in a OpenBase Database with a WebObject application

2006-06-16 Thread Gilles MATHURIN
Hello everyone, i don't manage to record an image file in my Openbase database with a webobject application. This webapp use a WOFileUpload and a Submit Button which is bind to this action method : public WOComponent addToDB() { EOEditingContext ec =

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Guido Neitzer
On 16.06.2006, at 17:58 Uhr, Mike Schrag wrote: An example where I use ERXThreadStorage is that when a user authenticates, I put the user into thread storage. I do exactly the same. Anjo gave that hint about two years or so ago. It's just easier there, because if you don't do it this way you

Re: Problems with building WebService

2006-06-16 Thread Marc Respass
Jar files are a real travesty but one thing you can exploit is that the name of a jar doesn't matter. What I do is install WebObjects and then label everything in /Library/WebObjects/Extensions so I know what jars were put there by the WO install. Then I renamed all the jars that WebObjects

WebObjects Development training

2006-06-16 Thread Michael Xenakis
Übermind, Inc., a leading developer of enterprise level applications, announces it's WebObjects I Development course.  This five day course offers an intensive look into designing, building and deploying Web applications using Apple's WebObjects technology.Based on over a decade of professional con

UTF-8 encoding and FrontBase and Wonder

2006-06-16 Thread Thomas
I am having trouble with character encoding in a WO application that encodes all pages in UTF-8. As instructed by "Practical WebObjects" I have added an Application appendToResponse that sets the header to UTF-8. I've also added a meta-tag for content-type. Just to be paranoid, I added th

Re: Binding an Action across components?

2006-06-16 Thread James Cicenia
Ah. Yes this is what I was wanting... performParentAction thank you.. learned some useful things with this experiment. - j - On Jun 16, 2006, at 3:28 PM, Mike Schrag wrote: I think, if I understand correctly, he's saying he has a parent component with a save action, and a sub-component the

Re: Firebird RDMS and EOModeler

2006-06-16 Thread John Huss
Removing the port number (suggested above) did the trick. So the URL is: jdbc:firebirdsql:localhost:/Users/Firebird/Test.fdb The firebird docs says that both variations of the connection string are supported. EOModeler seems to prefer this though. John

Re: Binding an Action across components?

2006-06-16 Thread Mike Schrag
I think, if I understand correctly, he's saying he has a parent component with a save action, and a sub-component the he wants to call the parent's save action. You have two options: 1) pass in parentActionName as a String, and call performParentAction(thatName) in your subcomponent action

Re: Firebird RDMS and EOModeler

2006-06-16 Thread Art Isbell
On Jun 16, 2006, at 5:25 AM, John Huss wrote: When I try to Generate SQL in EOModeler it says "The url can not be null." The connection info is: URL: jdbc:firebirdsql:localhost/3050:/Users/Firebird/Test.fdb That URL looks odd to me. Have you tried "jdbc:firebirdsql:// localhost:3050

Re: Binding an Action across components?

2006-06-16 Thread Chuck Hill
Nested component take what they need from the parent, the parent does not pass it down of its own accord. That said, I doubt that I understand the scenario you have. Can you provide more detail? Chuck On Jun 16, 2006, at 1:13 PM, James Cicenia wrote: Well that is a nice trick.. however,

Re: Binding an Action across components?

2006-06-16 Thread James Cicenia
Well that is a nice trick.. however,,, my button is in a component... so how do I get an action method to pass this to the nested button? - james On Jun 16, 2006, at 2:34 PM, Chuck Hill wrote: On Jun 16, 2006, at 12:15 PM, James Cicenia wrote: Hello - I have created a common navigational

Java version 1.4.2_09 issues

2006-06-16 Thread Tanmoy Roy
Hi all, I am thinking of upgrading the Java of my system (Powerbook G4) to 1.4.2_09. Please let me know if it will be safe to use the version with my WebObject (5.2.3) and XCode 1.5. -- Thanks and regards, Tanmoy ___ Do not post admin requests to the li

Re: Binding an Action across components?

2006-06-16 Thread Chuck Hill
On Jun 16, 2006, at 12:15 PM, James Cicenia wrote: Hello - I have created a common navigational element to peruse a DisplayGroup. When one in a detail record the navigational component will show cancel save next prev. I have bound the dg to this component and so next and prev work fine.

Binding an Action across components?

2006-06-16 Thread James Cicenia
Hello - I have created a common navigational element to peruse a DisplayGroup. When one in a detail record the navigational component will show cancel save next prev. I have bound the dg to this component and so next and prev work fine. However for save, I don't want the save method to be

Re: Problems with building WebService

2006-06-16 Thread Mike Schrag
This is definitely classpath related ... You have the wrong version of Axis. Make sure you don't have another version in /Library/Java/ Extensions or something that is coming first. On Jun 16, 2006, at 2:07 PM, jerry porter wrote: Hello All, I am trying my hand at webservices in wo. I have

Re: Problems with building WebService

2006-06-16 Thread Ken Anderson
I'm not 100% sure, but I believe 5.2.3 was built with Axis 1.0. I think you need 5.2.4 or maybe even 5.3 for Axis 1.1. On Jun 16, 2006, at 2:07 PM, jerry porter wrote: Hello All, I am trying my hand at webservices in wo. I have done some in the past but I am having a problem vending one now

Problems with building WebService

2006-06-16 Thread jerry porter
Hello All, I am trying my hand at webservices in wo. I have done some in the past but I am having a problem vending one now I am using WO 5.2.3 on windows. I doing this in my app's application class public static void main(String argv[]) { WOApplication.main(argv, Application.class); WOWe

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Mike Schrag
Rule 5 - Use ERXThreadStorage instead of the session to have not so much dependencies there. I do not use this object, I have seen it proposed as a solution for things I would have done differently. I would like to see a sample app that make use of it (simple, just enough to prove the c

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Jean-François Veillette
I find this discusion very interesting. I'm very glad people contribute with their own point of view ! First, correcting myself. - we too often miss an opportunity to create a new class, that will control the workflow of the many views of the system. we too often sparkle bit and pieces of o

Oracle Reconnection / Timeout Problem

2006-06-16 Thread Mark Gowdy
Hello, I am having a problem when my application looses it's connection with oracle.  It simply stalls for a while.It will eventually reconnect, but it take 9 minutes on my dev machine, and about 14 minutes (I think) on our deployment machine.My EOF connection stuff on my dev machine is:    connect

Firebird RDMS and EOModeler

2006-06-16 Thread John Huss
Has anyone gotten Firebird to work with EOModeler? I can establish a connection with plain JDBC and with my application, but not in EOModeler. When I try to Generate SQL in EOModeler it says "The url can not be null." Anyone else had the same or different experience? The connection info is: U

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Guido Neitzer
On 16.06.2006, at 10:24 Uhr, Paul Lynch wrote: There is only an artificial distinction between "Dynamic Element" and WOComponent. All dynamic elements are view classes, and they are also WOComponent subclasses. So yes, WOComponent fills both roles. Nope. WODynamicElement and WOComponent

Re: php scripts inside WebObjects

2006-06-16 Thread Pascal Robert
Le 06-06-15, à 20:49, Florian Schaeffer a écrit : Hi, I would like to integrate some php scripts into my WebObjects application. More specifically I would like to integrate DevEdit a html editor into my WO application but DevEdit can only be setup via php. That is I am not planing to interact

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Jerry W. Walker
Very interesting discussion. Although I tend to agree with Paul's analysis on the whole, I would point out one small error... On Jun 16, 2006, at 4:24 AM, Paul Lynch wrote: There is only an artificial distinction between "Dynamic Element" and WOComponent. All dynamic elements are view cla

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Mike Schrag
ERXWOSwitch/ERXWOCase in Project Wonder :)msOn Jun 16, 2006, at 8:07 AM, John Stewart wrote:These days, in the world of .css, I feel the View needs a bit more complexity.  For my purposes, something like a ..., equivalent to a Java "switch" would suffice. __

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Mike Schrag
The design of WOComponent seems to be nearly identical to the design approach Java's Swing JComponent took (who knows, maybe some of the same people worked on both -- it's very incestuous in the valley :) ). Swing docs state that JComponent objects are View- Controller pairs. That is, they

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread John Stewart
Quite a diversity of opinions on this one! To me, the ideal MVC model allows both conceptual design and practical development of the three separate layers. All one layer should need to know about another is their common interface. IMO one of the practical benefits of a good MVC development syst

Re: Problem with webobject attributes in WOBuilder

2006-06-16 Thread Paul Lynch
On 16 Jun 2006, at 03:11, wojingo wrote: This has been a very interesting discussion, thanks to everyone involved for the opinions expressed. Personally, I'm still not entirely convinced about WOComponent being a controller only and Dynamic Elements being the view objects as it seems Pau