[SOLVED] deploying across multiple app servers
Hi Clark - Thanks for the hint. I've solved both issues now but in a slightly different way: problem 1: i'm trying to use configuration file method for state discovery, and i want monitor to write out the file automatically. i need to pass wotaskd the property -WOSavesAdaptorConfiguration=true, so i modified the launchdaemon that starts wotaskd up. problem is that when you restart webobjects services in server admin it actually blats that launchdameon and writes an entirely new file out every time (hence losing my changes). So where should i be passing in that property ? I fixed this one by editing the Properties file inside the actual WOTaskd.woa (/System/Library/WebObjects/Applications/JavaApplications/WOTaskd.woa/Contents/Resources/Properties). problem 2: i put problem 1 aside for a second and manually created a config file instead. it's at /Library/WebObjects/Configuration/WOConfig.xml and i created it by cutting and pasting the contents from java monitor. i then added this to my httpd.conf file: WebObjectsConfig file://Library/WebObjects/Configuration/WOConfig.xml 10 restarted wotaskd, monitor and apache, but the httpd adaptor just ignores me. WOAdaptorInfo tells me it is getting it's config from localhost:1085/WebObjects/wotaskd.woa/wa/woconfig which is just returning the Adaptor Config as sent to Local WOAdaptors. now i guess that's the default behavior because the WOAdaptor is local, but i want it to use my config file instead. Any ideas what i'm doing wrong ? My mistake here was that I was defining the property in apache's httpd.conf rather than apache.conf. There's a bit of a red herring here though: I already define other properties like WebObjectsOptions, WebObjectsAdminUsername, WebObjectsAdminPassword in httpd.conf and they work fine. The adaptor just seemed to ignore my WebObjectsConfig property. What i figured is that all of these properties are defined in apache.conf (/System/Library/WebObjects/Adaptors/Apache/apache.conf), but all are commented out except WebObjectsConfig. apache.conf is loaded after httpd.conf, so what was happening was httpd.conf loads and sets it's properties, then apache.conf loads and overwrites my WebObjectsConfig property with the default setting. So i've now moved all of my settings for these properties into apache.conf and it all works great. Simon ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Fetching the data of a many-to many relationShip
Hello. I have the following: I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG TRANSLATIONSET. if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. so if I do. NSArray aux = wg.toTranslationSets(); the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related.. What am I missing here, this is the first time Im working with many-to-many rs. Thanks in advance Gustavo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: er.excel No Such Method Error exception
The merge-with-old-installation ant install (Wonder build.xml) phenomenon strikes again :-) To prevent this from burning you and it typically does when any Libraries/*.jar are replaced in repository with a new verison having a different filename. it can be a good idea to have a simple script that deletes *all* the currently installed Wonder frameworks before you run Wonder's install. That will ensure a clean installation in / Libraries/Frameworks On Jul 1, 2009, at 7:40 PM, Joe Little wrote: Good to hear. On Wed, Jul 1, 2009 at 4:35 PM, Johnny Millerjlmil...@kahalawai.com wrote: Thanks Joe. I saw the two jars but I wasn't sure if that was it or not. After erasing the older version it started working again. On Jul 1, 2009, at 1:15 PM, Joe Little wrote: I hit it two different ways. You are either missing POI from the classpath, or somehow you have two versions of the POI jars there. ExcelGenerator frameworks include POI, but if you update in place, you may now have two versions of that jar within your framework. Check that out. On Wed, Jul 1, 2009 at 2:11 PM, Johnny Millerjlmil...@kahalawai.com wrote: Hello, All of a sudden an excel spread sheet generation component stopped working for me. Here is the stack trace: Exception in thread WorkerThread0 com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodError] org.apache.poi.hssf.usermodel.HSSFRow.createCell(I)Lorg/apache/ poi/hssf/usermodel/HSSFCell;:java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFRow.createCell(I)Lorg/apache/ poi/hssf/usermodel/HSSFCell; at com .webobjects .foundation .NSForwardException ._runtimeExceptionForThrowable(NSForwardException.java:41) at com .webobjects .appserver._private.WOWorkerThread.run(WOWorkerThread.java:238) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.NoSuchMethodError: org.apache.poi.hssf.usermodel.HSSFRow.createCell(I)Lorg/apache/ poi/hssf/usermodel/HSSFCell; at er.excel.EGSimpleTableParser.parseTable(EGSimpleTableParser.java: 358) at er.excel.EGSimpleTableParser.parseNode(EGSimpleTableParser.java: 261) at er.excel.EGSimpleTableParser.parseNode(EGSimpleTableParser.java: 268) at er.excel.EGSimpleTableParser.parse(EGSimpleTableParser.java:246) at er.excel.EGSimpleTableParser.workbook(EGSimpleTableParser.java: 122) at er.excel.EGSimpleTableParser.data(EGSimpleTableParser.java:110) at er.excel.EGWrapper.appendToResponse(EGWrapper.java:95) at com .webobjects .appserver ._private .WOComponentReference.appendToResponse(WOComponentReference.java: 135) at com .webobjects .appserver ._private .WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126) at com .webobjects .appserver ._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136) at com .webobjects .appserver.WOComponent.appendToResponse(WOComponent.java:1122) at er .extensions .components.ERXComponent.appendToResponse(ERXComponent.java:107) at com .webobjects.appserver.WOSession.appendToResponse(WOSession.java: 1385) at er .extensions.appserver.ERXSession.appendToResponse(ERXSession.java: 540) at com .webobjects .appserver.WOApplication.appendToResponse(WOApplication.java:1794) at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedPage(WOComponentRequestHandler.java:242) at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedSession(WOComponentRequestHandler.java:298) at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedApplication(WOComponentRequestHandler.java: 332) at com .webobjects .appserver ._private .WOComponentRequestHandler ._handleRequest(WOComponentRequestHandler.java:369) at com .webobjects .appserver ._private .WOComponentRequestHandler .handleRequest(WOComponentRequestHandler.java:442) at com .webobjects .appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com .webobjects .appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) ... 1 more Has anyone experienced a similar problem? Thanks in advance, Johnny Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com This email sent to jmlit...@gmail.com Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Re: Fetching the data of a many-to many relationShip
On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote: Hello. I have the following: I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG TRANSLATIONSET. if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. If all the WGxTS table is doing is being a join table for a many-to- many relationship, then flattening it I believe is the right thing to do. so if I do. NSArray aux = wg.toTranslationSets(); If you don't do flattening, then you'd need something along the lines of: wg.toTranslationSets().valueForKey(TranslationSet) Dave the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related.. What am I missing here, this is the first time Im working with many- to-many rs. Thanks in advance Gustavo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Fetching the data of a many-to many relationShip
On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora webobje...@avendasora.com wrote: On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote: Hello. I have the following: I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG TRANSLATIONSET. if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. If all the WGxTS table is doing is being a join table for a many-to-many relationship, then flattening it I believe is the right thing to do. I see. so if I do. NSArray aux = wg.toTranslationSets(); If you don't do flattening, then you'd need something along the lines of: wg.toTranslationSets().valueForKey(TranslationSet) oops.. I guess I'll have to go back to the theory,... didn'gt get why the valueForKey .. I guess its becuase each WGxTS has the TranslationSet_KEY and WG_KEY so geting the values for those kesy will create the proper swl command and fetch the right data.. isn't it? Dave the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related.. What am I missing here, this is the first time Im working with many-to-many rs. Thanks in advance Gustavo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Fetching the data of a many-to many relationShip
On Jul 2, 2009, at 6:26 AM, Gustavo Pizano wrote: On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora webobje...@avendasora.com wrote: On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote: Hello. I have the following: I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG TRANSLATIONSET. if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. If all the WGxTS table is doing is being a join table for a many-to- many relationship, then flattening it I believe is the right thing to do. I see. so if I do. NSArray aux = wg.toTranslationSets(); If you don't do flattening, then you'd need something along the lines of: wg.toTranslationSets().valueForKey(TranslationSet) oops.. I guess I'll have to go back to the theory,... didn'gt get why the valueForKey .. I guess its becuase each WGxTS has the TranslationSet_KEY and WG_KEY so geting the values for those kesy will create the proper swl command and fetch the right data.. isn't it? RIght. If you aren't flattening, then when you call wg.toTranslationSets() all you are going to get are EOs that represent the join table (they are valid EOs, they just don't have much business meaning. Since the join table EOs will have to-one relationships to TranslationSet and WG, then you have to call the relationship to get the actual object you are looking for. So, the exact syntax would be NSArrayTranslationSet aux = wg.toTranslationSets().valueForKey(WGxTS.TranslationSet_KEY); Of course, if you turn flattening back on, it would simply be: NSArrayTranslationSet aux = wg.translationSets(); Much cleaner and easier to understand. Actually, if you don't turn flattening back on, I'd manually flatten it by writing cover methods for the relationships such as (on the WG entity): public NSArrayTranslationSet translationsSets() { NSArrayTranslationSet aux = wg.toTranslationSets().valueForKey(WGxTS.TranslationSet_KEY); } Dave Dave the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related.. What am I missing here, this is the first time Im working with many- to-many rs. Thanks in advance Gustavo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Fetching the data of a many-to many relationShip
AHA ok got it... I understood now. G On Thu, Jul 2, 2009 at 12:40 PM, David Avendasora webobje...@avendasora.com wrote: On Jul 2, 2009, at 6:26 AM, Gustavo Pizano wrote: On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora webobje...@avendasora.com wrote: On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote: Hello. I have the following: I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG TRANSLATIONSET. if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. If all the WGxTS table is doing is being a join table for a many-to-many relationship, then flattening it I believe is the right thing to do. I see. so if I do. NSArray aux = wg.toTranslationSets(); If you don't do flattening, then you'd need something along the lines of: wg.toTranslationSets().valueForKey(TranslationSet) oops.. I guess I'll have to go back to the theory,... didn'gt get why the valueForKey .. I guess its becuase each WGxTS has the TranslationSet_KEY and WG_KEY so geting the values for those kesy will create the proper swl command and fetch the right data.. isn't it? RIght. If you aren't flattening, then when you call wg.toTranslationSets() all you are going to get are EOs that represent the join table (they are valid EOs, they just don't have much business meaning. Since the join table EOs will have to-one relationships to TranslationSet and WG, then you have to call the relationship to get the actual object you are looking for. So, the exact syntax would be NSArrayTranslationSet aux = wg.toTranslationSets().valueForKey(WGxTS.TranslationSet_KEY); Of course, if you turn flattening back on, it would simply be: NSArrayTranslationSet aux = wg.translationSets(); Much cleaner and easier to understand. Actually, if you don't turn flattening back on, I'd manually flatten it by writing cover methods for the relationships such as (on the WG entity): public NSArrayTranslationSet translationsSets() { NSArrayTranslationSet aux = wg.toTranslationSets().valueForKey(WGxTS.TranslationSet_KEY); } Dave Dave the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related.. What am I missing here, this is the first time Im working with many-to-many rs. Thanks in advance Gustavo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
UTF-16 no BOM and Eclipse
Look like Eclipse always add the BOM to UTF-16 files? I switched a Localizable.strings from UTF-8 to UTF-16 in BBEdit, and I specified no BOM (UTF-16, No BOM). Now, WOResourceManager.stringForKey() finds the value for the key and everything is good. BUT when Eclipse told me that the file was changed on the filesystem (because of my editing in BBEdit) and I said Refresh, Eclipse add a BOM to the file and WOResourceManager cannot find the string... Anyone with a workaround to tell Eclipse to NOT add the BOM for UTF-16 file? This is Eclipse 3.3 (yes, I know)/WO 5.3.3. --- Pascal Robert http://www.macti.ca | http://www.linkedin.com/in/macti Skype | Twitter | AIM/iChat : MacTICanada ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Non-web apps
Moving this thread to webobjects-dev as I think it has broader scope than just Wonder. I want to create a program that is packaged as a webobjects application , i.e. MyAgent.woa but currently it doesn't process http requests. It's main thread just checks for work to do in the database and then does it. I'm currently not subclassing WOApplication. I have my own MPVAgent class which subclasses Object. But I can already see how I could benefit if have it subclass WOApplication (or ERXApplication) instead of my MPVAgent class. However, in order to do so, I need to know what method to subclass to setup my thread that does the main work I described. Has anybody done something like this? Any advise? I have lots of these so called agents. On Jul 2, 2009, at 9:00 AM, Ricardo J. Parada wrote: Just unfamiliarity with how to subclass it correctly to make it do exactly what I want it to do. On Jul 2, 2009, at 5:57 AM, David Avendasora wrote: I'm unclear as to why your would not extend ERXApplication in your back end apps, even if they aren't web apps. What are you trying to avoid? Having them respond to outside requests? Dave On Jul 1, 2009, at 11:01 PM, Ricardo J. Parada wrote: I have back end processes that are not web apps. I call them agents. They are packaged like a web app, i.e. MyAgent.woa but the main class does not extend ERXApplication or WOApplication. In fact it extends a class called Agent that has Object as its super class. It has a static method and I currently call ERXApplication.setup(argv). That goes through the same intialization as a Wonder app which is something I desire. :-) But then I noticed that ERXProperties does not load the Properties files from my frameworks. Then inspecting ERXProperties source I noticed that the pathsForUserAndBundleProperties() method returns an empty array because it does not see a WOApplication : public static NSArray pathsForUserAndBundleProperties(boolean reportLoggingEnabled) { NSMutableArray propertiesPaths = new NSMutableArray(); NSMutableArray projectsInfo = new NSMutableArray(); String projectPath, aPropertiesPath; WOApplication application = WOApplication.application(); if (application == null) { log.warn(The application is not yet initialized. Returning an empty array.); return NSArray.EmptyArray; } ... } Am I out of luck? Should I have MyAgent subclass ERXApplication and just override the run method? Any ideas? Am I the only one who has back end apps that are not web apps? :-) Thanks Ricardo -- ___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERXRssPage
Hey , I want to use RSS Feeds on my WO-Side. I found ERXRssPage and question and answer from Amedeo Mantica and Neil MacLennan. But the explanations there, where a little to brief for me. Does anybody have examples for me. Thanks Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERXRssPage
Hello, I got some problem, lack of docs, but is very simple create an empty component with just ERXRssPage (no body, no head) wo:ERXRssPage feedUrl=http://www.myfeed.org; feedDescription=DESCRIPTION feedTitle=FEED TITLE list=$yourArray item=$anItem itemTitle=$KeyToItemTitle itemContent=$anArticle.testoBreve itemPubDate=$anArticle.articleDate itemLink=$anItem.Link pbwo:string value = $anItem.text//b/p ANY CONTENT YOU LIKE /wo:ERXRssPage Is really simple put in your .java the method for retreiving the list and the itering variable Regards Amedeo On 02/lug/09, at 16:08, Frank Gibau wrote: Hey , I want to use RSS Feeds on my WO-Side. I found ERXRssPage and question and answer from Amedeo Mantica and Neil MacLennan. But the explanations there, where a little to brief for me. Does anybody have examples for me. Thanks Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it This email sent to amedeomail...@insigno.it ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WebObjects, Java and CalDAV, getting in trouble
Hello Pascal, I put log4j.logger.httpclient.wire.header=DEBUG log4j.logger.httpclient.wire.content=DEBUG but I get same output. I don't know what is going bad, other loggings are working ( ER, EOAdaptor ) Amedeo On 01/lug/09, at 12:53, Pascal Robert wrote: Look like your log4j log level is not set to DEBUG, try changing them to : log4j.logger.httpclient.wire.header=DEBUG log4j.logger.httpclient.wire.content=DEBUG With those settings, you will be able to see what's your app is sending and receiving. I see just these Jun 30, 2009 3:16:12 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:12 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:13 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested size= 1 collectionID= /calendars/__uids__/CFFB9113-FE25-4B47- B022-9C5CA62674DB/calendar/ Jun 30, 2009 3:16:16 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:16 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested collectionLenght= null Jun 30, 2009 3:16:16 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme INFO: Digest authentication scheme selected Jun 30, 2009 3:16:16 PM org.apache.commons.httpclient.auth.DigestScheme createDigest WARNING: Unhandled algorithm md5 requested On 30/giu/09, at 12:53, Pascal Robert wrote: What's the output of the DAV connection is throwing out? By default, the log4j level is DEBUG so you should see the traffic between iCal and your WO app. Hello all, I'm tryng to do a simple parsing test on a CalDav calendar... This is my example code just used for testing in red the console output Anyone have suggestions? Many Thanks Amedeo public void parse() throws Exception { Protocol myHTTPS = new Protocol( http, new DefaultProtocolSocketFactory(), 80 ); CalDavCalendarStore store = new CalDavCalendarStore(MacTI,calendar.confindustria.chieti.it, 8008,myHTTPS,PathResolver.ICAL_SERVER); store.connect(amedeomantica,password.toCharArray()); ArrayList myList = store.getCollections(); System.out.println( size= + myList.size()); --- Actually outputs: size= 1 CalDavCalendarCollection collection = (CalDavCalendarCollection) myList.get(0); -- Size is 1 so I manually put 0 just for testing System.out.println( collectionID= + collection.getId() ); Actually outputs: size= 1 System.out.println( collectionLenght= + collection.getEvents()); Actually outputs: collectionID= / calendars/__uids__/CFFB9113-FE25-4B47-B022-9C5CA62674DB/calendar/ and is CORRECT Calendar[] calendars = collection.getEvents(); System.out.println( count= + new NSArray(calendars).count()); Actually outputs 0, this is not TRUE, should be 2 if (calendars != null) { for (int iter = 0; iter calendars.length; iter++) { // Display the start time of the event System.out.println(iter); System .out .println (calendars [iter].getComponent(VEVENT).getProperty(Property.DTSTART)); } } } On 27/mar/09, at 16:54, Pascal Robert wrote: I'm playing with iCal4j-connector, and it works ok. It won't find the calendar-home-set from the principals, but I was able to find the events stored in my CalendarServer installation with the following code : import net.fortuna.ical4j.connector.ObjectNotFoundException; import net.fortuna.ical4j.connector.ObjectStoreException; import net.fortuna.ical4j.connector.dav.CalDavCalendarCollection; import net.fortuna.ical4j.connector.dav.CalDavCalendarStore; import net.fortuna.ical4j.model.Calendar; import net.fortuna.ical4j.model.Property; import org.apache.commons.httpclient.protocol.Protocol; import org .apache.commons.httpclient.protocol.DefaultProtocolSocketFactory; Protocol myHTTPS =
Re: Non-web apps
Hi, i do this starting a new Thread in the Application class. public Application() { super(); ... FOTimedMailer.startMailTimer(FOTimedMailer.NEXT); } public class FOTimedMailer extends TimerTask { ... public static void startMailTimer(int modus) { long nextStartAt = 0; FOTimedMailer mailer = new FOTimedMailer(); Timer aTimer = new Timer(); aTimer.schedule(mailer, nextStartAt); } @Override public void run() { // do my stuff ... if (hasMoreMail) { // Start in short period FOTimedMailer.startMailTimer(FOTimedMailer.NEXT); } else { // Sleep a while FOTimedMailer.startMailTimer(FOTimedMailer.SLEEP); } } } Stefan Ricardo J. Parada schrieb: Moving this thread to webobjects-dev as I think it has broader scope than just Wonder. I want to create a program that is packaged as a webobjects application , i.e. MyAgent.woa but currently it doesn't process http requests. It's main thread just checks for work to do in the database and then does it. I'm currently not subclassing WOApplication. I have my own MPVAgent class which subclasses Object. But I can already see how I could benefit if have it subclass WOApplication (or ERXApplication) instead of my MPVAgent class. However, in order to do so, I need to know what method to subclass to setup my thread that does the main work I described. Has anybody done something like this? Any advise? I have lots of these so called agents. On Jul 2, 2009, at 9:00 AM, Ricardo J. Parada wrote: Just unfamiliarity with how to subclass it correctly to make it do exactly what I want it to do. On Jul 2, 2009, at 5:57 AM, David Avendasora wrote: I'm unclear as to why your would not extend ERXApplication in your back end apps, even if they aren't web apps. What are you trying to avoid? Having them respond to outside requests? Dave On Jul 1, 2009, at 11:01 PM, Ricardo J. Parada wrote: I have back end processes that are not web apps. I call them agents. They are packaged like a web app, i.e. MyAgent.woa but the main class does not extend ERXApplication or WOApplication. In fact it extends a class called Agent that has Object as its super class. It has a static method and I currently call ERXApplication.setup(argv). That goes through the same intialization as a Wonder app which is something I desire. :-) But then I noticed that ERXProperties does not load the Properties files from my frameworks. Then inspecting ERXProperties source I noticed that the pathsForUserAndBundleProperties() method returns an empty array because it does not see a WOApplication : public static NSArray pathsForUserAndBundleProperties(boolean reportLoggingEnabled) { NSMutableArray propertiesPaths = new NSMutableArray(); NSMutableArray projectsInfo = new NSMutableArray(); String projectPath, aPropertiesPath; WOApplication application = WOApplication.application(); if (application == null) { log.warn(The application is not yet initialized. Returning an empty array.); return NSArray.EmptyArray; } ... } Am I out of luck? Should I have MyAgent subclass ERXApplication and just override the run method? Any ideas? Am I the only one who has back end apps that are not web apps? :-) Thanks Ricardo -- ___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net mailto:wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de This email sent to stefan.kl...@buero-sde.de ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
Where do you get the 64bit version. My understanding is that the default download package for cocoa is 32bit and I was unable to find a 64 bit download. Thanks, Frank On Jun 29, 2009, at 8:22 PM, Kieran Kelleher wrote: Hola Ricardo, :-) If you are on intel, try 64-bit version. Regards, Kieran On Jun 29, 2009, at 5:29 PM, Ricardo J. Parada wrote: I was excited to try Eclipse 3.5, the Cocoa 32-bit version... At first it seemed faster but then after half an hour it got really slow. So slow that every keystroke would take between 10 secs to a couple of minutes to appear. I don't see this on the 3.4 version. The 3.4 does run out of memory and crashes but it doesn't get as slow as the 3.5 version. I do have a lot of projects in my workspace and only 2GB memory on my macbook pro (the first model that came out). Anyways, I had to go back to the 3.4 version. Haver other found 3.5 Cocoa 32-bit to be this slow? Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com This email sent to frank.co...@f2technology.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php Dave On Jul 2, 2009, at 11:23 AM, Mr. Frank Cobia wrote: Where do you get the 64bit version. My understanding is that the default download package for cocoa is 32bit and I was unable to find a 64 bit download. Thanks, Frank On Jun 29, 2009, at 8:22 PM, Kieran Kelleher wrote: Hola Ricardo, :-) If you are on intel, try 64-bit version. Regards, Kieran On Jun 29, 2009, at 5:29 PM, Ricardo J. Parada wrote: I was excited to try Eclipse 3.5, the Cocoa 32-bit version... At first it seemed faster but then after half an hour it got really slow. So slow that every keystroke would take between 10 secs to a couple of minutes to appear. I don't see this on the 3.4 version. The 3.4 does run out of memory and crashes but it doesn't get as slow as the 3.5 version. I do have a lot of projects in my workspace and only 2GB memory on my macbook pro (the first model that came out). Anyways, I had to go back to the 3.4 version. Haver other found 3.5 Cocoa 32-bit to be this slow? Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com This email sent to frank.co...@f2technology.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERXRssPage
sorry, anArticle is in my page anItem.date a key to the publication date the java class just extends WOComponent you shoud just create a new WOComponent delete anything in the html and put in wo:ERXRssPage if you don't want use inline bindings you can do webobject name = myRss your stuff per item /webobject and in wod myRss: ERXRssPage { list = item = xxx etc etc } On 02/lug/09, at 17:50, Frank Gibau wrote: Hello Amedeo, thank you for your fast answer. At least I tried it. the Syntax: wo:ERXRssPage... is new to me, I am using webobject name = TextField7 /. I think I translated it right to my Syntax. I have Questions: itemPubDate=$anArticle.articleDate; 1. What is $anArticle.articleDate ist that something I have to declare in my .java-Class. 2 does the java-Class extends WOComponent or extensions.ERXRssPage. Stupid Questions, I am sorry. Thank you Frank Am 02.07.2009 um 16:22 schrieb Amedeo Mantica: Hello, I got some problem, lack of docs, but is very simple create an empty component with just ERXRssPage (no body, no head) wo:ERXRssPage feedUrl=http://www.myfeed.org; feedDescription=DESCRIPTION feedTitle=FEED TITLE list=$yourArray item=$anItem itemTitle=$KeyToItemTitle itemContent=$anArticle.testoBreve itemPubDate=$anArticle.articleDate itemLink=$anItem.Link pbwo:string value = $anItem.text//b/p ANY CONTENT YOU LIKE /wo:ERXRssPage Is really simple put in your .java the method for retreiving the list and the itering variable Regards Amedeo On 02/lug/09, at 16:08, Frank Gibau wrote: Hey , I want to use RSS Feeds on my WO-Side. I found ERXRssPage and question and answer from Amedeo Mantica and Neil MacLennan. But the explanations there, where a little to brief for me. Does anybody have examples for me. Thanks Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/amedeomailing%40insigno.it This email sent to amedeomail...@insigno.it ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JavaXML.framework replacement
JavaXML is a convenience so that you can deploy easily. there is no specific WO code in there and it can easily be replaced by its components. Be careful about Axis, WO 5.2.x works with Axis 1.0, WO 5.3.x with Axis 1.1 and WO 5.4.x with Axis 1.4. Any other combination is known NOT to work without serious hacking. Cheers Pierre -- Pierre Frisch pie...@apple.com On Jul 1, 2009, at 5:52, Dov Rosenberg wrote: We ended up doing exactly that. If you deploy your apps as a servlet the JavaXML framework is not even loaded by the servlet container because it contains servlet classes like HTTPRequest. The J2EE spec that any jar that contains those classes will be ignored by the classloader. Which means all of the other things that you thought you were using were also not being loaded from that jar. Dov On 7/1/09 8:48 AM, David Avendasora webobje...@avendasora.com wrote: Hi all, I am trying to figure out the best way to replace any jars required by projects that in the past were provided by the JavaXML.framework. Should I simply download the latest versions of the needed jars from their original sources and put them in my Libraries directory? While I'm sure Maven would be a possible solution for this, right now I'm looking for the non-maven (Fluffy Bunny Layout) solution. Thanks! Dave ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/drosenberg%40inquira.com This email sent to drosenb...@inquira.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/pierre%40apple.com This email sent to pie...@apple.com smime.p7s Description: S/MIME cryptographic signature ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Dynamically adding columns to tables with WORepetition
Hello, I am trying to puzzle out how to do something and am hoping that the members of this list can help. I have a list of keywords (with check boxes beside them) that I want to display in columns on a screen. That list of key words can be anywhere from 5 - 45 words. I would like there to be no more then 10 words in a column. Once there are ten words in a column then I would like to add a new column beside the first and add new columns (of 10 keywords) until all of the keywords are displayed on the screen. I have an idea that his could be done by creating a table then using WORepetitions and conditionals to control the display of columns. The thing is I am not sure if this is really possible. Can anyone suggested a better approach or whether they think I'm on the right track? Regards, Jeff ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: UTF-16 no BOM and Eclipse
Look like it has to be UTF-16LE (UTF-16 Little Endian). Look like Eclipse always add the BOM to UTF-16 files? I switched a Localizable.strings from UTF-8 to UTF-16 in BBEdit, and I specified no BOM (UTF-16, No BOM). Now, WOResourceManager.stringForKey() finds the value for the key and everything is good. BUT when Eclipse told me that the file was changed on the filesystem (because of my editing in BBEdit) and I said Refresh, Eclipse add a BOM to the file and WOResourceManager cannot find the string... Anyone with a workaround to tell Eclipse to NOT add the BOM for UTF-16 file? This is Eclipse 3.3 (yes, I know)/WO 5.3.3. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
Hello, 1) Does anyone know why eclipse crashes if you try to open a .wo file from a Related or Search view. Am I missing something from WOLips? Here is my installation, WOLips3.4.5840 WOLips Base 3.4.5840 WOLips Goodies Mac3.4.5840 WOLips Third Party Feature3.4.5840 2) Has anyone found that you have to keep removing and re-installing the webobjects frameworks in a WOLips project every time you re-boot Mac OSX! 3) Are the frequent crashes when using the editor due to Eclipse Galileo or WOLips? 4) Is it time to switch to Windows or go back to XCode Tiger WO 5.3! I will keep trying, André On 2-Jul-09, at 11:31 AM, David Avendasora wrote: http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php Dave On Jul 2, 2009, at 11:23 AM, Mr. Frank Cobia wrote: Where do you get the 64bit version. My understanding is that the default download package for cocoa is 32bit and I was unable to find a 64 bit download. Thanks, Frank On Jun 29, 2009, at 8:22 PM, Kieran Kelleher wrote: Hola Ricardo, :-) If you are on intel, try 64-bit version. Regards, Kieran On Jun 29, 2009, at 5:29 PM, Ricardo J. Parada wrote: I was excited to try Eclipse 3.5, the Cocoa 32-bit version... At first it seemed faster but then after half an hour it got really slow. So slow that every keystroke would take between 10 secs to a couple of minutes to appear. I don't see this on the 3.4 version. The 3.4 does run out of memory and crashes but it doesn't get as slow as the 3.5 version. I do have a lot of projects in my workspace and only 2GB memory on my macbook pro (the first model that came out). Anyways, I had to go back to the 3.4 version. Haver other found 3.5 Cocoa 32-bit to be this slow? Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com This email sent to frank.co...@f2technology.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/andre%40geometria.net This email sent to an...@geometria.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
1) Does anyone know why eclipse crashes if you try to open a .wo file from a Related or Search view. Am I missing something from WOLips? Here is my installation, crash does the eclipse process die? do you get an exception? what exception? what is the error message? what version of eclipse are you using? 2) Has anyone found that you have to keep removing and re-installing the webobjects frameworks in a WOLips project every time you re-boot Mac OSX! i've never had to ever do this, i don't know what you mean. what problem are you trying to solve? 3) Are the frequent crashes when using the editor due to Eclipse Galileo or WOLips? what crashes? errors? what error messages? is there a stack trace? if you're trying to use Galileo (3.5) with wolips 3.4, it's not going to work, you have to use the 3.5 build of wolips. the version number of wolips should match the version number of eclipse. 4) Is it time to switch to Windows or go back to XCode Tiger WO 5.3! i ... guess you could do that. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
Thanks I downloaded the Eclipse SDK which seems to work. At first it would not do code completion, but I just had to go into the preferences and turn on Java code completion which was turned off for some reason. I am having one more problem. The ant build scripts are taking forever to run. I have added dependencies to the ant scripts so that they build jars, and frameworks that they depend on before building the application. The builds are now taking almost 6 minutes where they took about 1 minute or less before. The problem seems to be that it is recompiling code that has not changed where the old one only compiled the files if they had changed. Has anyone seen this or know what I can do to fix it? Thanks, Frank On Jul 2, 2009, at 11:31 AM, David Avendasora wrote: http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php Dave On Jul 2, 2009, at 11:23 AM, Mr. Frank Cobia wrote: Where do you get the 64bit version. My understanding is that the default download package for cocoa is 32bit and I was unable to find a 64 bit download. Thanks, Frank On Jun 29, 2009, at 8:22 PM, Kieran Kelleher wrote: Hola Ricardo, :-) If you are on intel, try 64-bit version. Regards, Kieran On Jun 29, 2009, at 5:29 PM, Ricardo J. Parada wrote: I was excited to try Eclipse 3.5, the Cocoa 32-bit version... At first it seemed faster but then after half an hour it got really slow. So slow that every keystroke would take between 10 secs to a couple of minutes to appear. I don't see this on the 3.4 version. The 3.4 does run out of memory and crashes but it doesn't get as slow as the 3.5 version. I do have a lot of projects in my workspace and only 2GB memory on my macbook pro (the first model that came out). Anyways, I had to go back to the 3.4 version. Haver other found 3.5 Cocoa 32-bit to be this slow? Thanks, Ricardo ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com This email sent to frank.co...@f2technology.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com This email sent to webobje...@avendasora.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
So, it must be a version issue because my WOLips version is 3.4.5840 and the eclipse version is 3.5; but I got WOLips from http://webobjects.mdimension.com/wolips/eclipse_3_5/ . So where is WOLips 3.5? Thanks, André On 2-Jul-09, at 2:59 PM, Mike Schrag wrote: 1) Does anyone know why eclipse crashes if you try to open a .wo file from a Related or Search view. Am I missing something from WOLips? Here is my installation, crash does the eclipse process die? do you get an exception? what exception? what is the error message? what version of eclipse are you using? 2) Has anyone found that you have to keep removing and re- installing the webobjects frameworks in a WOLips project every time you re-boot Mac OSX! i've never had to ever do this, i don't know what you mean. what problem are you trying to solve? 3) Are the frequent crashes when using the editor due to Eclipse Galileo or WOLips? what crashes? errors? what error messages? is there a stack trace? if you're trying to use Galileo (3.5) with wolips 3.4, it's not going to work, you have to use the 3.5 build of wolips. the version number of wolips should match the version number of eclipse. 4) Is it time to switch to Windows or go back to XCode Tiger WO 5.3! i ... guess you could do that. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/andre%40geometria.net This email sent to an...@geometria.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Completely OT: question for US ADC members
Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships. I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. Unfortunately, pricing in the ADC store is only visible to those who already have hardware discount assets. So... Could someone living in the US please go to ADC Hardware Purchase Program Store and tell me the price on the 24-inch, 3.06 GHz iMac? Please email me so we don't flood the list with this. Thanks much! janine --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Completely OT: question for US ADC members
Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go to: http://developer.apple.com/membership/usa.html ... and click on the link in step #1 of Ordering Information. Regards, Mark On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote: Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships. I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. Unfortunately, pricing in the ADC store is only visible to those who already have hardware discount assets. So... Could someone living in the US please go to ADC Hardware Purchase Program Store and tell me the price on the 24-inch, 3.06 GHz iMac? Please email me so we don't flood the list with this. Thanks much! janine --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dynamically adding columns to tables with WORepetition
Try using a WOTable component and calculate the maxColumns binding from the number of items. You may also have to transpose the matrix of elements since WOTable renders row by row. On Jul 2, 2009, at 1:48 PM, Jeff Dunnett wrote: Hello, I am trying to puzzle out how to do something and am hoping that the members of this list can help. I have a list of keywords (with check boxes beside them) that I want to display in columns on a screen. That list of key words can be anywhere from 5 - 45 words. I would like there to be no more then 10 words in a column. Once there are ten words in a column then I would like to add a new column beside the first and add new columns (of 10 keywords) until all of the keywords are displayed on the screen. I have an idea that his could be done by creating a table then using WORepetitions and conditionals to control the display of columns. The thing is I am not sure if this is really possible. Can anyone suggested a better approach or whether they think I'm on the right track? Regards, Jeff ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com This email sent to kieran_li...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Dynamically adding columns to tables with WORepetition
On Jul 2, 2009, at 10:48 AM, Jeff Dunnett wrote: Hello, I am trying to puzzle out how to do something and am hoping that the members of this list can help. I have a list of keywords (with check boxes beside them) that I want to display in columns on a screen. That list of key words can be anywhere from 5 - 45 words. I would like there to be no more then 10 words in a column. Once there are ten words in a column then I would like to add a new column beside the first and add new columns (of 10 keywords) until all of the keywords are displayed on the screen. I have an idea that his could be done by creating a table then using WORepetitions and conditionals to control the display of columns. The thing is I am not sure if this is really possible. Can anyone suggested a better approach or whether they think I'm on the right track? Regards, Jeff This source for this might help. http://developer.apple.com/documentation/MacOSXServer/Reference/WO54_Reference/com/webobjects/woextensions/WOTable.html Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Completely OT: question for US ADC members
Wow - I swear the last time I tried that, it told me I had to have a paid membership to see it. Thanks! janine On Jul 2, 2009, at 12:40 PM, Mark Morris wrote: Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go to: http://developer.apple.com/membership/usa.html ... and click on the link in step #1 of Ordering Information. Regards, Mark On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote: Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships. I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. Unfortunately, pricing in the ADC store is only visible to those who already have hardware discount assets. So... Could someone living in the US please go to ADC Hardware Purchase Program Store and tell me the price on the 24-inch, 3.06 GHz iMac? Please email me so we don't flood the list with this. Thanks much! janine --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.com --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Completely OT: question for US ADC members
Le 09-07-02 à 15:51, Janine Sisk a écrit : Wow - I swear the last time I tried that, it told me I had to have a paid membership to see it. Thanks! I think the Premier store ask right away for membership info, but not for Select. At least that was the case for the Canadian ADC Select store. janine On Jul 2, 2009, at 12:40 PM, Mark Morris wrote: Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go to: http://developer.apple.com/membership/usa.html ... and click on the link in step #1 of Ordering Information. Regards, Mark On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote: Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships. I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. Unfortunately, pricing in the ADC store is only visible to those who already have hardware discount assets. So... Could someone living in the US please go to ADC Hardware Purchase Program Store and tell me the price on the 24-inch, 3.06 GHz iMac? Please email me so we don't flood the list with this. Thanks much! janine --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.com --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca --- Pascal Robert http://www.macti.ca | http://www.linkedin.com/in/macti Skype | Twitter | AIM/iChat : MacTICanada ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Relative URLs for Forms
I have an application using a version of wonder from last week and using the 5.4 version of webobjects. All the forms in the app are generating full URLs instead of relative URLs. This is causing me a problem because (at lest for the moment) the machine is accessible from the Internet and through VPN using different names, but the app always generates URLs with the VPN name and so someone accessing it from the Internet is not able to use the app. Also if it makes a difference, I am accessing the app through https. Is there a way to force the form to generate relative URLs for form submission? I have tried the following, but it does not seem to work: @Override public WOContext createContextForRequest(WORequest request) { ERXWOContext context = (ERXWOContext)super.createContextForRequest (request); context._generateRelativeURLs(); return context; } Thanks, Frank ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
On 2-Jul-09, at 12:35 PM, André Mitra wrote: So, it must be a version issue because my WOLips version is 3.4.5840 and the eclipse version is 3.5; but I got WOLips from http://webobjects.mdimension.com/wolips/eclipse_3_5/. So where is WOLips 3.5? You have the right version of WOLips. The current version is numbered 3.4.5840 for Galileo David Thanks, André On 2-Jul-09, at 2:59 PM, Mike Schrag wrote: 1) Does anyone know why eclipse crashes if you try to open a .wo file from a Related or Search view. Am I missing something from WOLips? Here is my installation, crash does the eclipse process die? do you get an exception? what exception? what is the error message? what version of eclipse are you using? 2) Has anyone found that you have to keep removing and re- installing the webobjects frameworks in a WOLips project every time you re-boot Mac OSX! i've never had to ever do this, i don't know what you mean. what problem are you trying to solve? 3) Are the frequent crashes when using the editor due to Eclipse Galileo or WOLips? what crashes? errors? what error messages? is there a stack trace? if you're trying to use Galileo (3.5) with wolips 3.4, it's not going to work, you have to use the 3.5 build of wolips. the version number of wolips should match the version number of eclipse. 4) Is it time to switch to Windows or go back to XCode Tiger WO 5.3! i ... guess you could do that. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/andre% 40geometria.net This email sent to an...@geometria.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/programmingosx %40mac.com This email sent to programming...@mac.com ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Completely OT: question for US ADC members
I've had that bookmarked for years, but I remember that I wasn't successful at bookmarking a working link to the ADC Store itself. (I don't know if the link changes, or if a cookie is set, and I didn't investigate further.) Maybe that's what you ran into? Regards, Mark On Jul 2, 2009, at 2:51 PM, Janine Sisk wrote: Wow - I swear the last time I tried that, it told me I had to have a paid membership to see it. Thanks! janine On Jul 2, 2009, at 12:40 PM, Mark Morris wrote: Hi Janine, Anyone can view ADC pricing, they just make the link hard to find. Go to: http://developer.apple.com/membership/usa.html ... and click on the link in step #1 of Ordering Information. Regards, Mark On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote: Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships. I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. Unfortunately, pricing in the ADC store is only visible to those who already have hardware discount assets. So... Could someone living in the US please go to ADC Hardware Purchase Program Store and tell me the price on the 24-inch, 3.06 GHz iMac? Please email me so we don't flood the list with this. Thanks much! janine --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/markm%40onpointsoftware.com This email sent to ma...@onpointsoftware.com --- Janine Sisk President/CEO of furfly, LLC 503-693-6407 ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
So, it must be a version issue because my WOLips version is 3.4.5840 and the eclipse version is 3.5; but I got WOLips from http://webobjects.mdimension.com/wolips/eclipse_3_5/ . So where is WOLips 3.5? You have the right version of WOLips. The current version is numbered 3.4.5840 for Galileo whoops .. yeah .. must not have bumped the version # when i branched ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
So, it must be a version issue because my WOLips version is 3.4.5840 and the eclipse version is 3.5; but I got WOLips from http://webobjects.mdimension.com/wolips/eclipse_3_5/ . So where is WOLips 3.5? You have the right version of WOLips. The current version is numbered 3.4.5840 for Galileo whoops .. yeah .. must not have bumped the version # when i branched by the way, 3.5 is not recommended for anyone for production use ... at the moment it's more nightly than even nightly is, though it will be moving to the real nightly probably tonight. even as nightly, though, buyer beware. if you don't know what you're doing, you should use 3.4 and stable. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
Thanks Mike, I will take that advice... André On 2-Jul-09, at 4:53 PM, Mike Schrag wrote: So, it must be a version issue because my WOLips version is 3.4.5840 and the eclipse version is 3.5; but I got WOLips from http://webobjects.mdimension.com/wolips/eclipse_3_5/ . So where is WOLips 3.5? You have the right version of WOLips. The current version is numbered 3.4.5840 for Galileo whoops .. yeah .. must not have bumped the version # when i branched by the way, 3.5 is not recommended for anyone for production use ... at the moment it's more nightly than even nightly is, though it will be moving to the real nightly probably tonight. even as nightly, though, buyer beware. if you don't know what you're doing, you should use 3.4 and stable. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/andre%40geometria.net This email sent to an...@geometria.net ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Eclipse 3.5 slow?
I find that if I highlight a number of files and F3 it's a disaster... the game's pretty much over :-/ No idea yet what the cause is. On 03/07/2009, at 4:59 AM, Mike Schrag wrote: 1) Does anyone know why eclipse crashes if you try to open a .wo file from a Related or Search view. Am I missing something from WOLips? Here is my installation, crash does the eclipse process die? do you get an exception? what exception? what is the error message? what version of eclipse are you using? 2) Has anyone found that you have to keep removing and re- installing the webobjects frameworks in a WOLips project every time you re-boot Mac OSX! i've never had to ever do this, i don't know what you mean. what problem are you trying to solve? 3) Are the frequent crashes when using the editor due to Eclipse Galileo or WOLips? what crashes? errors? what error messages? is there a stack trace? if you're trying to use Galileo (3.5) with wolips 3.4, it's not going to work, you have to use the 3.5 build of wolips. the version number of wolips should match the version number of eclipse. 4) Is it time to switch to Windows or go back to XCode Tiger WO 5.3! i ... guess you could do that. ms ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.com 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com