more problems with tomcat

2006-06-15 Thread Dave Elsner
Hi,I have deployed multiple WO applications to tomcat successfully. Where WO is not installed on the server.However one of the applications which use to work fine now won't start up and gives the following error:"javax.servlet.UnavailableException: Can't find application bundle. You can either defi

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread wojingo
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 Paul is saying. I see his point but I'm not stil

Re: WebObjects on Windows 2003 Server

2006-06-15 Thread D Tim Cummings
Hi GarryI have deployed WO5.2.4 to Win2003 Server  SP1 and j2sdk1.4.2_08 without problems.  I am using IIS adaptor but not direct to web.TimOn 15/06/2006, at 06:00, Watkins, Garry wrote: Has anyone gotten WO 5.2.4 to run on Win2003 Server with JRE1.4.2.  It seems to have some issues, with the path.

Re: php scripts inside WebObjects

2006-06-15 Thread Chuck Hill
On Jun 15, 2006, at 5:49 PM, Florian Schaeffer wrote: Hi, I would like to integrate some php scripts into my WebObjects application. That seems an awful thing to like. :-P More specifically I would like to integrate DevEdit a html editor into my WO application but DevEdit can only be s

php scripts inside WebObjects

2006-06-15 Thread Florian Schaeffer
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 with php, but merely would like to include php s

Re: Security in Application

2006-06-15 Thread Chuck Hill
What do you mean by "secured read/write in our database"? If someone has hacked into your machine and has access to your DB, you have serious problems. The first obvious step is to have the form submitted over HTTPS. You could also encrypt the CC number in the database, but if they can g

Security in Application

2006-06-15 Thread PS ps
Hi All, We need to capture credit card information in our web object application. Could anyone suggest the security features that should be incorporated , to ensure secured read/write in our database? Thanks a lot! __ Do You Yahoo!? Tired of spam?

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread Paul Lynch
This is my take on it, which is supported by various Apple docs on WebObjects. WO tries quite hard to strictly follow MVC. You can find plenty of evidence for this, as well as exceptions, so it is open to interpretation. In MVC, you have the three 'layers' of an application, and objects

Re: Euro symbol and other characters distorted

2006-06-15 Thread apl
Hello David; If I add a duplicate EOModel to my project which uses a different adaptor setting to connect to FrontBase, can I connect to mySQL with one of the EOModels and FrontBase with the other and using the custom java classes just load the data from mySQL via one and write to FrontBa

Re: Creating Charts and Graphs - Recommendations

2006-06-15 Thread Pierce T. Wetter III
vvi.com has a free service for this: http://www.vvi.com/services/charts/index.html?make_graphs=Click+To +Make+Graphs ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com

Re: Creating Charts and Graphs - Recommendations

2006-06-15 Thread apl
Hello Reid; I find JFreeChart very good indeed. Here is a basic article on how to get started. http://www.javaworld.com/javaworld/jw-12-2002/jw-1227- opensourceprofile.html WO integration seems to be very smooth as well. cheers. best/easiest/cheapest tool to use. I drool over ReportM

Re: How to include a Framework in a WebObjects Application

2006-06-15 Thread apl
Hello; If you download... http://homepage.mac.com/andrewlindesay/le/downloads/ lewostuff_distrib_9june2006.gnutar.bz2 You will find a PDF inside called "LEWOStuffOverview.pdf" with a sub section called "LEWOStuff as a Private Framework in a WebObjects Application". The variable "PRIVATE

Re: Can't Update Primary Key in PostgreSQL

2006-06-15 Thread Chuck Hill
Nick, I have exposed primary keys with Postgres and not had this exception. I don't think that is the (or the only) cause. Carefully check the definitions of this PK and all the FK relations to it to ensure they are identical (same internal type, same external type, same value type etc.

Re: Can't Update Primary Key in PostgreSQL

2006-06-15 Thread Gary Teter
Turn off the class property on the pk for the entity, and use a method like this to get the pk: public static Integer id(EOEnterpriseObject anEnterpriseObject) { EOEditingContext ec = anEnterpriseObject.editingContext(); if (ec != null) { EOGlobalID globalID = an

Can't Update Primary Key in PostgreSQL

2006-06-15 Thread Mac Dev
Hello,It's me again.  The guy who just recently moved the database from MSSQL 7 to PostgreSQL 8.1.I am getting errors like this whenever I try to save changes in my defaultEditingContext:java.lang.IllegalStateException: cannot update primary-key 'user_ID' from '11795' to '11795' on object:{values .

Re: Creating Charts and Graphs - Recommendations

2006-06-15 Thread John Huss
I haven't tried it, but I hear ERPlot in Project Wonder is easy. It uses JFreeChart I think. I've used JFreeChart directly and it works pretty well. I found some examples on WOCode.com that helped me get going. John On 6/15/06, Reid Bundonis <[EMAIL PROTECTED]> wrote: Dear List, I'm thinkin

Creating Charts and Graphs - Recommendations

2006-06-15 Thread Reid Bundonis
Dear List, I'm thinking about building some charts and graphs out of fetched data and was wondering if anyone had a preference on what is the best/easiest/cheapest tool to use. I drool over ReportMill but simply can not justify the cost for the project. I've seen JFreeChart and just ran acr

Re: How to include a Framework in a WebObjects Application

2006-06-15 Thread Mohapatra Ashish
Hi Carter, For the image/resources to be fetched from the framework intended, please use the property of the WOImage/other dynamic element to do the binding into the framework, else it will always try to fetch from the main application and not frameworks. Every other dynamic element have one or ot

Re: How to include a Framework in a WebObjects Application

2006-06-15 Thread Chuck Hill
When I have done this, I had to modify the classpath file by hand / script. I don't know if Xcode will do that for you. If it will, I have no idea how. Chuck On Jun 15, 2006, at 6:48 AM, Carter Wojcik wrote: Hi All - I have a webobjects application which I would like to add a framework

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread Chuck Hill
On Jun 15, 2006, at 5:08 AM, John Stewart wrote: A slight afterthought... My idea of MVC is that the only the View deals with appearance, although may need a certain amount of logic to handle this. The Controller carries the business logic and shouldn't be concerned with appearance, tho

Re: Euro symbol and other characters distorted

2006-06-15 Thread David Griffith
Ok after a few more hours of fiddling around:It seems like originally all the data was in Latin 1 encoding.  When I change everything back to Latin 1, the € symbol appears fine again.  However I still see all the '?' in any data the comes from a BLOB.  This seems to indicate that all those '?' are

Re: Character Set Problems

2006-06-15 Thread David Griffith
Hi John, Thanks, it's good to know that. I have finally managed to solve this one, by hours and hours of messing with different collations and character sets. Finally I have found a way to convert the old BLOBs to TEXT fields in the database and things seem to have finally returned to n

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread Jean-François Veillette
I was hoping to handle the View entirely in .html + .wod, so if the .css changes I just change the references in there.  However, the .wod logic won't cope with that, so I have to extend the View to include a chunk of Java code.  Still MVC as long as I separate it from the Controller code.  How

How to include a Framework in a WebObjects Application

2006-06-15 Thread Carter Wojcik
Hi All - I have a webobjects application which I would like to add a framework containing custom components. Instead of placing the framework into the /Library/Frameworks directory, I would like to include the framework directly in my application for portablililty. I have read the Apple document

Re: Character Set Problems

2006-06-15 Thread John Larson
David - check this out: MySQL Bugs: #18321: Can't store Euro Sign with latin1_german1_ci and latin1_general_ci http://bugs.mysql.com/bug.php?id=18321 Hope it helps. I tried "select '\342\202\254' as a;" and had mysql spit out a euro sign. If I try to store it in a table, it puts a ? in the

Re: Character Set Problems

2006-06-15 Thread David Griffith
Have finally discovered that the mySQL server was upgraded from version 4.0.24 to version 4.1.19. We were using Connector/J version 3.1.7. Have reverted to 3.0.17 so that instead of seeing '[EMAIL PROTECTED]' we now see the proper text, but the encoding is wrong or at least any special cha

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread John Stewart
A slight afterthought...My idea of MVC is that the only the View deals with appearance, although may need a certain amount of logic to handle this.  The Controller carries the business logic and shouldn't be concerned with appearance, though has to handle I/O of data to the View. For example, the C

Character Set Problems

2006-06-15 Thread David Griffith
Ok people, At this stage I am willing to pay anyone that is prepared to spend some time with me on this. I'm pulling my hair out and going around in circles. Please, anyone that can help, mail me directly on [EMAIL PROTECTED] See previous messages on Problems with euro symbol and charac

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread John Larson
John S.A technique that I used (I think I understand your question) is to have a eomodel object called "parameters" with fields parameterKey and parameterValue.  Then I put whatever various parameters I want to use in there.  Then I have a static method in a Util class that is something like String

Re: Problem with webobject attributes in WOBuilder

2006-06-15 Thread John Stewart
Thanks guys,I'm working from a third-party css set, and trying to plan ahead for the possibility of that changing, while interface logic stays the same.  However, I'll just have to bite the bullet and accept that my Java code has to know what's in there! JohnOn 6/14/06, David Masters <[EMAIL PROTEC

Re: NSArray.iterator and NSArray.listIterator bug

2006-06-15 Thread John Larson
Thanks Chuck, objectEnumerator does work. I didn't even think that that would be a different implementation except for Iterator's remove() method. Oh well, just trying to obey Sun's advice about their Collections framework and not have to call methodWithAsLongANameAsPossible(). :-) John