Re: WO Community Surveys are coming up!

2008-12-10 Thread Ramsey Lee Gurley
Hi Pascal, Would it be possible to add a question to gauge community interest in Apple providing some kind of WO cloud service through mobileme/dotmac or some other means? Deployment is generally the biggest kludge and if I had a deployment folder in my iDisk and a monitor page on my me.

RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Andrew Lindesay
Hello Kevin; I tend to use "jar frameworks" and I do this -- where I have removed variable-substitution to illustrate the point better;

RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Ren, Kevin
Yes, I found in the /System/Library/WebObjects/JavaApplications, all *.jar are seating under Contents/Extensions How could I do it, do I need change something in the build.xml? Thanks Kevin -Original Message- From: Andrew Lindesay [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 December

WO Community Surveys are coming up!

2008-12-10 Thread Pascal Robert
Hello everyone, Before we move to 2009, it's surveys time! This year, we will have two surveys : one is for organizations, the other is for developers. So the first survey should be answered by only one member of your organization, the other survey is for anyone who develops with WebObjec

Re: PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Andrew Lindesay
Hello Kevin; You can bundle the local frameworks as well as WebObjects frameworks into the ".woa". This means that in deployment there is no LOCALROOT used. cheers. Yes, that's may fix some problem, but For local framework, it's LOCALROOTLibrary/Frameworks/Ajax.framework/Resources/Java/A

RE: PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Ren, Kevin
Yes, that's may fix some problem, but For local framework, it's LOCALROOTLibrary/Frameworks/Ajax.framework/Resources/Java/Ajax.jar That's wrong, need fix it somewhere, Thanks Kevin -Original Message- From: Andrew Lindesay [mailto:[EMAIL PROTECTED] Sent: Thursday, 11 December 2008 3

Re: PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Andrew Lindesay
Hello Kevin; I suggest that you simply put all of the WebObjects frameworks directly into the ".woa" bundle and then you don't need to worry about where they are in the deployment system. cheers. On 11/12/2008, at 3:23 PM, Ren, Kevin wrote: Hi, Eclipse3.4+WOLips nightly build+WO5.4.3 i

PATH is different between dev and deployment, make deploy failed(WO5.4.3)

2008-12-10 Thread Ren, Kevin
Hi, Eclipse3.4+WOLips nightly build+WO5.4.3 in Ubuntu Simple HelloWorld.woa In development build path, the javafoundation.jar, javajdbcadaptor.jar,javawebobjects.jar Are point to Whatever/Apple/System/Library/Frameworks directory, all good. After application built, install it to Whatever/A

ERPrototypes + intBoolean + INTEGER + boolean qualifier = fail

2008-12-10 Thread Lists
I have a column ACTIVE defined as INTEGER in a Frontbase DB. The model defines the attribute as: Prototype: intBoolean External Type: INTEGER Data Type: Boolean - boolean c I'm running into problems with this code: EOQualifier qualifier = Client.ACTIVE.is(Boolean.TRUE); Client clie

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Anjo Krank
Am 10.12.2008 um 22:14 schrieb Andrew Lindesay: "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map Because JMX support for WO app was written by the same intern who "fixe

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Andrew Lindesay
Well... that's me out of ideas to explain it. cheers. "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? ... Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the rationale

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
On Dec 10, 2008, at 1:14 PM, Andrew Lindesay wrote: Hello Anjo; "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the r

Re: How to use WODisplayGroup

2008-12-10 Thread David Holt
On 10-Dec-08, at 10:02 AM, Francesco Romano wrote: Changing from WOBatchNavigationBar to ERXbatchNavigationBar, now the bar is visible also if I don't have more than one pages (and that is good), but... there is no pluralName... sigh... Plural name is not a binding because it is generated

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Andrew Lindesay
Hello Anjo; "unfortunate", my *ss. Idiotic would be more like it? Why is this a HashMap of all things and not a Map? Also WOApplication.getFrameworkVersions() is HashMap and not Map -- I think I have pointed this out. I wonder if the rationale for this is so that JMX can access it? ses

Re: Hyperlink in Image Map?

2008-12-10 Thread James Cicenia
Hey I have been doing it what 5 years now... and I never saw that before either. Anyway that looks like what I was looking for. Thanks again to the best list in town! James On Dec 10, 2008, at 1:41 PM, Hugi Thordarson wrote: Well, shut my mouth and paint me red. WOActiveImage has a bind

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
On Dec 10, 2008, at 11:36 AM, Anjo Krank wrote: Am 10.12.2008 um 20:19 schrieb Chuck Hill: There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemo

Re: Hyperlink in Image Map?

2008-12-10 Thread Ramsey Lee Gurley
I think it's supposed to be a little more involved that just simply binding to the invokeAction... I think you still have to create a href binding in the wod and then bind that to a method in the object that generates the url... something like context().componentActionURL. I could be mist

Re: Hyperlink in Image Map?

2008-12-10 Thread Hugi Thordarson
Well, shut my mouth and paint me red. WOActiveImage has a binding called "imageMapFile" that I've never used. But I'f guess that this would generate a client side image map for you :-). http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOActiveImage/chapter_3_secti

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Anjo Krank
Am 10.12.2008 um 20:19 schrieb Chuck Hill: There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemory() return avg.hashMap(); "unfortunate", my

Re: Hyperlink in Image Map?

2008-12-10 Thread Hugi Thordarson
If it's an option, you could also use good old WOActiveImage. It has bindings (x,y) that specify the coordinates clicked by the user, so you can process your imagemap on the server side. It comes with a downside, though - all of the image is clickable, so the user does not get feedback abou

Re: Hyperlink in Image Map?

2008-12-10 Thread James Cicenia
hmmm when I do that it still renders as such: onClick="EditForm.submit();return false;" coords="358,96,412,111"> SearchElement: WOGenericElement{ shape="rect"; coords="358,96,412,111"; elementName = "area"; alt="search" ; invokeAction = search;

Re: Hyperlink in Image Map?

2008-12-10 Thread Ramsey Lee Gurley
Hi James, I think you need to use invokeAction. There is no action binding on WOGenericElement http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOGenericElement/chapter_16_section_3.html#/ /apple_ref/doc/uid/TP30001055-CH17-TPXREF103 Ramsey On Dec 10, 2008, a

Re: ClassCastException trying to show WOStats

2008-12-10 Thread Chuck Hill
There were some (IMO) unfortunate and inconsistent API changes in 5.4.x: sessionsStats.setObjectForKey(getAverageSessionMemory(), "Avg. Memory Per Session"); public HashMap getAverageSessionMemory() return avg.hashMap(); So the exception is correct, "Avg. Memory Per Session" _is_ a Ha

Hyperlink in Image Map?

2008-12-10 Thread James Cicenia
How do I put a hyperlink in the image map? I tried doing a GenericElement like: SearchElement: WOGenericElement{ coords="358,96,412,111"; elementName = "area"; shape="rect"; alt="search" ; onClick = "EditForm.submit();return false;"; action=search;

Re: Web Service fails: add is not a supported operation in com.webobjects.foundation.NSArray ?

2008-12-10 Thread Pascal Robert
Maybe I doing something wrong, but I'm building a SOAP service with WO 5.4.3, and I go the same error. Caused by: java.lang.UnsupportedOperationException: add is not a supported operation in com.webobjects.foundation.NSArray at com.webobjects.foundation.NSArray.add(NSArray.java:965)

Re: How to use WODisplayGroup

2008-12-10 Thread Francesco Romano
On 10/dic/08, at 18:50, David Holt wrote: Hi Francesco, On 9-Dec-08, at 11:56 PM, Francesco Romano wrote: I've some problems with the Insert() method of WODisplayGroup. It adds another row, but if I edit that row and I don't commit the EditingContext, if I insert another row the previous

Re: many-to-many relationship and qualifiers

2008-12-10 Thread Francesco Romano
On 10/dic/08, at 18:42, David Holt wrote: Hi Francesco. On 10-Dec-08, at 8:59 AM, Francesco Romano wrote: For the second question I solved... I changed the datasource for the displayGroup: now I user the E12 instead of Ent2. By the way... a question regarding WOBatchNavigationBar.. It's

Re: How to use WODisplayGroup

2008-12-10 Thread David Holt
Hi Francesco, On 9-Dec-08, at 11:56 PM, Francesco Romano wrote: I've some problems with the Insert() method of WODisplayGroup. It adds another row, but if I edit that row and I don't commit the EditingContext, if I insert another row the previous is been cleared. Another thing... I inserte

Re: many-to-many relationship and qualifiers

2008-12-10 Thread David Holt
Hi Francesco. On 10-Dec-08, at 8:59 AM, Francesco Romano wrote: For the second question I solved... I changed the datasource for the displayGroup: now I user the E12 instead of Ent2. By the way... a question regarding WOBatchNavigationBar.. It's very useful, but... it displays the number of

Re: many-to-many relationship and qualifiers

2008-12-10 Thread Francesco Romano
For the second question I solved... I changed the datasource for the displayGroup: now I user the E12 instead of Ent2. By the way... a question regarding WOBatchNavigationBar.. It's very useful, but... it displays the number of objects in the entity, not the number of objects matching the qu

many-to-many relationship and qualifiers

2008-12-10 Thread Francesco Romano
Hi... I read in the list that if I need an attribute in a many-to-many relationship I cannot create a "flattern" relationship. So I created a simple n-to-1 1-to-n. Now.. I don't understand if I need to do some more "work" in my classes... And... another thing: qualifier. Let's call Ent1

Re: How to use Anchors on long dynamic lists?

2008-12-10 Thread James Cicenia
Ah -- Thanks for this. I wasn't thinking javascript. This will definitely help. James On Dec 10, 2008, at 5:55 AM, Ralf Schuchardt wrote: Am 09.12.2008 um 19:26 schrieb James Cicenia: I was wondering how to keep my long lists, after refresh, from moving back to the top of the page. T

Re: How to use Anchors on long dynamic lists?

2008-12-10 Thread Ralf Schuchardt
Am 09.12.2008 um 19:26 schrieb James Cicenia: I was wondering how to keep my long lists, after refresh, from moving back to the top of the page. This is really annoying to our customers who have long lists. When submitting the form I use javascript to store the current scroll position in

Re: PDF generator/converter

2008-12-10 Thread Gino Pacitti
Try this - I use it and it is really stable and configurable http://www.pd4ml.com/ Gino On 10 Dec 2008, at 09:47, Patrick Middleton wrote: On 9 Dec 2008, at 15:31, Sherry Tirko wrote: Hi All, I'm wondering if anyone knows if there is a pdf generator out there for WO sites or e

Re: PDF generator/converter

2008-12-10 Thread Patrick Middleton
On 9 Dec 2008, at 15:31, Sherry Tirko wrote: Hi All, I'm wondering if anyone knows if there is a pdf generator out there for WO sites or even a converter for WO Components. I'd like to take a form and make a pdf version for printing. Thanks, Sherry Or on MacOSX 10.3 and later,

ClassCastException trying to show WOStats

2008-12-10 Thread Paul Hoadley
Hello, I'm using WO 5.4.3, and some Wonder frameworks, though this particular app does not extend ERXApplication. The following happens in development (OS X) and deployment (CentOS, JavaMonitor). I've got -WOStatisticsPassword set. When I hit wa/WOStats, I get this: Application.handleExc