Escaping in strings according to WOML
I am trying to get an anchor to a specific part of a webpage. My attempt so far: a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ which results in an error message that the '' and the '' must be escaped. I understood that the whole idea of this [@ @] syntax was that it should be escaped automatically? Any suggestions? (using latest wonder/WOOGNL, WO5.4 Eclipse 3.5, 10.5.7 java 4 update) Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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: Escaping in strings according to WOML
Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz ___ 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
Browser cant display Central European Characters UTF-8
Hello. I have some components and they have some UTF-8 characters, I set up my workspace to UTF-8 also the text file encoding of the project as UTF-8, when I edit the html I can place the words and I can see those characters, but when I run the application safari just shows an ? on those characters.. what should I do to avoid this behavior ? Gustavo Forgot to mention that in the html file in the met tag I have content = text/html; charset=utf-8/ ___ 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: Escaping in strings according to WOML
On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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: EOF in Java Application
Chuck, The second method you mentioned worked very well. Thanks, Darich -Original Message- From: Chuck Hill To: Darich Runyan Cc: WebObjects-Dev Mailing List List Sent: 6/16/2009 2:21 PM Subject: Re: EOF in Java Application Hi Darich, On Jun 16, 2009, at 10:42 AM, Darich Runyan wrote: Dave, I had a legacy swing based Java application that was using a home- spun data access layer. The powers that be decided they wanted to quickly move to a web application. I did not/still do not have the time to re-write the entire app because it is huge so my team wrote a flash front end quickly and interfaced that with a bunch of the legacy objects and methods that had been wrapped up and deployed within Tomcat (I realize it is not the best method but money and time were short). We are still using the home spun ORM. I want to move to a better ORM and I had worked with WO on a couple of projects in the past and remember the power of EOF so I suggested to my lead developer to look into it. He created a model and reworked some of our code to use the EOF Java Objects but it is not working. I am pretty sure that it has something to do with loading the model, which brings up your second question. Yes, I think it can't find the model. Yes, you can do what you want. There was an example somewhere called, I think, JavaTool. /System/Library/WebObjects/JavaApplications/ javaeoutil.woa on your hard drive is another example that this is possible. There are two approaches to this: the easy way and the hard fight the tool way. The easy way is to package your app as a .woa bundle with the models in App.woa/Contents/Resources and the working directory at launch of App.woa. This structure is what allows all the automatic loading behavior you are expecting. The hard way (and I suspect it is not all that hard) is to create the default model group and then manually load the model(s). See the JavaDocs on EOModelGroup and EOModel for how to do this. Chuck On 6/16/09 1:25 PM, David Avendasora webobje...@avendasora.com wrote: Hi Darich, A couple questions because it is unclear what you are trying to do. 1) By Pure Java do you mean a Java Client application where the client machines are using a Swing UI? 2) Do you have an EOModel file that it can't find, or are you trying to create an EOF app without a model? Dave On Jun 16, 2009, at 1:08 PM, Darich Runyan wrote: Hello, I would like to use EOF in a pure Java application and not from within WO. I have searched and not found any good information on this topic. It seems that I should be possible but all of the code that I have written keeps tanking and if it cannot find the model. Is there any information on this subject available? Thanks ___ 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%40avend asora .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/chill%40global-vil lage.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Come to WOWODC'09 in San Fran this June! http://www.wocommunity.org/wowodc09/ ___ 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: Escaping in strings according to WOML
Hello Johan; That's odd as I used the new WO 5.4 template format in an application last week... tr class=[getNextResultsTableRowClass] ...and it seems to work fine... tr class=lelvresultsdatarowalt1 ... /tr tr class=lelvresultsdatarowalt2 ... /tr Regards; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ ... I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ ___ Andrew Lindesay www.lindesay.co.nz ___ 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: Escaping in strings according to WOML
Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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: Escaping in strings according to WOML
Ah... I see. Thanks Mike. Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ___ Andrew Lindesay www.lindesay.co.nz ___ 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: Ant install wo app with debug
Yes, that fixed it, thanks Chuck. Further documentation I should have found here: http://wiki.objectstyle.org/confluence/display/WOL/WOCompile On 13 Jun 2009, at 03:28, Chuck Hill wrote: wocompile is just a wrapper around the javac task: http://ant.apache.org/manual/CoreTasks/javac.html You can add the debug property: e.g. wocompile srcdir=Sources destdir=bin debug=true That should give you what you want. Chuck ___ 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: Browser cant display Central European Characters UTF-8
Hey Gustavo, I was having the same problem (only getting ™ to display correctly instead of diamond-?). I added the following methods to my Application.java class and everything works now. I don't know if this is the best way to resolve it or not though. @Override public void appendToResponse(WOResponse response, WOContext context) { super.appendToResponse(response, context); if (_NSUtilities.UTF8StringEncoding.equals(response.contentEncoding())) { response.setHeader(text/html; charset=UTF-8; encoding=UTF-8, content-type); } } @Override public WOResponse dispatchRequest(WORequest request) { request.setContentEncoding(_NSUtilities.UTF8StringEncoding); return super.dispatchRequest(request); } I hope this helps! Dave On Jun 17, 2009, at 7:25 AM, Gustavo Adolfo Pizano wrote: Hello. I have some components and they have some UTF-8 characters, I set up my workspace to UTF-8 also the text file encoding of the project as UTF-8, when I edit the html I can place the words and I can see those characters, but when I run the application safari just shows an ? on those characters.. what should I do to avoid this behavior ? Gustavo Forgot to mention that in the html file in the met tag I have content = text/html; charset=utf-8/ ___ 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: Escaping in strings according to WOML
On 17 jun 2009, at 13:48, Mike Schrag wrote: Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser: wo:WOString value = [mySess.cart.cartTotal] formatter = [mySess.localFormat]/ So, no template parsing whatsoever. I am using the traditional webobject name = CurrentCartItemPerformanceShowInfoShowName/ and wo:WOString value = [cart.cartTotalItems] / In the same html file. It seems components where I only use the traditional notation, template parsing works. I use this Library path: inline: Pasted Graphic.png any suggestions? On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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/johan%40netsense.nl This email sent to jo...@netsense.nl Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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: Escaping in strings according to WOML
Make sure your WOD file is empty if you're using WO54 inline bindings. Unlike WOOgnl, WO54 doesn't let you mix WOD and inline entries in the same component. If your wod isn't empty then it will not parse the inline bindings. On 17/06/2009, at 10:52 PM, Johan Henselmans wrote: On 17 jun 2009, at 13:48, Mike Schrag wrote: Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser: wo:WOString value = [mySess.cart.cartTotal] formatter = [mySess.localFormat]/ So, no template parsing whatsoever. I am using the traditional webobject name = CurrentCartItemPerformanceShowInfoShowName/ and wo:WOString value = [cart.cartTotalItems] / In the same html file. It seems components where I only use the traditional notation, template parsing works. I use this Library path: Pasted Graphic.png any suggestions? On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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/johan%40netsense.nl This email sent to jo...@netsense.nl Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/qdolan%40gmail.com This email sent to qdo...@gmail.com -- Seeya...Q Quinton Dolan - qdo...@gmail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806 ___ 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: Escaping in strings according to WOML
I'm thinking we'll just add support in WOOGNL for [] syntax as well as that escaping syntax, so hopefully it will be easier for things to mix. ms On Jun 17, 2009, at 8:52 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:48, Mike Schrag wrote: Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser: wo:WOString value = [mySess.cart.cartTotal] formatter = [mySess.localFormat]/ So, no template parsing whatsoever. I am using the traditional webobject name = CurrentCartItemPerformanceShowInfoShowName/ and wo:WOString value = [cart.cartTotalItems] / In the same html file. It seems components where I only use the traditional notation, template parsing works. I use this Library path: Pasted Graphic.png any suggestions? On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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/johan%40netsense.nl This email sent to jo...@netsense.nl Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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: Escaping in strings according to WOML
Is there a pref in WOLips to use the 54 style parsing? David On 17-Jun-09, at 5:52 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:48, Mike Schrag wrote: Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser: wo:WOString value = [mySess.cart.cartTotal] formatter = [mySess.localFormat]/ So, no template parsing whatsoever. I am using the traditional webobject name = CurrentCartItemPerformanceShowInfoShowName/ and wo:WOString value = [cart.cartTotalItems] / In the same html file. It seems components where I only use the traditional notation, template parsing works. I use this Library path: Pasted Graphic.png any suggestions? On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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/johan%40netsense.nl This email sent to jo...@netsense.nl Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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: Browser cant display Central European Characters UTF-8
On 17. Jun. 2009, at 05:38 , David Avendasora wrote: Hey Gustavo, I was having the same problem (only getting ™ to display correctly instead of diamond-?). I added the following methods to my Application.java class and everything works now. I don't know if this is the best way to resolve it or not though. @Override public void appendToResponse(WOResponse response, WOContext context) { super.appendToResponse(response, context); if (_NSUtilities.UTF8StringEncoding.equals(response.contentEncoding ())) { response.setHeader(text/html; charset=UTF-8; encoding=UTF-8, content-type); } } @Override public WOResponse dispatchRequest(WORequest request) { request.setContentEncoding(_NSUtilities.UTF8StringEncoding); return super.dispatchRequest(request); } I hope this helps! This shouldn't be necessary anymore with WO 5.4. So Gustavo, what WO version are you running? Guido ___ 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
JAR versions of the WebObjects Frameworks
Hi all, I'm wondering what the correct way is to use the jar versions of the WO frameworks instead of the directory-based ones. Do I just add them to the Libraries directory? That doesn't seem right. And no, I'm not using Maven. 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JAR versions of the WebObjects Frameworks
For our servlet deployed apps, all I did was add them to my WEB-INF/lib folder and everything worked great Dov Rosenberg On 6/17/09 11:34 AM, David Avendasora webobje...@avendasora.com wrote: Hi all, I'm wondering what the correct way is to use the jar versions of the WO frameworks instead of the directory-based ones. Do I just add them to the Libraries directory? That doesn't seem right. And no, I'm not using Maven. 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JAR versions of the WebObjects Frameworks
Hmm. I'm hoping for a way to use them that will work within the normal woproject Ant build process. I'm running into a problem with path lengths with the folder-based frameworks when trying to build my fully-embedded applications with Hudson on Windows 2k. Who ever thougth 256 characters was a reasonable limit for a path length?! Dave On Jun 17, 2009, at 11:47 AM, Dov Rosenberg wrote: For our servlet deployed apps, all I did was add them to my WEB-INF/ lib folder and everything worked great Dov Rosenberg On 6/17/09 11:34 AM, David Avendasora webobje...@avendasora.com wrote: Hi all, I'm wondering what the correct way is to use the jar versions of the WO frameworks instead of the directory-based ones. Do I just add them to the Libraries directory? That doesn't seem right. And no, I'm not using Maven. 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Webobjects-dev Digest, Vol 6, Issue 560
Hola Darich! Did you saw http://www.stepwise.com/Articles/Technical/2001-07-01.01.html ? is a bit old, but contains the essentials ... HIH Suerte! Date: Tue, 16 Jun 2009 13:08:00 -0400 From: Darich Runyan darich.run...@zeltech.com Subject: EOF in Java Application To: webobjects-dev@lists.apple.com Hello, I would like to use EOF in a pure Java application and not from within WO. I have searched and not found any good information on this topic. It seems that I should be possible but all of the code that I have written keeps tanking and if it cannot find the model. Is there any information on this subject available? Thanks Dino -- di...@mac.com Business Applied X Objects http://strausz.blogspot.com (+52-1) 55-5437-8205 ___ 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: Escaping in strings according to WOML
On 17 jun 2009, at 15:05, Q wrote: Make sure your WOD file is empty if you're using WO54 inline bindings. Unlike WOOgnl, WO54 doesn't let you mix WOD and inline entries in the same component. If your wod isn't empty then it will not parse the inline bindings. Thanks! That solved it. Removing all the stuff from the wod file made it a lot easier. I am still contemplating if this is an advantage: it does put a lot of no essential information in your HTML file, especially if you have a lot of bindings to fill. Still one problem remaining: img src=/upload/[mySess.selectedPerformance.primaryKey]/klein.jpg width=82 height=82 border=0/ displays: img width=82 height=82 border=0 src=/upload/ [mySess.selectedPerformance.primaryKey]/klein.jpg/ How can I get something in that kind of HTML tag? If I try img src=/upload/[mySess.selectedPerformance.primaryKey]/klein.jpg width=82 height=82 border=0/ it also leads to: img width=82 height=82 border=0 src=/upload/ [mySess.selectedPerformance.primaryKey]/klein.jpg/ just like img src=/upload/[@ [mySess.selectedPerformance.primaryKey] @]/ klein.jpg width=82 height=82 border=0/ On 17/06/2009, at 10:52 PM, Johan Henselmans wrote: On 17 jun 2009, at 13:48, Mike Schrag wrote: Your email said using latest wonder/WOOGNL -- this replaces the template parser with the one in WOOGNL. If you want to use the 5.4 one, you need to remove WOOGNL. ms Right, removed WOOGNL Framework from the build path, but now my nifty components come out like this in the browser: wo:WOString value = [mySess.cart.cartTotal] formatter = [mySess.localFormat]/ So, no template parsing whatsoever. I am using the traditional webobject name = CurrentCartItemPerformanceShowInfoShowName/ and wo:WOString value = [cart.cartTotalItems] / In the same html file. It seems components where I only use the traditional notation, template parsing works. I use this Library path: Pasted Graphic.png any suggestions? On Jun 17, 2009, at 7:42 AM, Johan Henselmans wrote: On 17 jun 2009, at 13:13, Andrew Lindesay wrote: Hello Johan; a name =[@ wo:WOString value = [mySess.selectedPerformance.primaryKey]/ @]/ Are you using the WO 5.4 new template format? I have just started using the new format myself and think it is great. I think you can just do this; a name=[mySess.selectedPerformance.primaryKey]/ cheers. ___ Andrew Lindesay www.lindesay.co.nz I just tried. The output was: a name =[mySess.selectedPerformance.primaryKey]/ hmmm. Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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/johan%40netsense.nl This email sent to jo...@netsense.nl Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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/qdolan%40gmail.com This email sent to qdo...@gmail.com -- Seeya...Q Quinton Dolan - qdo...@gmail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806 Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159 ___ 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: Hudson and Client-Side Classes
On Jun 16, 2009, at 5:36 PM, Mike Schrag wrote: eclipse=true in the ant tasks ONLY loads wo frameworks, it does not load anything else from .classpath, so if you have something other than a framework reference, it doesn't really care and you have to include that yourself. erm, should it be caring and loading them? Is there a reason (other than you hate this part of the system which I totally understand) why it ignores them? I talked about it a little at WONoVA tonight, but I think the reason I didn't deal with anything except frameworks is because in a normal app, I've only ever had two types are dependencies -- ones in Libraries (which were already included) and frameworks (which eclipse=true picks up for you). Part of this was minimizing the impact of this change on people's existing build.xml files, I suppose, but partly I just never had a case that had a problem, so it wasn't really an issue until now. My thought was that it would be nice / convenient / consistent if the entire classpath was taken from the .classpath file without extra scanning steps in the build.xml (Libraries/*/jar and /Library/ WebObjects/Extensions/*.jar). If we (and I use that term euphemistically) go down this route, some representation of /Library/ WebObjects/Extensions would be needed in the classpath so that people could opt in or out of this bad idea. At least it would make its inclusion explicit. Though that then leaves a different with the runtime behavior of wobootstrap. I blame Dave. 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: Hudson and Client-Side Classes
On Jun 17, 2009, at 12:29 PM, Chuck Hill wrote: On Jun 16, 2009, at 5:36 PM, Mike Schrag wrote: eclipse=true in the ant tasks ONLY loads wo frameworks, it does not load anything else from .classpath, so if you have something other than a framework reference, it doesn't really care and you have to include that yourself. erm, should it be caring and loading them? Is there a reason (other than you hate this part of the system which I totally understand) why it ignores them? I talked about it a little at WONoVA tonight, but I think the reason I didn't deal with anything except frameworks is because in a normal app, I've only ever had two types are dependencies -- ones in Libraries (which were already included) and frameworks (which eclipse=true picks up for you). Part of this was minimizing the impact of this change on people's existing build.xml files, I suppose, but partly I just never had a case that had a problem, so it wasn't really an issue until now. My thought was that it would be nice / convenient / consistent if the entire classpath was taken from the .classpath file without extra scanning steps in the build.xml (Libraries/*/jar and /Library/ WebObjects/Extensions/*.jar). If we (and I use that term euphemistically) go down this route, some representation of /Library/ WebObjects/Extensions would be needed in the classpath so that people could opt in or out of this bad idea. At least it would make its inclusion explicit. Though that then leaves a different with the runtime behavior of wobootstrap. Would it be reasonable to file a Radar requesting that Library/ WebObjects/Extensions be deprecated, or at least the behavior of wobootstrap loading the contents of it? I blame Dave. I am Mr. Edge Case and proud of it. Nothing good code-deed can withstand the intense abuse of a WebObjects Java Client app using SQL Server and deployed to Tomcat on Windows! Bwahahaha, ha. ha. ha? Dammit why does everyone leave when I do that? ___ 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
Wonder version of JavaMonitor/wotaskd classpath configuration
Hi, I wanna try the wonder version of JavaMonitor and wotaskd. I directly replace the origin file in /System/Library/WebObjects/JavaApplications with the new one. However, I got a NoClassDefFoundError: er/extensions/appserver/ERXApplication. After investigating JavaMonitor.woa/Contents/MacOS/MacOSClassPath.txt, I realized that it's because the environment variable HOMEROOT wasn't set appropriately. Of course I could manually edit this file, but just want to know what is the suggested way to configure this? Should I put it in my .bashrc? (which I don't think it's a good idea.) Regards, yllan ___ 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
WOWODC East
Hello everyone, FYI, WOWODC East (August 29th/30th) will have a novice track that will cover : - Setup the environment (WOLips, database tools, SCM, etc.) - Creating reusable components and understanding bindings - EOEditingContext best practices - Architecting a project for success - Using Project Wonder (so you don't pull your hair out) - Prototypes, Migrations and EOGeneration But we are also looking at adding a lab, case studies and more advanced sessions to the conference so that both experienced and novice developers can find something for their taste. But before renting another room and asking for presentations, I would like to know if you are interessed in attending (or buying recordings) WOWODC East, for either the novice or the experienced track. The experienced track would be new sessions, it won't be the same as West. So to gauge interest, I created a small survey to collect feedback from you guys : http://www.survs.com/survey?id=I9BKQMPNchannel=FIE1PX57H5 Please complete the survey (3 questions) before the end of June. PS : I promise that the WiFi will be a lot better than the Whitcomb :-) --- 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: Browser cant display Central European Characters UTF-8
Guido. Im using 5.4.3 I did the ERXMessageEncoding.setDefaultEncodingForAllLanguages(UTF-8); at the Application consturctor and so far it works.. but if there is a better way to do it, Im all ears. G On Jun 17, 2009, at 5:03 PM, Guido Neitzer wrote: On 17. Jun. 2009, at 05:38 , David Avendasora wrote: Hey Gustavo, I was having the same problem (only getting ™ to display correctly instead of diamond-?). I added the following methods to my Application.java class and everything works now. I don't know if this is the best way to resolve it or not though. @Override public void appendToResponse(WOResponse response, WOContext context) { super.appendToResponse(response, context); if (_NSUtilities .UTF8StringEncoding.equals(response.contentEncoding())) { response.setHeader(text/html; charset=UTF-8; encoding=UTF-8, content-type); } } @Override public WOResponse dispatchRequest(WORequest request) { request.setContentEncoding(_NSUtilities.UTF8StringEncoding); return super.dispatchRequest(request); } I hope this helps! This shouldn't be necessary anymore with WO 5.4. So Gustavo, what WO version are you running? Guido ___ 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: Hudson and Client-Side Classes
On Jun 17, 2009, at 9:51 AM, David Avendasora wrote: On Jun 17, 2009, at 12:29 PM, Chuck Hill wrote: On Jun 16, 2009, at 5:36 PM, Mike Schrag wrote: eclipse=true in the ant tasks ONLY loads wo frameworks, it does not load anything else from .classpath, so if you have something other than a framework reference, it doesn't really care and you have to include that yourself. erm, should it be caring and loading them? Is there a reason (other than you hate this part of the system which I totally understand) why it ignores them? I talked about it a little at WONoVA tonight, but I think the reason I didn't deal with anything except frameworks is because in a normal app, I've only ever had two types are dependencies -- ones in Libraries (which were already included) and frameworks (which eclipse=true picks up for you). Part of this was minimizing the impact of this change on people's existing build.xml files, I suppose, but partly I just never had a case that had a problem, so it wasn't really an issue until now. My thought was that it would be nice / convenient / consistent if the entire classpath was taken from the .classpath file without extra scanning steps in the build.xml (Libraries/*/jar and /Library/ WebObjects/Extensions/*.jar). If we (and I use that term euphemistically) go down this route, some representation of / Library/WebObjects/Extensions would be needed in the classpath so that people could opt in or out of this bad idea. At least it would make its inclusion explicit. Though that then leaves a different with the runtime behavior of wobootstrap. Would it be reasonable to file a Radar requesting that Library/ WebObjects/Extensions be deprecated, or at least the behavior of wobootstrap loading the contents of it? Yes. I blame Dave. I am Mr. Edge Case and proud of it. Nothing good code-deed can withstand the intense abuse of a WebObjects Java Client app using SQL Server and deployed to Tomcat on Windows! Bwahahaha, ha. ha. ha? Dammit why does everyone leave when I do that? Not leaving so much as backing away slowly... -- 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: JAR versions of the WebObjects Frameworks
On Jun 17, 2009, at 12:22 PM, Chuck Hill wrote: On Jun 17, 2009, at 8:52 AM, David Avendasora wrote: Hmm. I'm hoping for a way to use them that will work within the normal woproject Ant build process. I'm running into a problem with path lengths with the folder-based frameworks when trying to build my fully-embedded applications with Hudson on Windows 2k. Who ever thougth 256 characters was a reasonable limit for a path length?! Isn't it 1024? There are two shells cmd and command. One of those has a 1024 limit, IIRC. Still too short. If I try to do the same copy manually (by dragging and dropping, or copying in cmd.exe (same as what Hudson is using) to complains about the file name is too long. I can't even create the last directory (assistant) in the path that it's complaining about - that also errors saying the path is too long. So I think what is really happening is that the creation of the directory is actually what fails first but it doesn't stop the process. When Ant tries to copy a file into that missing directory it then fails with The system cannot find the path specified. That's my theory. Windows sucks. That's a fact. Dave BUILD FAILED D:\Hudson\Home\jobs\BakeryManagementWebClient\workspace\Trunk \build.xml:143: Failed to copy D:\Hudson\Home\jobs \BakeryManagementWebClient\workspace\Trunk\dist \BakeryManagementWebClient.woa\Contents\Frameworks \JavaEORuleSystem.framework\Versions\A\WebServerResources\Java\com \webobjects\eogeneration\assistant\EOXMLEditor$_DisplayObject.class to D:\Hudson\Home\jobs\BakeryManagementWebClient\workspace\Trunk\dist \BakeryManagementWebClient\WEB-INF\BakeryManagementWebClient.woa \Contents\Frameworks\JavaEORuleSystem.framework\Versions\A \WebServerResources\Java\com\webobjects\eogeneration\assistant \EOXMLEditor$_DisplayObject.class due to java.io.FileNotFoundException D:\Hudson\Home\jobs\BakeryManagementWebClient\workspace\Trunk\dist \BakeryManagementWebClient\WEB-INF\BakeryManagementWebClient.woa \Contents\Frameworks\JavaEORuleSystem.framework\Versions\A \WebServerResources\Java\com\webobjects\eogeneration\assistant \EOXMLEditor$_DisplayObject.class (The system cannot find the path specified) at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:817) at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:496) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: 106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org .apache .tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java: 41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.io.FileNotFoundException: D:\Hudson\Home\jobs \BakeryManagementWebClient\workspace\Trunk\dist \BakeryManagementWebClient\WEB-INF\BakeryManagementWebClient.woa \Contents\Frameworks\JavaEORuleSystem.framework\Versions\A \WebServerResources\Java\com\webobjects\eogeneration\assistant \EOXMLEditor$_DisplayObject.class (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.init(FileOutputStream.java:179) at java.io.FileOutputStream.init(FileOutputStream.java:131) at org .apache .tools .ant.types.resources.FileResource.getOutputStream(FileResource.java:213) at org .apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java: 373) at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:475) at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:304) at org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:805) ... 18 more Dave On Jun 17, 2009, at 11:47 AM, Dov Rosenberg wrote: For our servlet deployed apps, all I did was add them to my WEB- INF/lib folder and everything worked great Dov Rosenberg On 6/17/09 11:34 AM, David Avendasora webobje...@avendasora.com wrote: Hi all, I'm wondering what the correct way is to use the
Re: Browser cant display Central European Characters UTF-8
On 17. Jun. 2009, at 10:55 , Gustavo Adolfo Pizano wrote: I did the ERXMessageEncoding.setDefaultEncodingForAllLanguages (UTF-8); at the Application consturctor and so far it works.. but if there is a better way to do it, Im all ears. ## This is the one-stop-shop for setting the default encoding everywhere. ## When in doubt, set this one. er.extensions.ERXApplication.DefaultEncoding=UTF-8 Guido ___ 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: Browser cant display Central European Characters UTF-8
aha.. ok thanks I will try it 2morrrow at the office G On Jun 17, 2009, at 8:40 PM, Guido Neitzer wrote: On 17. Jun. 2009, at 10:55 , Gustavo Adolfo Pizano wrote: I did the ERXMessageEncoding.setDefaultEncodingForAllLanguages(UTF-8); at the Application consturctor and so far it works.. but if there is a better way to do it, Im all ears. ## This is the one-stop-shop for setting the default encoding everywhere. ## When in doubt, set this one. er.extensions.ERXApplication.DefaultEncoding=UTF-8 Guido ___ 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
Fwd: WOLips Broken in a Workspace
I didn't have any takers the last time I posted this but here I go again. When I open WOLips in one of my workspaces the WOLips icon appears grayed out. But, eclipse seems to be working in WOLips mode i.e. the component editor works as intended. Not sure what is going on but here is the output from the eclipse log. !SESSION 2009-06-17 09:32:13.317 --- eclipse.buildId=M20090211-1700 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/jlmiller/.eclipse_keyring - showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -data /Users/ jlmiller/Documents/workspace -keyring /Users/jlmiller/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.535 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.536 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.core.net 1 0 2009-06-17 09:32:26.630 !MESSAGE System property http.nonProxyHosts has been set to local| *.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences - Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 12, 2009 2:49:26 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: WOLips Broken in a Workspace Hi, I have this funny file (a component) that no matter which version of WOLips/Eclipse I use when I go to save it Eclipse sometimes hangs and I have to force quit the application (I'm on OS X 10.5.7 Eclipse 3.4.2 WOLips 3.4.5744). Anyway, this time when it crashed I had a second order effect. Now, (only in that workspace) eclipse will not allow me to switch to WOLips mode. The WOLips icon is grayed out. I tried reinstalling the WOLips plugin to no avail. Is there a file I can delete in the workspace that'll reset it? Thanks in advance, Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips Broken in a Workspace
On Jun 17, 2009, at 12:38 PM, Johnny Miller wrote: I didn't have any takers the last time I posted this but here I go again. When I open WOLips in one of my workspaces You are building WOLips in Eclipse? the WOLips icon appears grayed out. Which icon? But, eclipse seems to be working in WOLips mode i.e. the component editor works as intended. Not sure what is going on but here is the output from the eclipse log. !SESSION 2009-06-17 09:32:13.317 --- eclipse.buildId=M20090211-1700 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/jlmiller/.eclipse_keyring - showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -data / Users/jlmiller/Documents/workspace -keyring /Users/ jlmiller/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.535 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.536 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.core.net 1 0 2009-06-17 09:32:26.630 !MESSAGE System property http.nonProxyHosts has been set to local| *.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences - Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 12, 2009 2:49:26 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: WOLips Broken in a Workspace Hi, I have this funny file (a component) that no matter which version of WOLips/Eclipse I use when I go to save it Eclipse sometimes hangs and I have to force quit the application (I'm on OS X 10.5.7 Eclipse 3.4.2 WOLips 3.4.5744). Anyway, this time when it crashed I had a second order effect. Now, (only in that workspace) eclipse will not allow me to switch to WOLips mode. The WOLips icon is grayed out. I tried reinstalling the WOLips plugin to no avail. Is there a file I can delete in the workspace that'll reset it? Thanks in advance, Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/chill%40global-village.net This email sent to ch...@global-village.net -- 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: WOLips Broken in a Workspace
No I'm just installing the plugins the standard way. I guess I should have said when I open Eclipse in one of my workspaces (they are becoming synonymous in my mind). The icon on the top right where you can select which Perspective you want to use next to Debug, SVN etc.. If you click the icon that has the plus sign - WOLips shows up in the list of perspectives found in the Modal Window but when you select it nothing happens. On Jun 17, 2009, at 9:53 AM, Chuck Hill wrote: On Jun 17, 2009, at 12:38 PM, Johnny Miller wrote: I didn't have any takers the last time I posted this but here I go again. When I open WOLips in one of my workspaces You are building WOLips in Eclipse? the WOLips icon appears grayed out. Which icon? But, eclipse seems to be working in WOLips mode i.e. the component editor works as intended. Not sure what is going on but here is the output from the eclipse log. !SESSION 2009-06-17 09:32:13.317 --- eclipse.buildId=M20090211-1700 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/jlmiller/.eclipse_keyring - showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -data / Users/jlmiller/Documents/workspace -keyring /Users/ jlmiller/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.535 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.536 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.core.net 1 0 2009-06-17 09:32:26.630 !MESSAGE System property http.nonProxyHosts has been set to local| *.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences - Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 12, 2009 2:49:26 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: WOLips Broken in a Workspace Hi, I have this funny file (a component) that no matter which version of WOLips/Eclipse I use when I go to save it Eclipse sometimes hangs and I have to force quit the application (I'm on OS X 10.5.7 Eclipse 3.4.2 WOLips 3.4.5744). Anyway, this time when it crashed I had a second order effect. Now, (only in that workspace) eclipse will not allow me to switch to WOLips mode. The WOLips icon is grayed out. I tried reinstalling the WOLips plugin to no avail. Is there a file I can delete in the workspace that'll reset it? Thanks in advance, Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/chill%40global-village.net This email sent to ch...@global-village.net -- 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 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips Broken in a Workspace
On Jun 17, 2009, at 12:59 PM, Johnny Miller wrote: No I'm just installing the plugins the standard way. I guess I should have said when I open Eclipse in one of my workspaces (they are becoming synonymous in my mind). The icon on the top right where you can select which Perspective you want to use next to Debug, SVN etc.. If you click the icon that has the plus sign - WOLips shows up in the list of perspectives found in the Modal Window but when you select it nothing happens. Right click on it, pick Close and open it again. Also try Window - Rest Perspective. That do anything? Chuck On Jun 17, 2009, at 9:53 AM, Chuck Hill wrote: On Jun 17, 2009, at 12:38 PM, Johnny Miller wrote: I didn't have any takers the last time I posted this but here I go again. When I open WOLips in one of my workspaces You are building WOLips in Eclipse? the WOLips icon appears grayed out. Which icon? But, eclipse seems to be working in WOLips mode i.e. the component editor works as intended. Not sure what is going on but here is the output from the eclipse log. !SESSION 2009-06-17 09:32:13.317 --- eclipse.buildId=M20090211-1700 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/jlmiller/.eclipse_keyring - showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -data / Users/jlmiller/Documents/workspace -keyring /Users/ jlmiller/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.535 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.536 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.core.net 1 0 2009-06-17 09:32:26.630 !MESSAGE System property http.nonProxyHosts has been set to local| *.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences - Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 12, 2009 2:49:26 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: WOLips Broken in a Workspace Hi, I have this funny file (a component) that no matter which version of WOLips/Eclipse I use when I go to save it Eclipse sometimes hangs and I have to force quit the application (I'm on OS X 10.5.7 Eclipse 3.4.2 WOLips 3.4.5744). Anyway, this time when it crashed I had a second order effect. Now, (only in that workspace) eclipse will not allow me to switch to WOLips mode. The WOLips icon is grayed out. I tried reinstalling the WOLips plugin to no avail. Is there a file I can delete in the workspace that'll reset it? Thanks in advance, Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/chill%40global-village.net This email sent to ch...@global-village.net -- 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 Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 -- 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: WOLips Broken in a Workspace
Cool, reset perspective worked!! On Jun 17, 2009, at 10:45 AM, Chuck Hill wrote: On Jun 17, 2009, at 12:59 PM, Johnny Miller wrote: No I'm just installing the plugins the standard way. I guess I should have said when I open Eclipse in one of my workspaces (they are becoming synonymous in my mind). The icon on the top right where you can select which Perspective you want to use next to Debug, SVN etc.. If you click the icon that has the plus sign - WOLips shows up in the list of perspectives found in the Modal Window but when you select it nothing happens. Right click on it, pick Close and open it again. Also try Window - Rest Perspective. That do anything? Chuck On Jun 17, 2009, at 9:53 AM, Chuck Hill wrote: On Jun 17, 2009, at 12:38 PM, Johnny Miller wrote: I didn't have any takers the last time I posted this but here I go again. When I open WOLips in one of my workspaces You are building WOLips in Eclipse? the WOLips icon appears grayed out. Which icon? But, eclipse seems to be working in WOLips mode i.e. the component editor works as intended. Not sure what is going on but here is the output from the eclipse log. !SESSION 2009-06-17 09:32:13.317 --- eclipse.buildId=M20090211-1700 java.version=1.5.0_16 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US Framework arguments: -keyring /Users/jlmiller/.eclipse_keyring - showlocation Command-line arguments: -os macosx -ws carbon -arch x86 -data / Users/jlmiller/Documents/workspace -keyring /Users/ jlmiller/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.535 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.ui.workbench.texteditor 4 0 2009-06-17 09:32:21.536 !MESSAGE The 'org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector ' extension from plug-in 'org.eclipse.wst.jsdt.web.ui' to the 'org.eclipse.ui.workbench.texteditor.hyperlinkDetectors' extension point will be ignored because it contains invalid attributes. !ENTRY org.eclipse.core.net 1 0 2009-06-17 09:32:26.630 !MESSAGE System property http.nonProxyHosts has been set to local| *.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences - Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 12, 2009 2:49:26 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: WOLips Broken in a Workspace Hi, I have this funny file (a component) that no matter which version of WOLips/Eclipse I use when I go to save it Eclipse sometimes hangs and I have to force quit the application (I'm on OS X 10.5.7 Eclipse 3.4.2 WOLips 3.4.5744). Anyway, this time when it crashed I had a second order effect. Now, (only in that workspace) eclipse will not allow me to switch to WOLips mode. The WOLips icon is grayed out. I tried reinstalling the WOLips plugin to no avail. Is there a file I can delete in the workspace that'll reset it? Thanks in advance, Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/chill%40global-village.net This email sent to ch...@global-village.net -- 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 Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 -- 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 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:
er.attachment.thumbnail.ImageIOImageProcessor Watermark Files
Hi, Has anyone attempted to use a watermark file in conjunction with er.attachment.thumbnail.ImageIOImageProcessor? I'm having some strange results. I'm passing a PNG with a solid background and text as the watermark - If the background is black and the text is white - only the text of the watermark shows up. If the background is gray and the text is white - the watermark's background appears white and semi-transparent. The text is normal. If the background is white and the text is black - the watermark's background is white and opaque while the text does not appear at all i.e. you see through to the underlying image. Also, it would be nice if you could specify where the watermark appears e.g. left | center | right and top | center | bottom. 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files
IIRC the watermark is just applied with a screen filter ... I haven't tested watermarking with anything but the native OS X impl, but I BELIEVE we use white text with a transparent background. ms On Jun 17, 2009, at 7:05 PM, Johnny Miller wrote: Hi, Has anyone attempted to use a watermark file in conjunction with er.attachment.thumbnail.ImageIOImageProcessor? I'm having some strange results. I'm passing a PNG with a solid background and text as the watermark - If the background is black and the text is white - only the text of the watermark shows up. If the background is gray and the text is white - the watermark's background appears white and semi-transparent. The text is normal. If the background is white and the text is black - the watermark's background is white and opaque while the text does not appear at all i.e. you see through to the underlying image. Also, it would be nice if you could specify where the watermark appears e.g. left | center | right and top | center | bottom. 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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
Fwd: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files
OK, I get it now. If you look at ImageIOImageProcessorjnilib.m When it applies the watermark it uses a dissolve filter. IMHO, I like this way better: CIFilter *dissolveFilter = [CIFilter filterWithName:@CISourceOverCompositing]; [dissolveFilter setValue:watermarkImage forKey:@inputImage]; [dissolveFilter setValue:outputImage forKey:@inputBackgroundImage]; outputImage = [dissolveFilter valueForKey:@outputImage]; This way it uses the CISourceOverCompositing filter and you have control over how opaque you want to make the watermark when you create it in the image editor. Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 17, 2009 1:05:47 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files Hi, Has anyone attempted to use a watermark file in conjunction with er.attachment.thumbnail.ImageIOImageProcessor? I'm having some strange results. I'm passing a PNG with a solid background and text as the watermark - If the background is black and the text is white - only the text of the watermark shows up. If the background is gray and the text is white - the watermark's background appears white and semi-transparent. The text is normal. If the background is white and the text is black - the watermark's background is white and opaque while the text does not appear at all i.e. you see through to the underlying image. Also, it would be nice if you could specify where the watermark appears e.g. left | center | right and top | center | bottom. Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files
I don't remember the great debate I had with the photographer about this at the time, but it originally WAS and we switched to multiply, then to screen ... There was some artifact that just doing a transparency introduced and I unfortunately don't recall the details now. On Jun 17, 2009, at 7:33 PM, Johnny Miller wrote: OK, I get it now. If you look at ImageIOImageProcessorjnilib.m When it applies the watermark it uses a dissolve filter. IMHO, I like this way better: CIFilter *dissolveFilter = [CIFilter filterWithName:@CISourceOverCompositing]; [dissolveFilter setValue:watermarkImage forKey:@inputImage]; [dissolveFilter setValue:outputImage forKey:@inputBackgroundImage]; outputImage = [dissolveFilter valueForKey:@outputImage]; This way it uses the CISourceOverCompositing filter and you have control over how opaque you want to make the watermark when you create it in the image editor. Jon Begin forwarded message: From: Johnny Miller jlmil...@kahalawai.com Date: June 17, 2009 1:05:47 PM HST To: Development WebObjects webobjects-dev@lists.apple.com Subject: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files Hi, Has anyone attempted to use a watermark file in conjunction with er.attachment.thumbnail.ImageIOImageProcessor? I'm having some strange results. I'm passing a PNG with a solid background and text as the watermark - If the background is black and the text is white - only the text of the watermark shows up. If the background is gray and the text is white - the watermark's background appears white and semi-transparent. The text is normal. If the background is white and the text is black - the watermark's background is white and opaque while the text does not appear at all i.e. you see through to the underlying image. Also, it would be nice if you could specify where the watermark appears e.g. left | center | right and top | center | bottom. Johnny Miller Kahalawai Media Corp w: www.kahalawai.com e: jlmil...@kahalawai.com p: 808.661.7962 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/mschrag%40mdimension.com This email sent to msch...@mdimension.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: er.attachment.thumbnail.ImageIOImageProcessor Watermark Files
I figured there was some sort of extenuating circumstance that I had not considered. What kind of watermark file did you end up using? On Jun 17, 2009, at 1:38 PM, webobjects-dev-requ...@lists.apple.com wrote: I don't remember the great debate I had with the photographer about this at the time, but it originally WAS and we switched to multiply, then to screen ... There was some artifact that just doing a transparency introduced and I unfortunately don't recall the details now. 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com