Re:
Hello Raymond, This is unneccessary noise on the list. This will happen *all the time* on *all* mailing lists that *some recipient* will seize to exist and mail bounces. If it irritates you, do contact the list maintainer and ask him to remove the offending address (in this case rgur...@smarthealth.commailto:rgur...@smarthealth.com“) from the mailing list, but posting on the list about it will absolutely not solve anything and will only annoy those of us who use the list to keep track of meaningful exchange of opinions and assistance. Thank you. On 23. sep. 2014, at 13:52, Raymond NANEON rnan...@me.commailto:rnan...@me.com wrote: Here we go, I just received a notification : Delivery Status Notification Il y a 5 minutes 15:46 [X] De system-u...@mms.mycricket.commailto:system-u...@mms.mycricket.com[X] Your message was not delivered successfully. Subject: Re: Re: Sent: Tue, 23 Sep 2014 13:39:22 + (GMT) The message could not be delivered to the following recipient: rgur...@smarthealth.commailto:rgur...@smarthealth.com Envoyé depuis iCloud Le 23 sept. 2014 à 15:40, Raymond NANEON rnan...@me.commailto:rnan...@me.com a écrit : I don't know if it fixed now, but after this mail normally I would receive the failed mail error Envoyé depuis iCloud Le 23 sept. 2014 à 02:11, Ramsey Gurley rgur...@smarthealth.commailto:rgur...@smarthealth.com a écrit : D..did I just send a reply to the list without getting this garbage? Is it possible that this is really fixed now? http://i.imgur.com/EqRJH.gif Crossing my fingers! On Sep 22, 2014, at 8:19 AM, Klaus Berkling webobje...@berkling.usmailto:webobje...@berkling.us wrote: On Sep 22, 2014, at 7:35 AM, Raymond NANEON rnan...@me.commailto:rnan...@me.com wrote: Each time I send a message to webobjects-dev list, I get this error bellow 3 times. Where it comes from ? There is a bad address on the list and everyone gets this. I have a server-side rule that deletes these. Début du message réexpédié : De : mailer_dae...@email.uscc.netmailto:mailer_dae...@email.uscc.net Date : 22 sept. 2014 à 16:28 À : rnan...@me.commailto:rnan...@me.com Objet : Message to 2533369...@email.uscc.netmailto:2533369...@email.uscc.net failed. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us This email sent to webobje...@berkling.usmailto:webobje...@berkling.us kib The trouble with normal is it always gets worse. Bruce Cockburn Klaus Berkling www.berkling.ushttp://www.berkling.us/ | @kiberkli | Photographyhttps://squareup.com/market/klaus-berkling ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com This email sent to rnan...@me.commailto:rnan...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com This email sent to rnan...@me.commailto:rnan...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is This email sent to th...@samgongustofa.is Fyrirvari á tölvupósti / e-mail disclaimer http://samgongustofa.is/fyrirvari/ ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Large response: Apache adaptor changing content-length header to Integer.MAX_VALUE
Rebuild Apache with: -DLARGEFILE_SOURCE -DFILE_OFFSET_BITS=64 And you'll be rollin' Með kveðju, Þór Sigurðsson Tölvunarfræðingur - Forritari Sími: 480-6000 [cid:F3B03A2A-046A-487C-B38A-7F4862B5EBE8] Samgöngustofa - www.samgongustofa.ishttp://www.samgongustofa.is Umferðarstofa, Borgartúni 30, 105 Reykjavík On 8.5.2014, at 08:49, Hugi Thordarson h...@karlmenn.ismailto:h...@karlmenn.is wrote: Hi all I’m attempting to stream a ~3GB file from a WO app. When I DirectConnect to the app, the content-length header is correctly set to “3371573248”, but if the response goes through the Apache adaptor (CentOS 5.5/Apache 2.2), the content-length header is changed to “2147483647” (Integer.MAX_VALUE), resulting in a truncated file for most clients. I just attempted to install the most recent compiled Wonder adaptor from wocommunity org, but it doesn’t solve the problem. Anyone familiar with this? Cheers, - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is This email sent to th...@samgongustofa.is Fyrirvari á tölvupósti / e-mail disclaimer http://samgongustofa.is/fyrirvari/ ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Queued mail sending
Don't queue the email - that's something the mail server itself is proficient at, not the WO framework (or any framework on top of that). Instead, log the request - an email was requested. Send the email, and once the email has been sent, mark the request as handled. That way, if your Wapp happens to turn its toes towards the sky, it still has the current state at restart. And keep the log small. Very small. It should be fast end efficient (e.g. USERID:REQUEST_TYPE:DATE:(BOOL)HANDLED ) /Þór On 29.1.2014, at 14:56, Musall Maik m...@selbstdenker.ag wrote: Hi folks, how do you queue outbound email in WO apps? We use an 10+ years old custom implementation of a WOMailDelivery replacement, and I also looked at ERJavaMail. Both seem vulnerable to the same problem: if the application composes a mail, hands it over to the mailing framework, and the instance goes down before the mail is successfully sent to the SMTP server, the mail is lost. And if using the default non-blocking mode, and the SMTP server fails to accept the mail, it’s also lost if the instance is terminated before the queue gets a chance to deliver it again. Am I right on this for ERJavaMail? How do you deal with this? Is there another framework that does it better? I think there’s no way around having a persistent queue of some kind for outbound emails. Maik Fyrirvari á tölvupósti / e-mail disclaimer http://samgongustofa.is/fyrirvari/ ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Postgresql connection issue
Exactly as Ramsey said - although if your database IS in fact on a remote machine, you would not want trust, since that would imply anybody could connect as anybody to any database. If your database is mybase and your database user is myuser and your development machine is 192.168.0.100, then your line ought to be something like: hostmybase myuser 192.168.0.100/32 md5 Only use a trust relationship if the server doesn't allow user logins or the users logging in are truly trusted, and then only for 127.0.0.1/8 :) - however If your database happens to be on your _local_ machine (same as your development/deployment) - like the Postgres.app for Mac OS X, then something else is amuck. One thing that comes to mind - does your database actually exist? psql -l lists the databases IF the database you expect to use doesn't exist, of course there will be no connection - so, if the database doesn't exist, I'll presume that the user doesn't exist either. In that case, you'll need to create both. As the user running the postgres database (logged-in user if Postgres.app or postgres,psql or other db-centric user of the OS the DB is running on: $ psql # create user myuser password 'reallySecret2013'; ... # create database myuser owner myuser encoding='UTF8'; ... # exit Then try connecting again. Hope this helps :) /Þór On 12.11.2013, at 21:19, Ramsey Gurley rgur...@smarthealth.commailto:rgur...@smarthealth.com wrote: Is the db on the same machine as the app? If not, this won’t work. You need to add the IP of your app server. Something like... hostall all 192.168.0.100trust On Nov 12, 2013, at 1:41 PM, Joe Kramer jkmarti...@gmail.commailto:jkmarti...@gmail.com wrote: Thanks for the reply. Here is my config in pg_hba.conf. It seems like this should not be causing the issue. Any other thoughts or something I am missing in this config? Thanks, Joe # TYPE DATABASEUSERADDRESS METHOD # local is for Unix domain socket connections only local all all trust # IPv4 local connections: hostall all 127.0.0.1/32http://127.0.0.1/32 trust # IPv6 local connections: hostall all ::1/128 trust On Tue, Nov 12, 2013 at 2:36 AM, Þór Sigurðsson th...@samgongustofa.ismailto:th...@samgongustofa.is wrote: Have you given the user permission to connect to the database ? Take a look at pg_hba.conf. Add a line for the user. If you _want_ the user to use a password, then the last column should be password or better yet md5. If you want a trust-level connection, set it to trust. On 12.11.2013, at 09:58, Joe Kramer jkmarti...@gmail.commailto:jkmarti...@gmail.com wrote: Hi all, It has been some time since I have done any WebObjects development and I am trying to resurrect an old project on a new machine. I went through all the steps to get WebObjects/Wonder installed and I can run HelloWorld. The problem appears to be with my Postgresql JDBC connection. I am running Postgres93.app. I added the postgresql-9.3-1100.jdbc3.jar to my project's Resources folder and added that jar to the build path. When I run and try to bootstrap my database, I cannot connect and I get the following error. Is there something that I missed in the setup process? Any help would be appreciated. Thanks, Joe Kramer Nov 12 01:49:37 GALApplication[9199] WARN NSLog - An exception occurred while trying to open a channel: N/A Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@105585dc: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. Nov 12 01:49:37 GALApplication[9199] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@1767199109 Nov 12 01:49:37 GALApplication[9199] INFO er.extensions.eof.ERXDatabaseContextDelegate - GALDatabase: {plugin = PostgresqlPlugIn; username = jkramer; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gal_database?useBundledJdbcInfo=true; } Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Checking JDBC connection with information {plugin = PostgresqlPlugIn; username = jkramer; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gal_database?useBundledJdbcInfo=true; } Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create JDBCAdaptor... Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully created adaptor
Re: Postgresql connection issue
Have you given the user permission to connect to the database ? Take a look at pg_hba.conf. Add a line for the user. If you _want_ the user to use a password, then the last column should be password or better yet md5. If you want a trust-level connection, set it to trust. On 12.11.2013, at 09:58, Joe Kramer jkmarti...@gmail.com wrote: Hi all, It has been some time since I have done any WebObjects development and I am trying to resurrect an old project on a new machine. I went through all the steps to get WebObjects/Wonder installed and I can run HelloWorld. The problem appears to be with my Postgresql JDBC connection. I am running Postgres93.app. I added the postgresql-9.3-1100.jdbc3.jar to my project's Resources folder and added that jar to the build path. When I run and try to bootstrap my database, I cannot connect and I get the following error. Is there something that I missed in the setup process? Any help would be appreciated. Thanks, Joe Kramer Nov 12 01:49:37 GALApplication[9199] WARN NSLog - An exception occurred while trying to open a channel: N/A Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@105585dc: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. Nov 12 01:49:37 GALApplication[9199] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@1767199109 Nov 12 01:49:37 GALApplication[9199] INFO er.extensions.eof.ERXDatabaseContextDelegate - GALDatabase: {plugin = PostgresqlPlugIn; username = jkramer; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gal_database?useBundledJdbcInfo=true; } Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Checking JDBC connection with information {plugin = PostgresqlPlugIn; username = jkramer; driver = org.postgresql.Driver; password = password deleted for log; URL = jdbc:postgresql://localhost/gal_database?useBundledJdbcInfo=true; } Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create JDBCAdaptor... Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully created adaptor com.webobjects.jdbcadaptor.JDBCAdaptor Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to create plugin... Nov 12 01:49:37 GALApplication[9199] DEBUG NSLog - Using JDBCPlugIn 'PostgresqlPlugIn' for JDBCAdaptor@1616586953 Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Created plugin com.webobjects.jdbcadaptor.PostgresqlPlugIn Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Trying to load JDBC driver org.postgresql.Driver... Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Successfully loaded JDBC driver org.postgresql.Driver Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - JDBC driver and plugin are loaded, trying to connect... Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.ConnectionAnalyzer - Error: Exception thrown while connecting. Check exception message carefully. Nov 12 01:49:37 GALApplication[9199] ERROR er.transaction.adaptor.ConnectionAnalyzer - No connection. Nov 12 01:49:37 GALApplication[9199] WARN NSLog - A fatal exception occurred: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@105585dc: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. [2013-11-12 1:49:37 PST] main java.lang.IllegalStateException: _obtainOpenChannel -- com.webobjects.eoaccess.EODatabaseContext com.webobjects.eoaccess.EODatabaseContext@105585dc: failed to open database channel. Check your connection dictionary, and ensure your database is correctly configured. at com.webobjects.eoaccess.EODatabaseContext._obtainOpenChannel(EODatabaseContext.java:1967) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3054) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1308) at
Re: this was never an issue before.
I spent a long time metaphorically beating a bush because English showed up in my app, and so did Icelandic (all characters within the scope of the first UTF8 frame) but Chinese did not. Adding this to the Application() constructor was the solution: setDefaultEncoding( UTF-8 ); On 23.10.2013, at 19:50, Samuel Pelletier sam...@samkar.com wrote: Theodore, Your fix (turning off the Ellipsis function) indicate that you app does not set it's encodings properly. The ellipsis should save (they save in my apps). Your HTML should began with something like this after the doctype declaration: head meta http-equiv=Content-Type content=text/html; charset=utf-8/ Your property file these settings: er.extensions.ERXApplication.DefaultEncoding=UTF-8 er.extensions.ERXApplication.DefaultMessageEncoding=UTF-8 I also add this one too in the Monitor to change the default file encoding so plist and .string files works in UTF-8: -file.encoding UTF-8 You may want to keep multiple dots but this is another discussion and easily fixed with a String.replaceAll()... Samuel Le 2013-10-23 à 13:49, Theodore Petrosky tedp...@yahoo.com a écrit : I just updated one of my workstations to the newest Safari. In one of my Wonder Apps, I have an AjaxInPlaceEditor in a table. My Entity has a method: public String statusWithNull() { if (this.itemStatus() == null || this.itemStatus().length() == 0) { return Status ..; } return this.itemStatus(); } Obviously, if the itemStatus is null I am returning Status …… In the new Safari, if the user clicks on the inPlaceEditor, she will get an text area to edit and the Status …… shows up. Her job is to place an 'X' at the end of the dots. when she does this in the newest Safari she sees Status ...…X It seems that the newest Safari is substituting … for the last three periods. This is what is stored Status ...C3A2C280C2A6X in the backend. My work around is to get her to use Firefox, but I would like to find what I did wrong. this is the top of my HTML: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html lang=en My feeling is that somehow, Safari is translating the three dots into an Ellipsis and screwing the pooch. ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.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: https://lists.apple.com/mailman/options/webobjects-dev/thors%40samgongustofa.is This email sent to th...@samgongustofa.is Fyrirvari á tölvupósti / e-mail disclaimer http://samgongustofa.is/fyrirvari/ ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: deployment advice
On 23.9.2013, at 14:48, Theodore Petrosky wrote: I have an app that is running quite nicely on a mac mini OS X 10.6.8 with postgresql running on the same box. I am writing a companion app that needs to access this same database and with ERJGoups connect with the first app. All my pretesting deployment is being done on a second box. Again a mac mini but with Centos 6.2 and postgresql running on the same box. I just started to think, maybe I could just point the app on box number 2 (Centos box) to the postgresql implementation on box 1 and set the ERJGroups IP to box one and be done. I already set the pg_hba.conf to permit box 2 to talk to box 1 postgresql implementation so this shouldn't be an issue. Let each app live on its own box. Keep in mind that these apps will have little real usage. Half a dozen users on each box banging all day long. Is there any reason I shouldn't do this? One reason why you should not, plenty of reasons why you should. Why not: Using the same data[base] for development and betatesting/production means at some point the development screws up and mangles the data[base] for the user == negative user/tester experience. Why: Using the same database server but _separate_ databases (eg: mydata and mydata_dev ) saves cpu cycles - no need to have two separate servers running unless you want replication or load balancing. Half a dozen users is no measure - the size of the request and result set is a better measure - as well as the [explain]. But - for a normal web application, a dozen users should pose as a zero-threat to the database :) It is less time-consuming to manage one database than two. FWIW - I recommend having the db running on the Centos box rather than the OS X box. Get http://sourceforge.net/projects/autopgsqlbackup/ and configure it - you'll be glad if/when something happens to your data (make sure you have enough disk space). /Þór Sameinaðir kraftar í lofti, láði og legi Þann 1. júlí 2013 tók Samgöngustofa til starfa. Með stofnun hennar sameinast stjórnsýsla og eftirlit samgöngumála og þangað færast öll verkefni Flugmálastjórnar Íslands og Umferðarstofu auk stjórnsýslu- og eftirlitsverkefna Siglingastofnunar Íslands og Vegagerðarinnar. Starfstöðvar fyrrum Umferðarstofu, Siglingastofnunar og Flugmálastjórnar Íslands munu haldast óbreyttar fyrst um sinn. Samgöngustofa, pósthólf 470, 202 Kópavogur, sími 480 6000 - samgongust...@samgongustofa.is, http://www.samgongustofa.is Fyrirvari á tölvupósti / e-mail disclaimer http://ww2.us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Anyone using Kepler?
How about the EOModeller trouble ( data types meing mangled when you alter the model) ? I had enough trouble with EOModeller in Eclipse 4.2 to go back to 3.7/8. I really wish to hear about people's experiences since 3.x is an aging platform... And 4.x has proven troublesome for WOdevelopment... (actually, if anyone, and I mean _anyone_ ) wishes to put effort into bringing IntellJ/IDEA into the fold again, I'd be happy to participate ;) /Þór On 19.9.2013, at 16:10, Henrique Gomes wrote: Thank you for bringing this up, I was using different versions of eclipse for WO and other work (embedded systems, C) because when I tried to work with eclipse 4.x, it crashed with NPE's on the WO editor so I was still using Indigo (3.?) for WO. After trying again with 4.3, I found out that a new workspace solves the problem, but I also found out that I only need to erase the prefs stored in .metadata/.plugins/org.eclipse.core.runtime/.settings I delete all the org org.objectstyle.* and org.eclipse.wst.* files in there. I'm know using the same eclipse for all my work, great. Henrique Gomes On Sep 6, 2013, at 6:02 PM, Ramsey Gurley rgur...@smarthealth.com wrote: I'm using 4.3 without issues for about 6 weeks now. My coworkers are not able to make the same claim. We've all decided I'm charmed :-) https://github.com/wolips/wolips/issues/102 On Sep 6, 2013, at 9:40 AM, Hugi Thordarson wrote: Hi all. I'm setting up a new team on WO. Just wondering if anyone is using Eclipse 4 with any success now or if I should start them off on 3.x? Cheers, - hugi Sameinaðir kraftar í lofti, láði og legi Þann 1. júlí 2013 tók Samgöngustofa til starfa. Með stofnun hennar sameinast stjórnsýsla og eftirlit samgöngumála og þangað færast öll verkefni Flugmálastjórnar Íslands og Umferðarstofu auk stjórnsýslu- og eftirlitsverkefna Siglingastofnunar Íslands og Vegagerðarinnar. Starfstöðvar fyrrum Umferðarstofu, Siglingastofnunar og Flugmálastjórnar Íslands munu haldast óbreyttar fyrst um sinn. Samgöngustofa, pósthólf 470, 202 Kópavogur, sími 480 6000 - samgongust...@samgongustofa.is, http://www.samgongustofa.is Fyrirvari á tölvupósti / e-mail disclaimer http://ww2.us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips 4.3?
On 28.6.2013, at 05:12, Quinton Dolan wrote: There's an Eclipse 4.3 now? Does it suck less than 4.2? That would be Eclipse^H^H^H^H^H^H^H Intellij/IDEA 12 you're thinking about, right ? ;-) On that note - has anyone tried to port the IDEA plugin for WO development to the newer IDEA platforms? /Thor On 28/06/2013, at 7:20 AM, Ramsey Gurley rgur...@smarthealth.com wrote: Is there a build for Eclipse 4.3 yet? I'm still using old and busted WOLips 4.2 :-) Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ssl from iOS error? OT?
Before you spend big bucks on an SSL certificate just for testing purposes, issue yourself a free (and just as good) certificate at StartSSL.comhttp://StartSSL.com (note their server-side certificate chain requirements - they have a pretty decent help page on that). On 17.6.2013, at 12:25, James Cicenia wrote: Yes... I was thinking that would be the solution. I will go ahead and try that. Thanks On Jun 16, 2013, at 2:46 PM, Asa Hardcastle j...@zenn.netmailto:j...@zenn.net wrote: We had trouble with ssl from IOS to a node.js server. The problem was resolved by purchasing an ssl certificate rather than using a self signed cert. Later, Asa On Jun 15, 2013, at 4:41 PM, George Domurot masterm...@knuckleheads.netmailto:masterm...@knuckleheads.net wrote: If you're testing on an older iPod, make sure the time is accurate on the device. On Jun 15, 2013, at 1:09 PM, James Cicenia ja...@jimijon.commailto:ja...@jimijon.com wrote: I am trying this out with direct connect. I thought I followed the instruction to create the new certificate. I have to check more. On Jun 15, 2013, at 3:07 PM, Bogdan Zlatanov bogdan.zlata...@gmail.commailto:bogdan.zlata...@gmail.com wrote: You could also try running the server app with javax.net.debug=all On 15 Jun 2013, at 21:59, Pascal Robert wrote: Le 2013-06-15 à 15:56, James Cicenia ja...@jimijon.commailto:ja...@jimijon.com a écrit : I am developing a push server. I have created a bunch of rest calls, etc., When I test them via RESTClient in firefox they work. However, when I test from my iOS client I get the following error: [2013-6-15 14:48:3 CDT] WorkerThread0 javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake Apache is involved or not? If yes, check Apache's logs. I have tested the client on a competitors server and it works. So I think I can rule out the ios client. Thoughts? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.camailto:prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com This email sent to bogdan.zlata...@gmail.commailto:bogdan.zlata...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net This email sent to masterm...@knuckleheads.netmailto:masterm...@knuckleheads.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/a.talk%40zenn.net This email sent to a.t...@zenn.netmailto:a.t...@zenn.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Inline Elements
It all depends on your settings in the $PROJECTROOT/build.properties file component.inlineBindingPrefix and component.inlineBindingSuffix. If you have: component.inlineBindingPrefix=[ component.inlineBindingSuffix=] Then you'd use: wo:str value=[someVariable] / or wo:string ... / but if you've got component.inlineBindingPrefix=$ component.inlineBindingSuffix= Then you'd use: wo:str value=$someVariable / or wo:string ... / See the pattern? I use the latter - and I suspect you do too, although I have seen the former around... /Thor On 10.6.2013, at 07:38, Thomas Grass (01SoftwareSolutions) wrote: Hi Paul, thank you for your reply. I tried it, but it won't work for me. Here is a better description for my problem (or the thing i want to do): Example for the WOComponent TestComponent: I've a variable like this in my TestComponent.java: public String aTestString = Hello WO; In my TestComponent.html i've tried to request the string: wo:string value = [aTestString] / The final output will be now: wo:string value = [aTestString] / It looks like the tag will not me translated. Is there any setting which i have to set? Thank you, Thomas Am 09.06.2013 um 13:48 schrieb Paul Yu p...@mac.commailto:p...@mac.com: Thomas If you want to use the testString as a variable, then it should be $testString Paul Sent from my iPad On Jun 9, 2013, at 7:05 AM, Thomas Grass (01SoftwareSolutions) off...@01softwaresolutions.eumailto:off...@01softwaresolutions.eu wrote: Hello Community, i want to use inline elements such like this: h1wo:string value=testString valueWhenEmpty = - //h1 But webobjects ignores such statements (there is no output and no error message). What must be set to use it? For some cases I don't want to use the default and write a WOD and a HTML. Thanks Thomas ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.commailto:p...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Inline Elements
Nothing that I can see - the only difference from my properties is that I define: component.wellFormedTemplateRequired=false You could try to add that and re-open your project to see if it helps, but if you have $ as prefix and no suffix and use value=$somevariable and somevariable is defined as: public String somevariable = ; or public String somevariable() { return .; } public void setSomevariable(String value) { ... = value; } and it still doesn't work, then I guess you'd need to post more info on your project and setup than what's already been posted. /Thor On 10.6.2013, at 09:01, Thomas Grass (01SoftwareSolutions) wrote: Hi, my build.properties file looks like the following, but it still not work? What did i wrong? #Wed Oct 17 16:20:52 CEST 2012 webXML_CustomContent= project.name=XYZ embed.Network=true embed.System=true webXML=false embed.User=true principalClass=eu.xyz.XYZ embed.Local=true classes.dir=bin project.name.lowercase=xyz customInfoPListContent= embed.Project=true project.type=application component.inlineBindingPrefix=$ component.inlineBindingSuffix= Thanks Am 10.06.2013 um 10:27 schrieb Þór Sigurðsson th...@us.is: It all depends on your settings in the $PROJECTROOT/build.properties file component.inlineBindingPrefix and component.inlineBindingSuffix. If you have: component.inlineBindingPrefix=[ component.inlineBindingSuffix=] Then you'd use: wo:str value=[someVariable] / or wo:string ... / but if you've got component.inlineBindingPrefix=$ component.inlineBindingSuffix= Then you'd use: wo:str value=$someVariable / or wo:string ... / See the pattern? I use the latter - and I suspect you do too, although I have seen the former around... /Thor On 10.6.2013, at 07:38, Thomas Grass (01SoftwareSolutions) wrote: Hi Paul, thank you for your reply. I tried it, but it won't work for me. Here is a better description for my problem (or the thing i want to do): Example for the WOComponent TestComponent: I've a variable like this in my TestComponent.java: public String aTestString = Hello WO; In my TestComponent.html i've tried to request the string: wo:string value = [aTestString] / The final output will be now: wo:string value = [aTestString] / It looks like the tag will not me translated. Is there any setting which i have to set? Thank you, Thomas Am 09.06.2013 um 13:48 schrieb Paul Yu p...@mac.commailto:p...@mac.com: Thomas If you want to use the testString as a variable, then it should be $testString Paul Sent from my iPad On Jun 9, 2013, at 7:05 AM, Thomas Grass (01SoftwareSolutions) off...@01softwaresolutions.eumailto:off...@01softwaresolutions.eu wrote: Hello Community, i want to use inline elements such like this: h1wo:string value=testString valueWhenEmpty = - //h1 But webobjects ignores such statements (there is no output and no error message). What must be set to use it? For some cases I don't want to use the default and write a WOD and a HTML. Thanks Thomas ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com This email sent to p...@mac.commailto:p...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wolips.properties hardcoded in build.xml
Like this: target name=init.properties property file=build.properties / property name=mysignaturedir value=/Users/thors/I_AM_LEGEND / condition property=wolips.properties value=/some/really/creepy/location/for/a/secret/wolips/file resourceexists file file=${mysignaturedir} / /resourceexists /condition property name=wolips.properties value=${user.home}${file.separator}Library${file.separator}Application Support${file.separator}WOLips${file.separator}wolips.properties / Properties are immutable, so once set it can't be overwritten. So... If /Users/thors/I_AM_LEGEND exists (created with touch /Users/thors/I_AM_LEGEND): devc:WOSandkassi thors$ ant Buildfile: /Users/thors/US/Sandkassi/WOSandkassi/build.xml init.properties: BUILD FAILED /Users/thors/US/Sandkassi/WOSandkassi/build.xml:41: The properties 'wo.system.frameworks' and 'wo.local.frameworks' must be set. Check that your /some/really/creepy/location/for/a/secret/wolips/file is correct. Total time: 0 seconds devc:WOSandkassi thors$ Fails because my /some/really/creepy/location/for/a/secret/wolips/file doesn't exist ;) If I remove the file, the build succeeds. If I copy the current props file to this new name, it works also. On 6.6.2013, at 08:09, Markus Ruggiero wrote: The name wolips.properties is hardcoded in each build.xml property name=wolips.properties value=${user.home}${file.separator}Library${file.separator}Application Support${file.separator}WOLips${file.separator}wolips.properties / Is there a way to make this dynamic? From Eclipse/WOLips preferences the name of the file is available. Can ant access this value? Reason: I have several customers with several Wonder projects. For each customer I have a separate workspace. Having a dedicated wolips.properties per customer (which is perfectly doable and works) I can have the customers completely independent of each other. Each customer can have its individual WebObjects and Wonder version. Also I can prevent customer frameworks (that must be installed for a build) to pollute my /Library/Frameworks folder. I would only have to edit the name for wolips.properties in all the build.xml. That is doable and is what I currently do. A couple days ago I forgot that the build.xml references a custom named wolips.properties and sent the project to the customer. They were not able to build the application because at their site they use the standard named wolips.properties. Therefore my question: can the reference to wolips.properties be found from the workspace settings and determined dynamically by ant? Thanks a lot for any help ---markus--- Markus Ruggiero mailingli...@kataputt.commailto:mailingli...@kataputt.com Check out the new book about Project Wonder and WebObjects on http://www.kataputt.com/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: jenkins.wocommunity.org down?
No problem connecting from Iceland to jenkins.wocommunity.org. On 31.5.2013, at 08:47, Jürgen Tabert wrote: Hi All, Anybody else having problems connecting to http://jenkins.wocommunity.org? Jürgen ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: exchange server and javamail
Step 1: Find out authentication method ( lines starting with - are from the system, * contains your input ) : * yourmachine:~ you$ telnet mail.yourdomain.tld 25 - Trying aaa.bbb.ccc.ddd... - Connected to mail.yourdomain.tld. - Escape character is '^]'. - 220 mail.yourdomain.tld Microsoft ESMTP MAIL Service ready at Wed, 17 Apr 2013 08:03:00 + * EHLO - 250-mail.yourdomain.tld Hello [aaa.bbb.ccc.yyy] -- your IP address - 250-SIZE -- capability - 250-AUTH NTLM -- Authentication capability - THIS IS WHAT YOU'RE LOOKING FOR . . . - 250 XSHADOW * quit - 221 2.0.0 Service closing transmission channel - Connection closed by foreign host - yourmachine:~ you$ Now.. modify your config to try only those that are enabled. Remember that if it has 250-STARTTLS (you configured it for encryption) you must have a certificate on your server with valid credentials, _or_ you if you have a self-signed cert, you must import the CA into your certificate keychain. /Þór On 16.4.2013, at 15:36, Theodore Petrosky wrote: does anyone have experience with ERJavaMail and exchange server? I can not seem to get my app to talk to the exchange server. DEBUG SMTP: Attempt to authenticate DEBUG SMTP: check mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM DEBUG SMTP: mechanism LOGIN not supported by server DEBUG SMTP: mechanism PLAIN not supported by server DEBUG SMTP: mechanism DIGEST-MD5 not supported by server DEBUG SMTP: mechanism NTLM not supported by server ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ImageIO Native Java 1.6
If you don't want to pollute your system with macports/fink, then you can use the cactuslabs build: http://cactuslab.com/imagemagick/ /Þór On 2.4.2013, at 12:55, Kieran Kelleher wrote: Hi Johnny, If you need a fix in a hurry and you don't get this one solved, then ImageMagick can be a reliable alternative for ERAttachment that is also cross platform too. MacPorts is the simplest way to install IMHO: http://www.imagemagick.org/script/binary-releases.php#macosx $ sudo port install ImageMagick After that you just add a few entries to Properties file like this to switch and you are done: er.attachment.thumbnail.imageProcessor=imagemagick er.attachment.ImageProcessor.imageMagickBinFolder.mac=/opt/local/bin and if you deploy on Linux, just add this prop: er.attachment.ImageProcessor.imageMagickBinFolder.linux=/usr/bin HTH, Kieran On Apr 1, 2013, at 9:06 PM, Johnny Miller jlmil...@kahalawai.commailto:jlmil...@kahalawai.com wrote: Hi, I have a system running OS X 10.5 and after I upgraded to Java 1.6 I noticed that ERAttachment is no longer using the native image processor. Did anyone else have a similar problem? I tried recompiling the project but it did not help. Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 websitehttp://www.kahalawai.com/ | e-mailmailto:%20jlmil...@kahalawai.com [http://www.kahalawai.com/email.gif] ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com This email sent to kelleh...@gmail.commailto:kelleh...@gmail.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ImageIO Native Java 1.6
Actually no - since macports and fink install dependant libraries that the system already has installed, it's hardly an enhancement since now you have _two_ or more sets of the same libraries which each needs its own method of updating. The net result of overusing fink/macports is a machine that requires more time to manage than to use - hardly a productive result (unless you don't care about security, updates or management, in which case it's perfectly fine). One should strive to keep the management footprint at a minimum. /Þór On 2.4.2013, at 14:34, Kieran Kelleher wrote: There .. fixed it for you ;) On Apr 2, 2013, at 9:32 AM, Þór Sigurðsson th...@us.is wrote: If you don't want to enhance your system with macports/fink, then you can use the cactuslabs build: http://cactuslab.com/imagemagick/ /Þór Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: git authors before and after git-svn migration
Rather than stealing somebody elses limelight, I'll just point you in the general direction of: http://stackoverflow.com/questions/392332/retroactively-correct-authors-with-git-svn :) On 21.3.2013, at 13:18, Musall Maik wrote: Hi folks, at some point in the past I migrated several subversion repos to git. Although everything is working, there is a minor annoyance left. Author entries in current commits from me look like this: Author: Maik Musall m...@selbstdenker.agmailto:m...@selbstdenker.ag while commits from before the migration look like this: Author: maik maik@f954726d-a12f-0410-a0f4-afcb570274bb I know there are ways to configure git-svn before doing the migration to cope with that [1], but I didn't know that at the time. Do I have any options to change the old author entries to match the current ones so that they don't look like different authors? I suppose I can dig into the .git files somewhere, but I'm not comfortable doing that on my own. Thanks Maik ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Problems displaying Chinese in WO application
Hello Xavier, Thank you for your input. My browser is set to auto-detection (Normally I use Chrome, but once in a while I fire up other browsers for compatibility tests) - and even if I fix it to UTF-8, it makes no change. Looking at the source, I see that WebObjects itself replaced the chinese letters with question marks (i.e., it's not the browser which is failing on the chinese output - it's my application). Thinking back, I don't recall ever having been able to output asian characters, neither chinese nor japanese in WO... My webpage does contain an utf-8 meta header headers and start of document: HTTP/1.0 200 Apple WebObjects cache-control: private cache-control: no-cache cache-control: no-store cache-control: must-revalidate cache-control: max-age=0 expires: Sun, 10-Mar-2013 12:33:53 GMT content-type: text/html; charset=ISO-8859-1 pragma: no-cache x-webobjects-loadaverage: 1 date: Sun, 10-Mar-2013 12:33:53 GMT content-length: 2693 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN html head meta charset=utf-8 one thing I notice: The document is presenting itself as UTF-8, but the server (java/WO) is presenting the root as latin-1 (iso88591). Now I can't imagine that being any other than a problem. Then the question remains - where to change that to turn it into a fully-fledged UTF8 service ? Regards, Þór On 11.3.2013, at 08:04, Dev WO wrote: Hi, The first thing you could check, is forcing the page to display as UTF-8 in your browser (usually through the ViewText Encoding menu). If it displays the Chinese text correctly, it means you are missing a configuration somewhere: -do you have something like meta http-equiv=content-type content=text/html;charset=utf-8 in your page HTML head section? -Are you using Wonder? (it should default to UTF-8 I think or there's a property for that). It shouldn't be a big issue, your setup seems pretty much as it should be. Xavier Hi all, I'm writing an application that is translated into Icelandic, English and Chinese. I have a PostgreSQL database, defined as such: List of databases Name| Owner | Encoding | Collate | Ctype | Access privileges ---+---+--+-+---+--- thor | thor | UTF8 | is_IS | is_IS | I have _all_ of my project set to use UTF-8 as well. A sample of the database translation strings is as such: thor=# select * from onlanguagetranslations where key='log_in'; id | lang | key | translation +--++- 25 |1 | log_in | 24 26 |2 | log_in | 25 27 |3 | log_in | 26 (3 rows) and thor=# select * from onlanguagetranslationentry where translationid in (24, 25, 26); id | revision |revisiondate | translation | translationid +--+-+-+--- 26 |1 | 2013-03-10 00:00:00 | Log In |24 27 |1 | 2013-03-10 00:00:00 | Innskrá |25 28 |1 | 2013-03-10 00:00:00 | 身份登录|26 (3 rows) The database is clearly correct ( I can dump it to a file and edit in a editor - SubEthaEdit - which identifies it as UTF8) I use a component which display part ( html ) is simply wo:str value=$translation parseHTML=false/ and the translation function reads the language translation based on an input key and the session language setting. When I display the output in a browser, the English translation shows fine ( no wonder..), the Icelandic one does also show just fine, but the Chinese one only shows instead of 身份登录. Does anyone know some magic trick I may perform, sans sacrificing a goat or my firstborn.. ? Thanks in advance, Þór Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com This email sent to webobje...@anazys.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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Problems displaying Chinese in WO application
And the price goes to Hugi Thordarson and Bogdan Zlatanov :) Thanks both of you - very much a Nail, meet Hammer. Hammer, Nail! moment :) Takk kærlega fyrir! Tack så mycket! Thank you very much! 谢谢您!! ありがとうございます :) Regards, Þór On 11.3.2013, at 09:01, Hugi Thordarson wrote: Hi Þór! You can either stick this in your Application's Properties file: er.extensions.ERXApplication.DefaultEncoding=utf-8 …or this in your application's constructor: setDefaultEncoding( UTF-8 ); Cheers, - hugi // Hugi Thordarson // http://www.godurkodi.is/ On 11.3.2013, at 09:02, Bogdan Zlatanov wrote: Hi, You probably have already tried this, but take a look here: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Localization_and_Internationalization Cheers On 11.3.2013, at 08:50, Þór Sigurðsson th...@us.is wrote: Hello Xavier, Thank you for your input. My browser is set to auto-detection (Normally I use Chrome, but once in a while I fire up other browsers for compatibility tests) - and even if I fix it to UTF-8, it makes no change. Looking at the source, I see that WebObjects itself replaced the chinese letters with question marks (i.e., it's not the browser which is failing on the chinese output - it's my application). Thinking back, I don't recall ever having been able to output asian characters, neither chinese nor japanese in WO... My webpage does contain an utf-8 meta header headers and start of document: HTTP/1.0 200 Apple WebObjects cache-control: private cache-control: no-cache cache-control: no-store cache-control: must-revalidate cache-control: max-age=0 expires: Sun, 10-Mar-2013 12:33:53 GMT content-type: text/html; charset=ISO-8859-1 pragma: no-cache x-webobjects-loadaverage: 1 date: Sun, 10-Mar-2013 12:33:53 GMT content-length: 2693 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN html head meta charset=utf-8 one thing I notice: The document is presenting itself as UTF-8, but the server (java/WO) is presenting the root as latin-1 (iso88591). Now I can't imagine that being any other than a problem. Then the question remains - where to change that to turn it into a fully-fledged UTF8 service ? Regards, Þór On 11.3.2013, at 08:04, Dev WO wrote: Hi, The first thing you could check, is forcing the page to display as UTF-8 in your browser (usually through the ViewText Encoding menu). If it displays the Chinese text correctly, it means you are missing a configuration somewhere: -do you have something like meta http-equiv=content-type content=text/html;charset=utf-8 in your page HTML head section? -Are you using Wonder? (it should default to UTF-8 I think or there's a property for that). It shouldn't be a big issue, your setup seems pretty much as it should be. Xavier Hi all, I'm writing an application that is translated into Icelandic, English and Chinese. I have a PostgreSQL database, defined as such: List of databases Name| Owner | Encoding | Collate | Ctype | Access privileges ---+---+--+-+---+--- thor | thor | UTF8 | is_IS | is_IS | I have _all_ of my project set to use UTF-8 as well. A sample of the database translation strings is as such: thor=# select * from onlanguagetranslations where key='log_in'; id | lang | key | translation +--++- 25 |1 | log_in | 24 26 |2 | log_in | 25 27 |3 | log_in | 26 (3 rows) and thor=# select * from onlanguagetranslationentry where translationid in (24, 25, 26); id | revision |revisiondate | translation | translationid +--+-+-+--- 26 |1 | 2013-03-10 00:00:00 | Log In |24 27 |1 | 2013-03-10 00:00:00 | Innskrá |25 28 |1 | 2013-03-10 00:00:00 | 身份登录|26 (3 rows) The database is clearly correct ( I can dump it to a file and edit in a editor - SubEthaEdit - which identifies it as UTF8) I use a component which display part ( html ) is simply wo:str value=$translation parseHTML=false/ and the translation function reads the language translation based on an input key and the session language setting. When I display the output in a browser, the English translation shows fine ( no wonder..), the Icelandic one does also show just fine, but the Chinese one only shows instead of 身份登录. Does anyone know some magic trick I may perform, sans sacrificing a goat or my firstborn.. ? Thanks in advance, Þór Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list
Problems displaying Chinese in WO application
Hi all, I'm writing an application that is translated into Icelandic, English and Chinese. I have a PostgreSQL database, defined as such: List of databases Name| Owner | Encoding | Collate | Ctype | Access privileges ---+---+--+-+---+--- thor | thor | UTF8 | is_IS | is_IS | I have _all_ of my project set to use UTF-8 as well. A sample of the database translation strings is as such: thor=# select * from onlanguagetranslations where key='log_in'; id | lang | key | translation +--++- 25 |1 | log_in | 24 26 |2 | log_in | 25 27 |3 | log_in | 26 (3 rows) and thor=# select * from onlanguagetranslationentry where translationid in (24, 25, 26); id | revision |revisiondate | translation | translationid +--+-+-+--- 26 |1 | 2013-03-10 00:00:00 | Log In |24 27 |1 | 2013-03-10 00:00:00 | Innskrá |25 28 |1 | 2013-03-10 00:00:00 | 身份登录|26 (3 rows) The database is clearly correct ( I can dump it to a file and edit in a editor - SubEthaEdit - which identifies it as UTF8) I use a component which display part ( html ) is simply wo:str value=$translation parseHTML=false/ and the translation function reads the language translation based on an input key and the session language setting. When I display the output in a browser, the English translation shows fine ( no wonder..), the Icelandic one does also show just fine, but the Chinese one only shows instead of 身份登录. Does anyone know some magic trick I may perform, sans sacrificing a goat or my firstborn.. ? Thanks in advance, Þór Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Hello World Project - Installation Development
I actually reinstalled my laptop the other day, and having done numerous e3.7 and e3.8 installations in the past months both on Linux and OS X.7, I decided to give this clean OS X.8 system the chance of e4.2 and the latest Wonder. Previous installations have usually been accompanied by a grain of strain and a barrel of bile (on my part) where any random thing could go wrong. This time around however, I was pleasantly surprised. e4.2 - success (this can hardly fail) WOLips - success (this only fails if one gets the URL wrong) *IGNORED* the wolips.543.properties advice - renamed wolips.properties to .dist, created *new* wolips.properties from contents of the webpage, and only did :s/YOUR_USER_NAME_HERE\!/thor/g (yes yes.. I use vi...) WO - (this only fails if the internet connection is borked) Copy the woproject.jar to /usr/share/ant/lib Wonder - (this has been my biggest problem so far, but this time.) git clone git checkout integration for item in frameworks applications examples ; do ant $item sudo ant $item.install ; done Smooth as silk underwear. From what I can see on the surface, there are still some quirks in 4.2 (like the EOModeler, clicking fields populates them with data from other irrelevant fields), but overall, it seems to do just fine. A project I'm working on will serve as a proof of concept if 4.2 is ready (for me) or not :) But thanks to the community and contributors for a surprisingly pleasant install experience :) *cheers!* Þór On 26.2.2013, at 19:09, James Cicenia wrote: Having tried multiple times over the years... this is a minor miracle. Thank you On Feb 26, 2013, at 1:02 PM, Chuck Hill ch...@global-village.net wrote: That has to be a first! Well done Markus! Chuck On 2013-02-26, at 10:57 AM, David Holt wrote: Hi Markus, I just wanted to let you know that I needed to install everything on a coworker's Mac yesterday that had never used WebObjects before and it went as smoothly as could be hoped following your document. Thanks for your hard work on it! David On 2013-01-14, at 4:18 AM, Markus Ruggiero mailingli...@kataputt.com wrote: Hi Ute, I am writing a full intro book to Wonder and WebObjects. The initial chapters about setting up the environment are free and available for download from www.kataputt.com. You might want to have a look at it, I think it will answer all (? hopefully!) your questions. Have fun ---markus--- On 14.01.2013, at 11:50, ute Hoffmann u.hoffm...@tt-pixelmind.com wrote: Hi, I have done a development tools installation with the help of the community wiki. I confirmed that WOLips is installed. All steps on the installation page have been done. This is my first install of eclipse and the wonder toolset, up to now I was a xcode user for WebObjects programming. I would now like to do a simple Hello World App (next tutorial in the wiki), but I have no Wonder Application selection option under New. Has anyone a idea what went wrong? Regards, Ute ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com This email sent to mailingli...@kataputt.com Markus Ruggiero mailingli...@kataputt.com Check out the new book about Project Wonder and WebObjects on http://www.kataputt.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: https://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: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services 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/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ Do not post admin requests to the list. They will be ignored.
Re: foreach: list must not be a constant
Check if these lines are missing from your project's build.properties file: component.inlineBindingPrefix=$ component.inlineBindingSuffix= component.wellFormedTemplateRequired=false /Þór On 14.2.2013, at 19:24, John Pollard wrote: Hi List, In wolips html view I get an error on the first line of the following html code: wo:foreach list=$playerGroups item=$nextPlayerGroup wo:ERQMListViewElement h3webobject name=playerGroupLink/webobject/h3 /wo:ERQMListViewElement /wo:foreach The error is on the foreach line: list must not be a constant, though it isn't a constant and it works ok when run. I have updated wolips based on http://wocommunity.org/wolips/3.7/stable/ Thanks for any help. John ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: table create and charset
If I right-click on the .eomodeld file in the WO Explorer in Eclipse and select properties there, I get the same properties window as you have ( with the sole difference that I also have SVN Info since I have the project in SubVersion. The other preference window I got after opening the eomodeld in EOModeler and select the project-properties menu from within EOModeler.. But even there I see Inherited from container (UTF-8) where you have Inherited from container (MacRoman). Here's a snippet from our Eclipse configuration guide which we abide by :) Component text encoding • Right click on components.woo file and Open with - Text Editor. • Replace encoding with NSUTF8StringEncoding Settings in Eclipse • All textfiles, code and components shall be UTF-8 encoded. Preferences - General - Workspace - Text file Encoding (flipi) - Other: UTF-8 (there is one exception from this rule, textfiles need to be saved as UTF-16. That is set for each textfile separately and on demand. • (Text file line delimiter UNIX ?) Since you already created a project with MacRoman, you may need to recreate the project after changing the settings and restarting Eclipse, but you may also change the encoding of the project (right-click the project and select preferences) and then change the encoding of each file as you move on. - Unless your project is already very complex, a recreation may be beneficial in the long run. Með kveðju, Þór Sigurðsson Tölvunarfræðingur - forritari Sími: 580-2000 [cid:_4_0390B880039098AC0030153F00257A8B] Umferðarstofa - Borgartún 30 - 105 Reykjavík On 12.2.2013, at 18:50, yizi wang wrote: I do have properties inspector from Project menu.. But for some reason it only shows very little items... See attached screenshots, one is your original, the other is mine. Any reason why they are so different? Any lib/framework I need to add to the project in order to fix this? Thanks for your help again. PastedGraphic-4.gif Screen shot 2013-02-12 at 11.38.44 AM.png On Feb 7, 2013, at 12:56 AM, Þór Sigurðsson wrote: Hi, You sure there's no Properties in the Project menu of the EOModeler ? If there's none, that would sound very odd.. For the record, the screenshot I took is from Eclipse 3.8 and it's relevant libraries. I do have 4.2 running in a VM, but I can assure you there's not big difference... (in case my screenshot isn't too clear, those are two windows - the modeller and its property window... ) Með kveðju, Þór Sigurðsson Tölvunarfræðingur - forritari Sími: 580-2000 [cid:_4_0390B880039098AC0030153F00257A8B] Umferðarstofa - Borgartún 30 - 105 Reykjavík On 7.2.2013, at 02:17, yizi wang wrote: Thanks a lot Þór Sigurðsson! I didn't know of that. So that's probobaly it! Maybe my eomodeler is old. I don't see such option there. Do I need a newer version of everything? __eomodeler.gif On Feb 5, 2013, at 12:52 AM, Þór Sigurðsson wrote: Hi, I'm not sure this is the issue, but have you set your project properties to use UTF-8 ? Fron the EOModeller, project-properties: [cid:61A89D27-1231-4586-A6B4-9372DDAAFF97] On 4.2.2013, at 20:53, yizi wang wrote: I'm using mysql with default char set in my.cnf like [client] #password = your_password default-character-set = utf8 port = 3306 socket = /tmp/mysql.sock # Here follows entries for some specific programs # The MySQL server [mysqld] port = 3306 socket = /tmp/mysql.sock datadir = /datastore/DBData/mysqldata default-character-set = utf8 collation-server = utf8_unicode_ci init-connect='SET NAMES utf8' character-set-server = utf8 === But the EOModeler still generate tables with DEFAULT CHARSET=latin1 Is there anything wrong with my settings of Eclipse/WOLisp/WebObjects? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.commailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/thors%40us.is This email sent to th...@us.ismailto:th...@us.is Fyrirvari á tölvupósti / e-mail disclaimer http://us.is/fyrirvari inline: ATT1.png ___ 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com