Leopard friendly JavaBrowser alternative

2009-01-06 Thread Stamenkovic Florijan
Hi all, So, the JavaBrowser app is gone. I found some info saying that Tiger's version can work on Leopard too, but it seems I'd have to do some hacks. So, before I do that, I'd like to hear how others browse Java docs / source? I am especially interested in standalone apps (though I'd

Test, ignore

2009-01-06 Thread Kevin Windham
Testing ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:

Re: EO Not deleting

2009-01-06 Thread Joe Moreno
I've made this mistake before and I keep forgetting... I forgot to remove the EO from it's relationship before deleting it. Once I did that, the EOs were deleted as expected. I'm not sure why EOF would sometimes delete the EO and sometimes it didn't - but, unhooking it before the delete

test

2009-01-06 Thread Kieran Kelleher
test, sorry for any inconvenience ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:

Re: PDF generator/converter

2009-01-06 Thread Jeff Schmitz
I downloaded the example flying saucer stuff and got it to run, but I'm having trouble figuring out how to wrap this up in a component. Since I am generating a WOComponent that I want to transform to a pdf, I'm unsure how to send that finished component (i.e. html file) to the pdf

Re: PDF generator/converter

2009-01-06 Thread Jeff Schmitz
I downloaded the example flying saucer stuff and got it to run, but I'm having trouble figuring out how to wrap this up in a component. Since I am generating a WOComponent that I want to transform to a pdf, I'm unsure how to send that finished component (i.e. html file) to the pdf

$parent.method binding error in eclipse

2009-01-06 Thread Yung-Luen Lan
Hi, I have a template component with a such line: wo:if condition = $parent.authorized which calls the authorized() method of the parent component. However, eclipse always display an error saying there is no key 'authorized' for the keypath 'parent' in my class. How do I make the error message

OT: ping

2009-01-06 Thread Lachlan Deck
Just a ping. with regards, -- Lachlan Deck ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:

ERChangeNotificationJMS

2009-01-06 Thread Jon Nolan
I'm trying to integrate this and I'm running into... com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] org/exolab/core/util/URI$MalformedURIException:java.lang.NoClassDefFoundError: org/exolab/core/util/URI$MalformedURIException Some very old posts indicate what

Reading a line at a time with NSData?

2009-01-06 Thread James Cicenia
I have an NSData object. I am using the sample AJAXFileUpload which gives me an NSData object. I am reading in a tab delimited text file and was wondering how do I read line per line. Thanks James Cicenia ___ Do not post admin requests to the list.

Re: Problem after Wonder and WO upgrade

2009-01-06 Thread james o'loughlin
On 2008.12.31, at 9:19 PM, Kevin Windham wrote: I upgraded WO to 5.4.3 and Wonder to the latest 5.4 version. I fixed some import statement issues, and now it looks like I have one last project issue before I can run. I get this error: missing required library: '/Library/Frameworks/

Test, please ignore

2009-01-06 Thread Cheong Hee (Datasonic)
I have not received any emails for since 1/1/2009. This is just a test to see if the message does arrive at the list. Cheers Cheong Hee ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: [WOCommunity] WO Marketplace Survey: last reminder

2009-01-06 Thread Lachlan Deck
Possibly better to run the survey at a different time (late Jan or early Feb for example) On 02/01/2009, at 5:46 AM, Pascal Robert wrote: For the 2008 results? Not yet, we only have 54 answers so far :-/ Hi Pascal, Is it yet possible to view the survey results online? Regards, Kieran

Re: ERXEC.newEditingContext() access

2009-01-06 Thread Paul Hoadley
On 02/01/2009, at 12:03 PM, Theodore Petrosky wrote: ok... I am experimenting with the ajax examples and I added the UpdateDisplayGroup to my app (with alterations). I am populating the list with a db query: categoryList = Category.fetchAllCategories(ERXEC.newEditingContext(),

Re: Removing = etc. from the drop down in D2W search

2009-01-06 Thread Guido Neitzer
On 02.01.2009, at 10:49, Kamal D Shah wrote: When D2W generates a search page, for a String attribute, it generates a drop down that has things like 'starts with', 'is', 'contains' etc. but they also have things like , , = which do not make sense for strings. How do I remove these?

Re: $parent.method binding error in eclipse

2009-01-06 Thread Guido Neitzer
On 04.01.2009, at 19:55, Yung-Luen Lan wrote: I have a template component with a such line: wo:if condition = $parent.authorized which calls the authorized() method of the parent component. However, eclipse always display an error saying there is no key 'authorized' for the keypath 'parent'

D2W: Rules for the sub components of the EditRelationship page

2009-01-06 Thread Kamal D Shah
Hi, The EditRelationship page has a list, query and select sub-components. What rules can I specify to modify the behavior of the sub components? For example, I would like to specify the displayPropertyKeys of the list sub component. It currently shows up all the properties of the

Re: PDF generator/converter

2009-01-06 Thread Kieran Kelleher
Look at the WOComponent API .. you can call generateResponse() to get a WOResponse, and then call contentString() on the WOResponse to get the HTML. The result may have relative URLs in which case you may have to grab the context (WOComponent.context()) and tell it to generate full

Re: Not finding binding with $^ notation

2009-01-06 Thread Lachlan Deck
On 02/01/2009, at 4:35 PM, Sanford Selznick wrote: I made it to tutorial 2. Yay :-) The binding described below is not found. Both PageWrapper and Main are in the same package. - PageWrapper.html: titlewo:str value=$^title //title - PageWrapper.api (edited by eclipse/wolips):

Re: Reading a line at a time with NSData?

2009-01-06 Thread Timo Hoepfner
Hi, try something like this: NSData data = ...; // your existing NSData object try { BufferedReader reader = new BufferedReader(new InputStreamReader (data.stream())); try { while (reader.ready()) { String line = reader.readLine();

Re: ERXEC.newEditingContext() access

2009-01-06 Thread Theodore Petrosky
Yes, thanks, I continued googling and found a wiki that described this. Weird I think the mailing list was down for about a week. Or it's just my imagination. Ted Message: 15 Date: Tue, 6 Jan 2009 17:50:52 +1030 From: Paul Hoadley pa...@logicsquad.net Subject:

Re: Reading a line at a time with NSData?

2009-01-06 Thread Kieran Kelleher
Use a java.io.BufferReader.readLine() On Jan 5, 2009, at 2:56 PM, James Cicenia wrote: I have an NSData object. I am using the sample AJAXFileUpload which gives me an NSData object. I am reading in a tab delimited text file and was wondering how do I read line per line. Thanks James Cicenia

Re: Reading a line at a time with NSData?

2009-01-06 Thread Hugi Thordarson
I'm lazy so I would usually do something like this: NSData yourNSData = whateverYourDataIs(); String encoding = whatEverYourEncodingIs(); try { String text = new String( yourNSData.bytes(), encoding ); NSArrayString lines =

Re: $parent.method binding error in eclipse

2009-01-06 Thread Lachlan Deck
On 06/01/2009, at 8:23 PM, Guido Neitzer wrote: On 04.01.2009, at 19:55, Yung-Luen Lan wrote: I have a template component with a such line: wo:if condition = $parent.authorized which calls the authorized() method of the parent component. However, eclipse always display an error saying

WebObjects jar frameworks and classpaths

2009-01-06 Thread John Pollard
Hi List, A bit off topic, but I am struggling to make sense of this. Simply put I want to understand why I can't put a couple of jars into a WO framework and have the code still work as it does when the same jars are in /Library/Java/Extensions. So here is what I did: Created a new

Re: D2W: Rules for the sub components of the EditRelationship page

2009-01-06 Thread Guido Neitzer
On 06.01.2009, at 12:41, Kamal D Shah wrote: The EditRelationship page has a list, query and select sub- components. What rules can I specify to modify the behavior of the sub components? For example, I would like to specify the displayPropertyKeys of the list sub component. It currently

Re: Using NULLS FIRST/LAST on sort orderings

2009-01-06 Thread Miguel Arroz
Hi! I thought about it, but from what I understood, I would also have to touch the DB plugins to generate the correct SQL code, and it would become very dirty. How did you do yours? Yours Miguel Arroz On 2009/01/06, at 14:53, James Cicenia wrote: I made a custom comparator to do

Re: 'object' not getting initialized in D2WCustomComponent sub class

2009-01-06 Thread Ramsey Lee Gurley
The values for object and key should be getting passed to the component by your page. Making them public might get them to synchronize... If you just bind your string value to ^object.name in the wod file, I think it should work for you. If you really need to do it in the java file, you

Re: D2W: Rules for the sub components of the EditRelationship page

2009-01-06 Thread Ramsey Lee Gurley
On Jan 6, 2009, at 6:41 AM, Kamal D Shah wrote: Hi, The EditRelationship page has a list, query and select sub- components. What rules can I specify to modify the behavior of the sub components? For example, I would like to specify the displayPropertyKeys of the list sub component. It

Re: Using NULLS FIRST/LAST on sort orderings

2009-01-06 Thread James Cicenia
I did mine in memory. Is that a possibility for you? If so, I can find/ send you my comparator. On Jan 6, 2009, at 8:55 AM, Miguel Arroz wrote: Hi! I thought about it, but from what I understood, I would also have to touch the DB plugins to generate the correct SQL code, and it would

Re: Using NULLS FIRST/LAST on sort orderings

2009-01-06 Thread Miguel Arroz
Hi! Nop. Must be in the DB, it's too many data to handle in memory (the table that shows it is paged). Yours Miguel Arroz On 2009/01/06, at 17:26, James Cicenia wrote: I did mine in memory. Is that a possibility for you? If so, I can find/send you my comparator. On Jan 6, 2009,

Re: ERChangeNotificationJMS

2009-01-06 Thread Andrew Lindesay
Hello Jon; If you are going to use a messaging server, I would suggest that you use ActiveMQ; http://activemq.apache.org/ ...instead of OpenJMS. cheers. com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] org/exolab/core/util/URI

Re: Why is this happening?

2009-01-06 Thread Mersida Kurti
Ok, so I think I've figured out what the problem is NOT.  It does not seem to be the code, but rather then set up in CommuniGate Pro.  The glitch is that we have added another server to talk to cgp.  My question is: Does this server needs to be added somewhere in the interface in CGP, so that

Re: Why is this happening?

2009-01-06 Thread Pascal Robert
So you have a CGP server in front on another CGP server?? Ok, so I think I've figured out what the problem is NOT. It does not seem to be the code, but rather then set up in CommuniGate Pro. The glitch is that we have added another server to talk to cgp. My question is: Does this server

Re: ERChangeNotificationJMS

2009-01-06 Thread Dov Rosenberg
I would avoid using the JMS change sync stuff and move to the project wonder jgroups version. We just migrated away from the JMS stuff - it caused us a lot of hanging issues under load. OpenJMS is a dead project. Use ActiveMQ Dov Rosenberg On 1/6/09 2:18 PM, Andrew Lindesay

Re: searching for WebObjects info with google alerts?

2009-01-06 Thread Fabian Peters
Hi Ray, Did you try -inurl:webobjects? http://www.google.com/help/operators.html HTH, Fabian Am 01.01.2009 um 23:35 schrieb Ray Kiddy: Hey - I have had a google alert set up for a while to tell me WO stuff pops up on the net. It is surprising how difficult it is to get a search that

[OT] Java source licensing issue...

2009-01-06 Thread Stamenkovic Florijan
Hi all, Going way off topic here, but I know there are a few people here who know their way about licenses, so I figured I'd ask. I am working on making a java.util.List implementation that would have better overall performance (random index lookup, random index insertions / removals)

Re: Why is this happening?

2009-01-06 Thread Mersida Kurti
--- On Tue, 1/6/09, Mersida Kurti muc...@yahoo.com wrote: From: Mersida Kurti muc...@yahoo.com Subject: Re: Why is this happening? To: Pascal Robert prob...@macti.ca Date: Tuesday, January 6, 2009, 2:55 PM no, we have a machine where the java application that includes the cgprocli.jar. this

Re: ERChangeNotificationJMS

2009-01-06 Thread Jon Nolan
Andrew Lindesay wrote: If you are going to use a messaging server, I would suggest that you use ActiveMQ; http://activemq.apache.org/ ...instead of OpenJMS. Andrew, ActiveMQ is what I have at my disposal. What are the initial steps in using same? All I've done so far is simply add

Re: ERChangeNotificationJMS

2009-01-06 Thread Andrew Lindesay
Hello Jon; Thanks for the email. Sorry; it is a bit much for me to jot-out in an email and I use my own (very similar) change notification infrastructure rather than the system in PW. You need to include the following JAR files in the WOA for use with ActiveMQ;

Re: searching for WebObjects info with google alerts?

2009-01-06 Thread Kieran Kelleher
Try this search term: -inurl:WebObjects -phobos.apple.com -itunes.apple.com WebObjects On Jan 6, 2009, at 2:53 PM, Fabian Peters wrote: Hi Ray, Did you try -inurl:webobjects? http://www.google.com/help/operators.html HTH, Fabian Am 01.01.2009 um 23:35 schrieb Ray Kiddy: Hey

Re: Why is this happening?

2009-01-06 Thread Pascal Robert
In that case, it should not be a problem to talk to CGP... Are you sure the PWD service is running on port on the CGP server? This can be view by going to CGP'S admin interface - Settings - Services - PWD - Listener. The default is 106, but if you running CGP on a Tiger Server

[Solved] Re: Why is this happening?

2009-01-06 Thread Mersida Kurti
Hi, Thanks for all your help.  We resolved the problem.  Turns out we needed to add a filter for the new server to access the mail server.  Thanks again, Mersida --- On Tue, 1/6/09, Pascal Robert prob...@macti.ca wrote: From: Pascal Robert prob...@macti.ca Subject: Re: Why is this happening?

Re: Problem after Wonder and WO upgrade

2009-01-06 Thread Kevin Windham
On Jan 5, 2009, at 3:30 PM, james o'loughlin wrote: On 2008.12.31, at 9:19 PM, Kevin Windham wrote: I get this error: missing required library: '/Library/Frameworks/ ERJavaMail.framework/Resources/Java/activation-1.0.2.jar' I have in that path activation-1.1.1.jar instead of

Re: WebObjects jar frameworks and classpaths

2009-01-06 Thread Lachlan Deck
Hi John, On 07/01/2009, at 12:18 AM, John Pollard wrote: A bit off topic, but I am struggling to make sense of this. Simply put I want to understand why I can't put a couple of jars into a WO framework and have the code still work as it does when the same jars are in

Re: Not finding binding with $^ notation

2009-01-06 Thread Lachlan Deck
On 07/01/2009, at 3:06 AM, Sanford Selznick wrote: At 10:57 PM +1100 1/6/09, Lachlan Deck wrote: When I run my app I'm getting this error: takeValueForKey()]: attempt to assign value to unknown key: 'title'. This WOComponent does not have an instance variable of the name title or _title,

Re: Using NULLS FIRST/LAST on sort orderings

2009-01-06 Thread Lachlan Deck
On 07/01/2009, at 4:29 AM, Miguel Arroz wrote: Nop. Must be in the DB, it's too many data to handle in memory (the table that shows it is paged). This is not achievable apart from in-memory. SQL does not allow for this. Period. Your only choice is to not use NULL if you want to do this

Re: A relationship in a converted model now throws an exception on save

2009-01-06 Thread Kevin Windham
On Jan 6, 2009, at 5:31 PM, David Holt wrote: An application that I have converted from XCode to Eclipse is throwing an error when I save a new document EO. I went back in and looked at the old version of the model in the XCode app and the relationship is marked as to-one optional. The

Re: 'object' not getting initialized in D2WCustomComponent sub class

2009-01-06 Thread Kamal D Shah
Thanks Ramsey! valueForBinding did the trick. Kamal On 06-Jan-09, at 9:04 PM, Ramsey Lee Gurley wrote: The values for object and key should be getting passed to the component by your page. Making them public might get them to synchronize... If you just bind your string value to