Re: New WebObjects Site released.
Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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
WODisplayGroup repeats the same EO
Hi all, This is one for posterity. AKA: When I'm an idiot in the future. I was having a problem with a WODisplayGroup that would have the right number of objects in the selectedObjects Array, but they were all instances of the same EO. Easy, you say; there's something wrong with the item setter on the WORepetition. Not so fast. It the setter was fine. The SQL that was being used to fetch the data was right too. The model was wrong. The PK in the FrontBase DB was a LONGINT, but the PK in the EOModel had an external type of INT. The value stored in the DB field was not too long for an INT and an ALTER TABLE statement changed it without issue. Apparently there something about the process in the JDBC driver or EOF that chokes on it turning a Long into an Integer, but not enough to throw an exception, but enough to make all the values the same, in a non-deterministic way. If I quit and relaunched the app, it would likely repeat a different instance, but not always. 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: formValueForKey
Am 01.09.2011 um 18:20 schrieb Gino Pacitti: The '+' symbol here: 3CC0hsl3LP0e4ruLa+icqdcIKDe9nNhNU9... seems to be replaced with a space: 3CC0hsl3LP0e4ruLa icqdcIKDe9nNhNU9... Any ideas why formValueForKey does this? Because a + in an URL is a placeholder for a space. You have to escape it. http://www.blooberry.com/indexdot/html/topics/urlencoding.htm atze ___ 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
Newbie question about ERRest
Hi all, We are starting using ERRest in our team and I have a first question: The default way to get an object (in our case a Project) is : GET /ra/Project/id But suppose we have our own globalUID that is not the primary key or if we want to use something else (for example login for a user as we suppose the login is unique), how can we achieve that? We look at the ERRestExample source and we saw in the PersonController class, method Person(): person= routeObjectForKey(Person); So the fetch must be handled by routeObjectForKey, I guess… and we have to change something around. Other philosophical question about Rest: does it make sense to get a person with their login? I'm more confident with the globalUID if we don't want to expose the primary key. Thanks, Philippe ___ 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: Newbie question about ERRest
Le 2011-09-02 à 08:49, Philippe Rabier a écrit : Hi all, We are starting using ERRest in our team and I have a first question: The default way to get an object (in our case a Project) is : GET /ra/Project/id But suppose we have our own globalUID that is not the primary key or if we want to use something else (for example login for a user as we suppose the login is unique), how can we achieve that? You need to add routes in the request handler, something like this: routeRequestHandler.addRoute(new ERXRoute(Project.ENTITY_NAME, /Project/{uid:String}, ERXRoute.Method.GET, ProjectController.class)); And in your controller: String uid = routeObjectForKey(uid); Project aProject = Project.fetchProject(editingContext, Project.UID.eq(uid)); We look at the ERRestExample source and we saw in the PersonController class, method Person(): person= routeObjectForKey(Person); So the fetch must be handled by routeObjectForKey, I guess… and we have to change something around. Other philosophical question about Rest: does it make sense to get a person with their login? I'm more confident with the globalUID if we don't want to expose the primary key. What do you mean with their login? By passing the username and password to a route? ___ 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: Newbie question about ERRest
Thanks Pascal but we are still a little bit confused. I answer the last Q first which is simple: it was not the idea to pass the username and password as in your WOWODC slide. I thought about the login value like www.wocommunity.org/ra/user/probert if probert is your login. But not sure it's a good option to do that. Regarding the uid, so I should write (based on the ERRestExample) something like that: Project project() { String uid = routeObjectForKey(uid); Project aProject = Project.fetchProject(editingContext, Project.UID.eq(uid)); return aProject; } Is that right? So by convention and I should say, the default implementation, everything has been designed to get object based on their primary key, isn't it? Philippe On 2 sept. 2011, at 14:59, Pascal Robert wrote: Le 2011-09-02 à 08:49, Philippe Rabier a écrit : Hi all, We are starting using ERRest in our team and I have a first question: The default way to get an object (in our case a Project) is : GET /ra/Project/id But suppose we have our own globalUID that is not the primary key or if we want to use something else (for example login for a user as we suppose the login is unique), how can we achieve that? You need to add routes in the request handler, something like this: routeRequestHandler.addRoute(new ERXRoute(Project.ENTITY_NAME, /Project/{uid:String}, ERXRoute.Method.GET, ProjectController.class)); And in your controller: String uid = routeObjectForKey(uid); Project aProject = Project.fetchProject(editingContext, Project.UID.eq(uid)); We look at the ERRestExample source and we saw in the PersonController class, method Person(): person= routeObjectForKey(Person); So the fetch must be handled by routeObjectForKey, I guess… and we have to change something around. Other philosophical question about Rest: does it make sense to get a person with their login? I'm more confident with the globalUID if we don't want to expose the primary key. What do you mean with their login? By passing the username and password to a route? ___ 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: Newbie question about ERRest
Le 2011-09-02 à 09:28, Philippe Rabier a écrit : Thanks Pascal but we are still a little bit confused. I answer the last Q first which is simple: it was not the idea to pass the username and password as in your WOWODC slide. I thought about the login value like www.wocommunity.org/ra/user/probert if probert is your login. But not sure it's a good option to do that. Everything is an option :-) It mainly depends what you have at the client side, eg if you don't know the primary key of a User, well it would be hard to fetch that based on the primary key :-) Regarding the uid, so I should write (based on the ERRestExample) something like that: Project project() { String uid = routeObjectForKey(uid); Project aProject = Project.fetchProject(editingContext, Project.UID.eq(uid)); return aProject; } Is that right? That's right, and you call project() in showAction(). So by convention and I should say, the default implementation, everything has been designed to get object based on their primary key, isn't it? Exact. Philippe On 2 sept. 2011, at 14:59, Pascal Robert wrote: Le 2011-09-02 à 08:49, Philippe Rabier a écrit : Hi all, We are starting using ERRest in our team and I have a first question: The default way to get an object (in our case a Project) is : GET /ra/Project/id But suppose we have our own globalUID that is not the primary key or if we want to use something else (for example login for a user as we suppose the login is unique), how can we achieve that? You need to add routes in the request handler, something like this: routeRequestHandler.addRoute(new ERXRoute(Project.ENTITY_NAME, /Project/{uid:String}, ERXRoute.Method.GET, ProjectController.class)); And in your controller: String uid = routeObjectForKey(uid); Project aProject = Project.fetchProject(editingContext, Project.UID.eq(uid)); We look at the ERRestExample source and we saw in the PersonController class, method Person(): person= routeObjectForKey(Person); So the fetch must be handled by routeObjectForKey, I guess… and we have to change something around. Other philosophical question about Rest: does it make sense to get a person with their login? I'm more confident with the globalUID if we don't want to expose the primary key. What do you mean with their login? By passing the username and password to a route? ___ 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: ERXBatchingDisplayGroup
Thank you Chuck and Ramsey... It seems it was a combination of calling a fetch() and also having the shouldRememberRowCount set to true (Wasn't updating my navigation bar!). Appreciate the help. Thanks, Chris Pastore On Sep 1, 2011, at 5:03 PM, Chuck Hill wrote: I can confirm that you do need to do this. On 2011-09-01, at 1:59 PM, Ramsey Gurley wrote: I'm not sure how the AjaxGrid works, but did you fetch() your displaygroup to get the new object into your datasource? Ramsey On Sep 1, 2011, at 1:52 PM, Chris Pastore wrote: Hello, I have a quick question regarding the ERXBatchingDisplayGroup. I have an ajaxgrid and nav bar inside an update container, using the displaygroup. I use a modal dialog to create a new EO, and then save that EO. On Close of the modal dialog, I update the displaygroup. The new object is not displayed. If I leave the page and come back, the new object is displayed. What's odd is If I edit a current item in the ajaxgrid using the same modal dialog, the change is reflected when the dialog is closed. The displaygroup is being created in code, and I am passing in an EOQualifier. I was under the impression that when the update container is refreshed, and then refreshes the grid, that it would re-evaluate the displaygroup's qualifier. Is that not the case? Could I be missing something else? I appreciate the help! Thanks, Chris Pastore ___ 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/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.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: New WebObjects Site released.
Always good to see a friend working on a project he really enjoys (^_^) A most interesting WO site indeed. Ramsey On Sep 2, 2011, at 12:02 AM, ISHIMOTO Ken wrote: Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/ramseygurley%40gmail.com This email sent to ramseygur...@gmail.com smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
path in .java question
I want to read a file when my app launches: File f = new File(AllCountries.txt); I don't understand the path! if AllCountries.txt lives in the WebServerResources folder, what is the path I should use to access it? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Newbie question about ERRest
So by convention and I should say, the default implementation, everything has been designed to get object based on their primary key, isn't it? yes, the default impl is PK ... you can write a custom IERXRestDelegate implementation that uses something other than PK, though, but it means you will be using that everywhere this entity is used. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: path in .java question
You should use WOResourceManager/ERXResourceManager On Fri, Sep 2, 2011 at 8:53 AM, Theodore Petrosky tedp...@yahoo.com wrote: I want to read a file when my app launches: File f = new File(AllCountries.txt); I don't understand the path! if AllCountries.txt lives in the WebServerResources folder, what is the path I should use to access it? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com This email sent to ted.archib...@gmail.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
Intro to ERRest presentation?
At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. So the question, does anyone want an Introduction to ERRest presentation over WebEx (and recorded too)? I could do one in October if enough people ( 10) want one. Contact me if you want the presentation to happen. FYI, I submitted a paper to present ERRest (and WO/Wonder) at a conference here in Montreal: http://confoo.ca/en/call-for-papers/1219 ___ 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: path in .java question
In the general case, if it's a WebServerResource, you can't count on being able to write to it because it could live on a completely different machine that is serving your webserver static resources in a split install. ms On Sep 2, 2011, at 10:57 AM, Ted Archibald wrote: You should use WOResourceManager/ERXResourceManager On Fri, Sep 2, 2011 at 8:53 AM, Theodore Petrosky tedp...@yahoo.com wrote: I want to read a file when my app launches: File f = new File(AllCountries.txt); I don't understand the path! if AllCountries.txt lives in the WebServerResources folder, what is the path I should use to access it? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com This email sent to ted.archib...@gmail.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/mschrag%40pobox.com This email sent to msch...@pobox.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: Intro to ERRest presentation?
On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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: Newbie question about ERRest
Thanks Mike. I deduced that when I read the source code of your example. Philippe Sent from my iPhone On 2 sept. 2011, at 16:55, Mike Schrag msch...@pobox.com wrote: So by convention and I should say, the default implementation, everything has been designed to get object based on their primary key, isn't it? yes, the default impl is PK ... you can write a custom IERXRestDelegate implementation that uses something other than PK, though, but it means you will be using that everywhere this entity is used. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Intro to ERRest presentation?
To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no pb so far. I cross the fingers. Now, regarding your questions, Jesse, there are some answers in the Pascal's keynote about Rest and how handle security. But it's not free yet. Philippe Sent from my iPhone On 2 sept. 2011, at 17:26, Jesse Tayler jtay...@oeinc.com wrote: On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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/prabier%40me.com This email sent to prab...@me.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: App thinks name is MainBundle
On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote: I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is: http://localhost/cgi-bin/WebObjects/MainBundle.woa/- I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including: .project: projectDescription namenetBrackets/name build.xml: project name=netBrackets default=build basedir=. build.properties: project.name=netBrackets principalClass=com.netbrackets.app.Application project.name.lowercase=netbrackets Try adding project.type=application any ideas what's going on? Thanks! Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: Intro to ERRest presentation?
Le 2011-09-02 à 11:56, Philippe Rabier a écrit : To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no pb so far. I cross the fingers. Now, regarding your questions, Jesse, there are some answers in the Pascal's keynote about Rest and how handle security. But it's not free yet. FYI, what is covered in my two 2011 sessions: • What's new in ERRest • Security • Versioning • HTML routing • Debugging • Caching • Optimistic locking • Using the correct HTTP verbs and codes As Philippe said, for now they are for people who attended WOWODC 2011 or for members of the Community Program. In the coming months, I hopefully do the following presentations: Localization ERRest and Dojo ERRest and SproutCore HTML5 Storage File uploads/downloads Consuming REST services ERRest and Titanium HATEOAS/Atom Philippe Sent from my iPhone On 2 sept. 2011, at 17:26, Jesse Tayler jtay...@oeinc.com wrote: On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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/prabier%40me.com This email sent to prab...@me.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: Intro to ERRest presentation?
I think we need the Pascal Robert show and cable TV channel like Oprah. On Sep 2, 2011, at 12:24 PM, Pascal Robert wrote: Le 2011-09-02 à 11:56, Philippe Rabier a écrit : To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no pb so far. I cross the fingers. Now, regarding your questions, Jesse, there are some answers in the Pascal's keynote about Rest and how handle security. But it's not free yet. FYI, what is covered in my two 2011 sessions: • What's new in ERRest • Security • Versioning • HTML routing • Debugging • Caching • Optimistic locking • Using the correct HTTP verbs and codes As Philippe said, for now they are for people who attended WOWODC 2011 or for members of the Community Program. In the coming months, I hopefully do the following presentations: Localization ERRest and Dojo ERRest and SproutCore HTML5 Storage File uploads/downloads Consuming REST services ERRest and Titanium HATEOAS/Atom Philippe Sent from my iPhone On 2 sept. 2011, at 17:26, Jesse Tayler jtay...@oeinc.com wrote: On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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/prabier%40me.com This email sent to prab...@me.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: Intro to ERRest presentation?
Le 2011-09-02 à 12:37, Jesse Tayler a écrit : I think we need the Pascal Robert show and cable TV channel like Oprah. That channel would need sub-titles :-) On Sep 2, 2011, at 12:24 PM, Pascal Robert wrote: Le 2011-09-02 à 11:56, Philippe Rabier a écrit : To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no pb so far. I cross the fingers. Now, regarding your questions, Jesse, there are some answers in the Pascal's keynote about Rest and how handle security. But it's not free yet. FYI, what is covered in my two 2011 sessions: • What's new in ERRest • Security • Versioning • HTML routing • Debugging • Caching • Optimistic locking • Using the correct HTTP verbs and codes As Philippe said, for now they are for people who attended WOWODC 2011 or for members of the Community Program. In the coming months, I hopefully do the following presentations: Localization ERRest and Dojo ERRest and SproutCore HTML5 Storage File uploads/downloads Consuming REST services ERRest and Titanium HATEOAS/Atom Philippe Sent from my iPhone On 2 sept. 2011, at 17:26, Jesse Tayler jtay...@oeinc.com wrote: On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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/prabier%40me.com This email sent to prab...@me.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
Problem with wolips.properties file on Windows
I have the following configuration: eclipse 3.6.2 with WOLips 3.6.70245 on Windows XP (unfortunately) I got everything compile correctly, just like on the same setup on my Mac. However, when I try to run the app, I get the following error: You do not have a 'wo.system.root' property set in your wolips.properties file. I have created the following file as per instructions: http://wiki.objectstyle.org/confluence/display/WOL/wolips.properties Windows: C:\Documents and Settings\user\Library\Application Support\WOLips\wolips.properties I also have wobuild.properties file at Windows: C:\Documents and Settings\user\Library\wobuild.properties both have the wo.system.root property in them. I have also tried creating an empty new project in eclipse, still the same issue (the other once were copied from Mac) Does anyone has similar issue? Thanks -Vlad ___ 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: Problem with wolips.properties file on Windows
Hi Vladimir: It's not quite that simple on Windows. When I setup a development machine for our customer I documented the following steps. I was using Windows 7 and they were using Windows XP, IIRC. I thought that when you launch Eclipse with WOLips it would create the right file. But maybe I am wrong. Here are the steps that I send to our customer with regards to the location of the wolips.properties file. [] 3.7. On Command Prompt: echo %APPDATA% [] 3.8. Check for wolips.properties in %APPDATA%/WOLips/ [] 3.9. Replace contents of wolips.properties (%APPDATA%/WOLips) with what is on CD [] 3.10. Correct paths in new wolips.properties file for wo.user.xxx properties [] 3.11. Start eclipse again Michael. On 9/2/2011 10:13 AM, Vladimir Forfutdinov wrote: I have the following configuration: eclipse 3.6.2 with WOLips 3.6.70245 on Windows XP (unfortunately) I got everything compile correctly, just like on the same setup on my Mac. However, when I try to run the app, I get the following error: You do not have a 'wo.system.root' property set in your wolips.properties file. I have created the following file as per instructions: http://wiki.objectstyle.org/confluence/display/WOL/wolips.properties *Windows*: C:\Documents and Settings\user\Library\Application Support\WOLips\wolips.properties I also have wobuild.properties file at *Windows*: C:\Documents and Settings\user\Library\wobuild.properties both have the wo.system.root property in them. I have also tried creating an empty new project in eclipse, still the same issue (the other once were copied from Mac) Does anyone has similar issue? Thanks -Vlad ___ 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/mhast%40desertsky.com This email sent to mh...@desertsky.com -- Tel: (602) 279-4600 ext: 635 Desert Sky Software: www.desertsky.com Specializing in the Development and Hosting of e-Business Applications. ___ 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: Intro to ERRest presentation?
funny you should say! I love your accent! now, I always say: wo-leeps trying to sound like you! sometimes I just say the word because I like it. all because the first video tutorial I saw on eclipse was you and the word just caught on with me... wo-leeps…hehe. On Sep 2, 2011, at 12:59 PM, Pascal Robert wrote: Le 2011-09-02 à 12:37, Jesse Tayler a écrit : I think we need the Pascal Robert show and cable TV channel like Oprah. That channel would need sub-titles :-) On Sep 2, 2011, at 12:24 PM, Pascal Robert wrote: Le 2011-09-02 à 11:56, Philippe Rabier a écrit : To be honest, the WOWODC'09 and '10 + the example are good enough to start and do some stuffs. Maybe some explanations on WOCommunity.org, something highly visible like: You want to use Rest with WO? Look at the videos x and y and use the sample code. We started to use ERRest yesterday so no pb so far. I cross the fingers. Now, regarding your questions, Jesse, there are some answers in the Pascal's keynote about Rest and how handle security. But it's not free yet. FYI, what is covered in my two 2011 sessions: • What's new in ERRest • Security • Versioning • HTML routing • Debugging • Caching • Optimistic locking • Using the correct HTTP verbs and codes As Philippe said, for now they are for people who attended WOWODC 2011 or for members of the Community Program. In the coming months, I hopefully do the following presentations: Localization ERRest and Dojo ERRest and SproutCore HTML5 Storage File uploads/downloads Consuming REST services ERRest and Titanium HATEOAS/Atom Philippe Sent from my iPhone On 2 sept. 2011, at 17:26, Jesse Tayler jtay...@oeinc.com wrote: On Sep 2, 2011, at 11:04 AM, Pascal Robert wrote: At WOWODC and outside WOWODC, I heard a couple of people asking for a ERRest intro presentation. I'm wondering why, since I think the two presentations did about ERRest is good for starting with ERRest. You might step into a bit of best practices in ERRest - once the basics are setup, it's not clear how people choose to handle certain things. - Returning codes and handling errors - Adding security checks and client certificates - Returning deep data - when to or not to export relationship data - Complex updates using relationship keys Just a thought since it has become such an important part of many projects. I still struggle without being able to commit and rollback whole transactions -- I end up creating one object to get a key, then connecting the key to the next object and create its key…I still wonder if this is the best I can do there. So, those are my suggestions for a new video or tutorial because the basics are well done on the prior videos for sure! ___ 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/prabier%40me.com This email sent to prab...@me.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: WODisplayGroup repeats the same EO
On Sep 2, 2011, at 12:35 AM, David Avendasora wrote: Hi all, This is one for posterity. AKA: When I'm an idiot in the future. I was having a problem with a WODisplayGroup that would have the right number of objects in the selectedObjects Array, but they were all instances of the same EO. Easy, you say; there's something wrong with the item setter on the WORepetition. Not so fast. It the setter was fine. The SQL that was being used to fetch the data was right too. The model was wrong. The PK in the FrontBase DB was a LONGINT, but the PK in the EOModel had an external type of INT. The value stored in the DB field was not too long for an INT and an ALTER TABLE statement changed it without issue. Apparently there something about the process in the JDBC driver or EOF that chokes on it turning a Long into an Integer, but not enough to throw an exception, but enough to make all the values the same, in a non-deterministic way. If I quit and relaunched the app, it would likely repeat a different instance, but not always. Dave ___ Was this in a Wonder app or a vanilla WO app? One thing that has occurred to me in the past is that there can be some model validation on application launch. If this problem was logged out from the app, would that have helped. I know one thing that always gets me in the fact that WOLips will reverse engineer an INT in a MySQL database into a Long. Also, there are bad things that people do in inheritance situations and bad things that people do while setting up certain relationships and we could just say that this is going to be bad. A class that would wait for applicationDidLaunch and then check the loaded models could go into ERExtensions. It could start small, people can add rules for the databases they know, and it could just advise on problems and otherwise stay out of the way. Unless this is already done somehow via a name I am not recognizing. Anyone know? cheers - ray ___ 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
Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
Hi all, Trying to get WebObjects running on a Mac mini sever with Mac OS X 10.7 (Lion), but the VirtualHost configuration is bothering me. None of my directives are working, have put copy of apache.conf into the others config folder with name webobjects.conf. The Adaptor is loaded, checked with apachectl -M, and apachectl -t, says Syntax OK, but the following directives, in the beginning of webobjects.conf file are not working: Alias /WebObjects /Library/WebServer/Documents/WebObjects Directory /Library/WebServer/Documents/WebObjects AllowOverride All Order allow,deny Allow from all /Directory LocationMatch /cgi-bin/WebObjects/.* Order allow,deny Allow from all /LocationMatch Trying to load the WOAdaptorInfo page, I'm getting the following error (error_log): File does not exist: /Library/Server/Web/Data/Sites/Default/cgi-bin I know, that this is a VirtualHost:*:443 directive issue, but don't know how to solve this in an elegant manner, e.g. without loosing Server.app support for virtual hosting. Any clues? Thanks -- Sergio ___ 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: Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
Find the line in httpd.conf that start with: ScriptAlias /cgi-bin And comment it. Hi all, Trying to get WebObjects running on a Mac mini sever with Mac OS X 10.7 (Lion), but the VirtualHost configuration is bothering me. None of my directives are working, have put copy of apache.conf into the others config folder with name webobjects.conf. The Adaptor is loaded, checked with apachectl -M, and apachectl -t, says Syntax OK, but the following directives, in the beginning of webobjects.conf file are not working: Alias /WebObjects /Library/WebServer/Documents/WebObjects Directory /Library/WebServer/Documents/WebObjects AllowOverride All Order allow,deny Allow from all /Directory LocationMatch /cgi-bin/WebObjects/.* Order allow,deny Allow from all /LocationMatch Trying to load the WOAdaptorInfo page, I'm getting the following error (error_log): File does not exist: /Library/Server/Web/Data/Sites/Default/cgi-bin I know, that this is a VirtualHost:*:443 directive issue, but don't know how to solve this in an elegant manner, e.g. without loosing Server.app support for virtual hosting. Any clues? Thanks -- Sergio ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
Hi, There was an Article on Apples Site, there is an BUG in Lion Server for VirtualHosting. Create a File : 「/etc/apache2/sites/temporaryfix.conf」 and add two lines below. That's it. NameVirtualHost *:80 NameVirtualHost *:443 Also on my mac-minis it worked without the comment out of ScriptAlias /cgi-bin. Like the script that I made. I use it now on 6 installation, and work in minutes. On 2011/09/02, at 20:36, Pascal Robert wrote: Find the line in httpd.conf that start with: ScriptAlias /cgi-bin And comment it. Hi all, Trying to get WebObjects running on a Mac mini sever with Mac OS X 10.7 (Lion), but the VirtualHost configuration is bothering me. None of my directives are working, have put copy of apache.conf into the others config folder with name webobjects.conf. The Adaptor is loaded, checked with apachectl -M, and apachectl -t, says Syntax OK, but the following directives, in the beginning of webobjects.conf file are not working: Alias /WebObjects /Library/WebServer/Documents/WebObjects Directory /Library/WebServer/Documents/WebObjects AllowOverride All Order allow,deny Allow from all /Directory LocationMatch /cgi-bin/WebObjects/.* Order allow,deny Allow from all /LocationMatch Trying to load the WOAdaptorInfo page, I'm getting the following error (error_log): File does not exist: /Library/Server/Web/Data/Sites/Default/cgi-bin I know, that this is a VirtualHost:*:443 directive issue, but don't know how to solve this in an elegant manner, e.g. without loosing Server.app support for virtual hosting. Any clues? Thanks -- Sergio ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca ___ 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/ken%40ksroom.com This email sent to k...@ksroom.com Thank you K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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
ModernLook fresh app, noobie question -- no add entity button?
Hello - I just cobbled together my model framework and my D2WWonder application. Without any mods... I launch it and it looks nice! However, I don't see a new or add entity button anywhere. Shouldn't they just appear with a fresh new project? I downloaded all the latest wonder binaries yesterday, so I am using current code. Thanks James smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ModernLook fresh app, noobie question -- no add entity button?
No. Look at the ERModernMoviesDemo for examples how to handle it in tabs. d On 2011-09-02, at 12:30 PM, James Cicenia wrote: Hello - I just cobbled together my model framework and my D2WWonder application. Without any mods... I launch it and it looks nice! However, I don't see a new or add entity button anywhere. Shouldn't they just appear with a fresh new project? I downloaded all the latest wonder binaries yesterday, so I am using current code. Thanks James ___ 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: ModernLook fresh app, noobie question -- no add entity button?
BTW, I tried to look at some video through iTunes (podcast) but it doesn't work 10 mn ago (this one : http://www.wocommunity.org/podcasts/wowodc/2010/GettingStartedWithWonder.mov ) If I remember correctly, iTunes doesn't host the videos. So it must have an issue somewhere. But it works on the wocommunity web site. Philippe On 2 sept. 2011, at 21:49, David Holt wrote: No. Look at the ERModernMoviesDemo for examples how to handle it in tabs. d On 2011-09-02, at 12:30 PM, James Cicenia wrote: Hello - I just cobbled together my model framework and my D2WWonder application. Without any mods... I launch it and it looks nice! However, I don't see a new or add entity button anywhere. Shouldn't they just appear with a fresh new project? I downloaded all the latest wonder binaries yesterday, so I am using current code. Thanks James ___ 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/prabier%40me.com This email sent to prab...@me.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: ModernLook fresh app, noobie question -- no add entity button?
BTW, I tried to look at some video through iTunes (podcast) but it doesn't work 10 mn ago (this one : http://www.wocommunity.org/podcasts/wowodc/2010/GettingStartedWithWonder.mov ) Strange, I'm able to download the Lucene podcast just fine. If I remember correctly, iTunes doesn't host the videos. So it must have an issue somewhere. But it works on the wocommunity web site. It's just a regular RSS feed, you can load it in Firefox or NetNewsWire. Philippe On 2 sept. 2011, at 21:49, David Holt wrote: No. Look at the ERModernMoviesDemo for examples how to handle it in tabs. d On 2011-09-02, at 12:30 PM, James Cicenia wrote: Hello - I just cobbled together my model framework and my D2WWonder application. Without any mods... I launch it and it looks nice! However, I don't see a new or add entity button anywhere. Shouldn't they just appear with a fresh new project? I downloaded all the latest wonder binaries yesterday, so I am using current code. Thanks James ___ 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/prabier%40me.com This email sent to prab...@me.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/probert%40macti.ca This email sent to prob...@macti.ca ___ 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: New WebObjects Site released.
All those years I spent in Taiwan... I knew I should have gone to Japan instead! On 2011-09-02, at 7:49 AM, Ramsey Gurley wrote: Always good to see a friend working on a project he really enjoys (^_^) A most interesting WO site indeed. Ramsey On Sep 2, 2011, at 12:02 AM, ISHIMOTO Ken wrote: Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/ramseygurley%40gmail.com This email sent to ramseygur...@gmail.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-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: WOCollapsibleComponentContent broken?
Blush, red faced ... Many moons ago I learned to read and now I seem to have forgotten everything. The name of the binding is submitActionName and not submitAction (note the missing Name part). Replacing submitActionName=reload by submitActionName=anything (note the quotes around anything) WOCollapsibleComponentContent works as it is supposed to. Well, it was a long day and hot one, too. Sorry for bothering and wasting bandwidth. Long live WO/D2W ---markus--- PS Customer is incredibly happy because I am able to fix issues right in the meeting while still discussing the point at hand! My MacBook Pro sits there and I can just edit a rule or two and when the customer is done explaining what he needs Ok, it's already done. Is this what you want? :-))) On 31.08.2011, at 13:31, Markus Ruggiero wrote: I have a weird thing going on here. Custom property level component in an out-of-the-box ERD2W NEUtral app (page config is CreateMyEntity or EditMyEntity). This custom component has a WOCollapsibleComponentContent that hides/reveals additional optional fields. no binding for submitActionName: I get a hyperlink for opening/closing. The hyperlink works but does not submit already entered form values. That I understand! submitActionName = I get a nice active image for form submission. However clicking it crashes with ...has no get() or _get() ... accessor (notice the missing part after the word get I can understand this, however the doc implies different things submitActionName = reload binding to public WOComponent reload() {return null} Displayed collapser reverts to *hyperlink*!!! This I do not understand! And according to WO5.4 doc this should be a submit button. Here is the relevant section from the Apple doc submitActionName The name of an action that is called upon collapse. This attribute functions only when the WOCollapsibleComponentContent component is embedded within a WOForm. If submitActionName is not defined or is set to null, the HTML element that expands the content is a hyperlink. Otherwise the it is a submit button. If you want to expand the content with a submit button, but don’t want it to invoke an action, set this attribute to the empty string (). Anyone knows/has any idea what is going on here? Thanks ---markus--- ___ 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/mailinglists%40kataputt.com This email sent to mailingli...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: New WebObjects Site released.
I had an uncle who spent his career working for IBM Japan. His nickname was Uncle Disney because we never knew what land he was coming from i.e. frontier, adventure, fantasy etc... Uncle Disney would have definitely plus oned this site. On Sep 2, 2011, at 11:33 AM, Chuck Hill wrote: All those years I spent in Taiwan... I knew I should have gone to Japan instead! On 2011-09-02, at 7:49 AM, Ramsey Gurley wrote: Always good to see a friend working on a project he really enjoys (^_^) A most interesting WO site indeed. Ramsey On Sep 2, 2011, at 12:02 AM, ISHIMOTO Ken wrote: Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/ramseygurley%40gmail.com This email sent to ramseygur...@gmail.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-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/jlmiller%40kahalawai.com This email sent to jlmil...@kahalawai.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: WODisplayGroup repeats the same EO
On Sep 3, 2011, at 1:50 AM, Ray Kiddy wrote: On Sep 2, 2011, at 12:35 AM, David Avendasora wrote: Hi all, This is one for posterity. AKA: When I'm an idiot in the future. I was having a problem with a WODisplayGroup that would have the right number of objects in the selectedObjects Array, but they were all instances of the same EO. Easy, you say; there's something wrong with the item setter on the WORepetition. Not so fast. It the setter was fine. The SQL that was being used to fetch the data was right too. The model was wrong. The PK in the FrontBase DB was a LONGINT, but the PK in the EOModel had an external type of INT. The value stored in the DB field was not too long for an INT and an ALTER TABLE statement changed it without issue. Apparently there something about the process in the JDBC driver or EOF that chokes on it turning a Long into an Integer, but not enough to throw an exception, but enough to make all the values the same, in a non-deterministic way. If I quit and relaunched the app, it would likely repeat a different instance, but not always. Dave ___ Was this in a Wonder app or a vanilla WO app? Ray, have you forgotten Montreal already?! There's no such thing as a vanilla WO app anymore. ;-) It's a Wonder app. One thing that has occurred to me in the past is that there can be some model validation on application launch. If this problem was logged out from the app, would that have helped. Well, it was model validation that got me into this mess in the first place! It choked on a FK that was an Integer that pointed to the PK being a Long. I figured that the easy way to fix it would be just to change the model since I knew that the actual values of the field would fit in an Integer just fine. I suppose if the there were a way to have EOF ask the DB directly what the datatypes of the each modeled attribute are, that would be great, but I'm guessing that every DB would have a different way of giving you that info, unless the JDBCInfo has it... don't know. Sounds like a nice solution that would have saved me several hours of head scratching though. I know one thing that always gets me in the fact that WOLips will reverse engineer an INT in a MySQL database into a Long. Also, there are bad things that people do in inheritance situations and bad things that people do while setting up certain relationships and we could just say that this is going to be bad. There is some of that. I'm guessing making sure the DB Plugin is accurate would eliminate a lot of issues. A class that would wait for applicationDidLaunch and then check the loaded models could go into ERExtensions. It could start small, people can add rules for the databases they know, and it could just advise on problems and otherwise stay out of the way. Unless this is already done somehow via a name I am not recognizing. Anyone know? I think just have the DBPlugIn do it. That already contains the glue between EOF and a datastore. Maybe even have an Interface that defines what the checks are so people have some way of seeing what things are left to be implemented for their DB's plugin. 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: New WebObjects Site released.
Seeing as this is an 18+ list, as you say, then perhaps some 18+ advice is also appropriate. http://www.biblegateway.com/passage/?search=Proverbs+5version=ESV some 2500+ years ago... My son, be attentive to my wisdom; incline your ear to my understanding, that you may keep discretion, and your lips may guard knowledge. For the lips of a forbidden woman drip honey, and her speech is smoother than oil, but in the end she is bitter as wormwood, sharp as a two-edged sword. Her feet go down to death; her steps follow the path to Sheol; she does not ponder the path of life; her ways wander, and she does not know it. And now, O sons, listen to me, and do not depart from the words of my mouth. Keep your way far from her, and do not go near the door of her house, lest you give your honor to others and your years to the merciless, lest strangers take their fill of your strength, and your labors go to the house of a foreigner, and at the end of your life you groan, when your flesh and body are consumed, and you say, How I hated discipline, and my heart despised reproof! ... Drink water from your own cistern, flowing water from your own well. Should your springs be scattered abroad, streams of water in the streets? Let them be for yourself alone, and not for strangers with you. Let your fountain be blessed, and rejoice in the wife of your youth, a lovely deer, a graceful doe. Let her breasts fill you at all times with delight; be intoxicated always in her love. Why should you be intoxicated, my son, with a forbidden woman and embrace the bosom of an adulteress? For a man’s ways are before the eyes of the LORD, and he ponders all his paths. Lachlan Deck lachlan.d...@gmail.com On 02/09/2011, at 5:02 PM, ISHIMOTO Ken wrote: Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.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: Problem with wolips.properties file on Windows
Hi Michael! Can you please review and update the Wiki for installing WOLips on Windows please? It's quite out-of-date. http://wiki.objectstyle.org/confluence/display/WOL/Installing+WebObjects-WOLips+on+Windows Thanks! Dave On Sep 3, 2011, at 1:29 AM, Michael Hast wrote: Hi Vladimir: It's not quite that simple on Windows. When I setup a development machine for our customer I documented the following steps. I was using Windows 7 and they were using Windows XP, IIRC. I thought that when you launch Eclipse with WOLips it would create the right file. But maybe I am wrong. Here are the steps that I send to our customer with regards to the location of the wolips.properties file. [] 3.7. On Command Prompt: echo %APPDATA% [] 3.8. Check for wolips.properties in %APPDATA%/WOLips/ [] 3.9. Replace contents of wolips.properties (%APPDATA%/WOLips) with what is on CD [] 3.10. Correct paths in new wolips.properties file for wo.user.xxx properties [] 3.11. Start eclipse again Michael. On 9/2/2011 10:13 AM, Vladimir Forfutdinov wrote: I have the following configuration: eclipse 3.6.2 with WOLips 3.6.70245 on Windows XP (unfortunately) I got everything compile correctly, just like on the same setup on my Mac. However, when I try to run the app, I get the following error: You do not have a 'wo.system.root' property set in your wolips.properties file. I have created the following file as per instructions: http://wiki.objectstyle.org/confluence/display/WOL/wolips.properties *Windows*: C:\Documents and Settings\user\Library\Application Support\WOLips\wolips.properties I also have wobuild.properties file at *Windows*: C:\Documents and Settings\user\Library\wobuild.properties both have the wo.system.root property in them. I have also tried creating an empty new project in eclipse, still the same issue (the other once were copied from Mac) Does anyone has similar issue? Thanks -Vlad ___ 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/mhast%40desertsky.com This email sent to mh...@desertsky.com -- Tel: (602) 279-4600 ext: 635 Desert Sky Software: www.desertsky.com Specializing in the Development and Hosting of e-Business Applications. ___ 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: WODisplayGroup repeats the same EO
I don't quite get what was happening. Every EO was getting the same GID? On 2011-09-02, at 12:35 AM, David Avendasora wrote: Hi all, This is one for posterity. AKA: When I'm an idiot in the future. I was having a problem with a WODisplayGroup that would have the right number of objects in the selectedObjects Array, but they were all instances of the same EO. Easy, you say; there's something wrong with the item setter on the WORepetition. Not so fast. It the setter was fine. The SQL that was being used to fetch the data was right too. The model was wrong. The PK in the FrontBase DB was a LONGINT, but the PK in the EOModel had an external type of INT. The value stored in the DB field was not too long for an INT and an ALTER TABLE statement changed it without issue. Apparently there something about the process in the JDBC driver or EOF that chokes on it turning a Long into an Integer, but not enough to throw an exception, but enough to make all the values the same, in a non-deterministic way. If I quit and relaunched the app, it would likely repeat a different instance, but not always. 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/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: WODisplayGroup repeats the same EO
Hi Chuck, It was an NSArray with 71 elements, but it contained 71 instances of only one EO. If I clicked the link to bring up the edit screen, I would get that same one EO for all 71 links, so I'd say yes; they all had the same GID. If I ran the SQL that the console showed was run to fetch the data for the NSArray, it would return what is expected; 71 rows, one each of the 71 rows in the table. Dave On Sep 3, 2011, at 9:29 AM, Chuck Hill wrote: I don't quite get what was happening. Every EO was getting the same GID? On 2011-09-02, at 12:35 AM, David Avendasora wrote: Hi all, This is one for posterity. AKA: When I'm an idiot in the future. I was having a problem with a WODisplayGroup that would have the right number of objects in the selectedObjects Array, but they were all instances of the same EO. Easy, you say; there's something wrong with the item setter on the WORepetition. Not so fast. It the setter was fine. The SQL that was being used to fetch the data was right too. The model was wrong. The PK in the FrontBase DB was a LONGINT, but the PK in the EOModel had an external type of INT. The value stored in the DB field was not too long for an INT and an ALTER TABLE statement changed it without issue. Apparently there something about the process in the JDBC driver or EOF that chokes on it turning a Long into an Integer, but not enough to throw an exception, but enough to make all the values the same, in a non-deterministic way. If I quit and relaunched the app, it would likely repeat a different instance, but not always. 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/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: App thinks name is MainBundle
No help, here's my whole build.properties file: webXML_CustomContent= project.name=netBrackets project.type=application webXML=false eoAdaptorClassName= principalClass=com.netbrackets.app.Application classes.dir=bin project.name.lowercase=netbrackets customInfoPListContent= frameworksBaseURL=/WebObjects/Frameworks On Sep 2, 2011, at 11:07 AM, Chuck Hill wrote: On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote: I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is: http://localhost/cgi-bin/WebObjects/MainBundle.woa/- I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including: .project: projectDescription namenetBrackets/name build.xml: project name=netBrackets default=build basedir=. build.properties: project.name=netBrackets principalClass=com.netbrackets.app.Application project.name.lowercase=netbrackets Try adding project.type=application any ideas what's going on? Thanks! Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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: App thinks name is MainBundle
any chance you have a framework that claims to be an application type? On Sep 2, 2011, at 9:50 PM, Jeff Schmitz wrote: No help, here's my whole build.properties file: webXML_CustomContent= project.name=netBrackets project.type=application webXML=false eoAdaptorClassName= principalClass=com.netbrackets.app.Application classes.dir=bin project.name.lowercase=netbrackets customInfoPListContent= frameworksBaseURL=/WebObjects/Frameworks On Sep 2, 2011, at 11:07 AM, Chuck Hill wrote: On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote: I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is: http://localhost/cgi-bin/WebObjects/MainBundle.woa/- I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including: .project: projectDescription namenetBrackets/name build.xml: project name=netBrackets default=build basedir=. build.properties: project.name=netBrackets principalClass=com.netbrackets.app.Application project.name.lowercase=netbrackets Try adding project.type=application any ideas what's going on? Thanks! Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/mschrag%40pobox.com This email sent to msch...@pobox.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: New WebObjects Site released.
Hey, I'm treasurer of Yesfanz: http://www.yesfanz.com/ On another note, we tell students about EOF as the ultimate ORM system, alongside Active Record as a simpler example, but there seems now so little appropriate information on the web and all of Apple's is stamped Legacy Document. In fact we use a 1995 ACM paper by Charly Kleissner which now seems to be the best. Does anyone have a secret stash of introductory online documents somewhere? Ian On 3 Sep 2011, at 10:20, Lachlan Deck wrote: Seeing as this is an 18+ list, as you say, then perhaps some 18+ advice is also appropriate. http://www.biblegateway.com/passage/?search=Proverbs+5version=ESV some 2500+ years ago... My son, be attentive to my wisdom; incline your ear to my understanding, that you may keep discretion, and your lips may guard knowledge. For the lips of a forbidden woman drip honey, and her speech is smoother than oil, but in the end she is bitter as wormwood, sharp as a two-edged sword. Her feet go down to death; her steps follow the path to Sheol; she does not ponder the path of life; her ways wander, and she does not know it. And now, O sons, listen to me, and do not depart from the words of my mouth. Keep your way far from her, and do not go near the door of her house, lest you give your honor to others and your years to the merciless, lest strangers take their fill of your strength, and your labors go to the house of a foreigner, and at the end of your life you groan, when your flesh and body are consumed, and you say, How I hated discipline, and my heart despised reproof! ... Drink water from your own cistern, flowing water from your own well. Should your springs be scattered abroad, streams of water in the streets? Let them be for yourself alone, and not for strangers with you. Let your fountain be blessed, and rejoice in the wife of your youth, a lovely deer, a graceful doe. Let her breasts fill you at all times with delight; be intoxicated always in her love. Why should you be intoxicated, my son, with a forbidden woman and embrace the bosom of an adulteress? For a man’s ways are before the eyes of the LORD, and he ponders all his paths. Lachlan Deck lachlan.d...@gmail.com On 02/09/2011, at 5:02 PM, ISHIMOTO Ken wrote: Sorry to make the List to an +18 List, but i don't think Kids are on this List anyway^^ It was only an example for what WO is used. On 2011/09/02, at 2:27, Chuck Hill wrote: On 2011-09-01, at 5:23 PM, David Avendasora wrote: On Sep 1, 2011, at 11:21 PM, Miguel Arroz wrote: boobs 1. First time the word has appeared on the list. 2. Actually referring to the real thing. How odd. 3. I'm wondering: what Skin was used on the D2W portion? What the heck is that? Miguel, Miguel, Miguel. Sigh. See, there is this group of people that make up about 50% of the human race... David! Don't startle the children! -- 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/ken%40ksroom.com This email sent to k...@ksroom.com 宜しくお願いします。 拳 K's ROOM (ISHIMOTO Ken) [E-Mail] k...@ksroom.com [iChat:] ibase_...@mac.com [HP] http://www.ksroom.com/ _ This e-mail has not been scanned for viruses because it was written on an Mac, and there are NO Viruses on an Apple Computer. For further information visit http://www.apple.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/lachlan.deck%40gmail.com This email sent to lachlan.d...@gmail.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/ianjoyner%40me.com This email sent to ianjoy...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Re: path in .java question
I never thought about the write implications. I am only interested in reading the file. to that end, I tried this and it 'works' for my needs. Of course I will probably just put the data into the database and eliminate the need to read a file directly. ERXResourceManager resMgr = (ERXResourceManager) ERXApplication.application().resourceManager(); String mapFilePath = resMgr.pathURLForResourceNamed(AllCountries.txt, null, null).toString(); mapFilePath = mapFilePath.replace(file:/, /); System.out.println( path is : + mapFilePath); File f = new File(mapFilePath); I see that pathForResourceNamed is deprecated. it is recommended to use pathURLForResourceNamed. Do I understand that I must clean up the path string or is there a direct method that returns the path? Thanks, Ted --- On Fri, 9/2/11, Mike Schrag msch...@pobox.com wrote: From: Mike Schrag msch...@pobox.com Subject: Re: path in .java question To: Ted Archibald ted.archib...@gmail.com Cc: Theodore Petrosky tedp...@yahoo.com, webobjects-dev@lists.apple.com Date: Friday, September 2, 2011, 11:07 AM In the general case, if it's a WebServerResource, you can't count on being able to write to it because it could live on a completely different machine that is serving your webserver static resources in a split install. ms On Sep 2, 2011, at 10:57 AM, Ted Archibald wrote: You should use WOResourceManager/ERXResourceManager On Fri, Sep 2, 2011 at 8:53 AM, Theodore Petrosky tedp...@yahoo.com wrote: I want to read a file when my app launches: File f = new File(AllCountries.txt); I don't understand the path! if AllCountries.txt lives in the WebServerResources folder, what is the path I should use to access it? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: App thinks name is MainBundle
Don't think so since I just bit the bullet and used the following brute force solution: 1. renamed the old project, 2. created a new wonder project with my desired app name, 3. copied the source, components, properties, etc. files from the project that thinks its name is MainBundle into the new project, 5. setup the proper java build paths and referenced wonder projects in the new project, which matches what the old project had setup. and now everything is well in my new project as far as running under the development environment (haven't tried deploying it yet). Still not sure what about the old project was out of whack, but I'd be willing to try other suggestions. On Sep 2, 2011, at 9:05 PM, Mike Schrag wrote: any chance you have a framework that claims to be an application type? On Sep 2, 2011, at 9:50 PM, Jeff Schmitz wrote: No help, here's my whole build.properties file: webXML_CustomContent= project.name=netBrackets project.type=application webXML=false eoAdaptorClassName= principalClass=com.netbrackets.app.Application classes.dir=bin project.name.lowercase=netbrackets customInfoPListContent= frameworksBaseURL=/WebObjects/Frameworks On Sep 2, 2011, at 11:07 AM, Chuck Hill wrote: On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote: I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is: http://localhost/cgi-bin/WebObjects/MainBundle.woa/- I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including: .project: projectDescription namenetBrackets/name build.xml: project name=netBrackets default=build basedir=. build.properties: project.name=netBrackets principalClass=com.netbrackets.app.Application project.name.lowercase=netbrackets Try adding project.type=application any ideas what's going on? Thanks! Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/mschrag%40pobox.com This email sent to msch...@pobox.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: App thinks name is MainBundle
diff -r the two and see what's different ms On Sep 2, 2011, at 11:27 PM, Jeff Schmitz wrote: Don't think so since I just bit the bullet and used the following brute force solution: 1. renamed the old project, 2. created a new wonder project with my desired app name, 3. copied the source, components, properties, etc. files from the project that thinks its name is MainBundle into the new project, 5. setup the proper java build paths and referenced wonder projects in the new project, which matches what the old project had setup. and now everything is well in my new project as far as running under the development environment (haven't tried deploying it yet). Still not sure what about the old project was out of whack, but I'd be willing to try other suggestions. On Sep 2, 2011, at 9:05 PM, Mike Schrag wrote: any chance you have a framework that claims to be an application type? On Sep 2, 2011, at 9:50 PM, Jeff Schmitz wrote: No help, here's my whole build.properties file: webXML_CustomContent= project.name=netBrackets project.type=application webXML=false eoAdaptorClassName= principalClass=com.netbrackets.app.Application classes.dir=bin project.name.lowercase=netbrackets customInfoPListContent= frameworksBaseURL=/WebObjects/Frameworks On Sep 2, 2011, at 11:07 AM, Chuck Hill wrote: On 2011-09-01, at 8:37 PM, Jeff Schmitz wrote: I've seen a few e-mails on this subject, but none with an obvious solution. Not sure exactly when it started, but when I start my app from Eclipse, it thinks its name is MainBundle, e.g. its URL is: http://localhost/cgi-bin/WebObjects/MainBundle.woa/- I've searched for both MainBundle and my app name in my WOLips project, and all I find is the my app name specified in seemingly all the right places, including: .project: projectDescription namenetBrackets/name build.xml: project name=netBrackets default=build basedir=. build.properties: project.name=netBrackets principalClass=com.netbrackets.app.Application project.name.lowercase=netbrackets Try adding project.type=application any ideas what's going on? Thanks! Jeff ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/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/mschrag%40pobox.com This email sent to msch...@pobox.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: App thinks name is MainBundle
Nothing's jumping out at me, but I'm sure you have much keener eye than mine, so here it is. A lot of it has to do svn related folders I didn't setup in my new project. Only in netBracketsMainBundle: .DS_Store Only in netBracketsMainBundle: .amateras diff -r netBrackets/.classpath netBracketsMainBundle/.classpath 3a4,16 classpathentry kind=lib path=/netBracketsFW/Libraries/core-renderer.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/core-renderer-minimal.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/itext-paulo-155.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/minium.jar/ classpathentry kind=lib path=Libraries/ant.jar/ classpathentry kind=lib path=Libraries/jaxen.jar/ classpathentry kind=lib path=Libraries/rome.jar/ classpathentry kind=lib path=Libraries/saxpath.jar/ classpathentry kind=lib path=Libraries/xalan.jar/ classpathentry kind=lib path=Libraries/xerces.jar/ classpathentry kind=lib path=Libraries/xml-apis.jar/ classpathentry kind=con path=WOFramework/netBracketsFW/ classpathentry kind=con path=WOFramework/FrontBasePlugIn/ 13,26c26 classpathentry kind=lib path=Libraries/ant.jar/ classpathentry kind=lib path=Libraries/rome.jar/ classpathentry kind=lib path=Libraries/xalan.jar/ classpathentry kind=lib path=Libraries/xerces.jar/ classpathentry kind=lib path=Libraries/xml-apis.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/core-renderer-minimal.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/core-renderer.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/frontbasejdbc.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/itext-paulo-155.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/jaxen-core.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/jaxen-jdom.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/jdom-1.0.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/jdom.jar/ classpathentry kind=lib path=/netBracketsFW/Libraries/minium.jar/ --- classpathentry kind=lib path=Libraries/jdom.jar/ 28,29d27 classpathentry kind=lib path=/netBracketsFW/Libraries/saxpath.jar/ classpathentry kind=con path=WOFramework/netBracketsFW/ diff -r netBrackets/.project netBracketsMainBundle/.project 3c3 namenetBrackets/name --- namenetBracketsMainBundle/name 5a6 projectnetBracketsFW/project 22a24,30 linkedResources link nameDocuments/name type2/type location/Library/WebServer/Documents/location /link /linkedResources Only in netBracketsMainBundle/.settings: .svn diff -r netBrackets/.settings/org.eclipse.core.resources.prefs netBracketsMainBundle/.settings/org.eclipse.core.resources.prefs 0a1 #Sun Feb 20 21:50:08 CST 2011 2c3,67 encoding//Components=UTF-8 --- encoding//Components/CustomWindow.api=UTF-8 encoding//Components/CustomWindow.wo=UTF-8 encoding//Components/CustomWindow.wo/CustomWindow.html=UTF-8 encoding//Components/CustomWindow.wo/CustomWindow.wod=UTF-8 encoding//Components/CustomWindow.wo/CustomWindow.woo=UTF-8 encoding//Components/EditUserWindow.api=UTF-8 encoding//Components/EditUserWindow.wo=UTF-8 encoding//Components/EditUserWindow.wo/EditUserWindow.html=UTF-8 encoding//Components/EditUserWindow.wo/EditUserWindow.wod=UTF-8 encoding//Components/EditUserWindow.wo/EditUserWindow.woo=UTF-8 encoding//Components/LateLatePickWindow.api=UTF-8 encoding//Components/LateLatePickWindow.wo=UTF-8 encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.html=UTF-8 encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.wod=UTF-8 encoding//Components/LateLatePickWindow.wo/LateLatePickWindow.woo=UTF-8 encoding//Components/PickStatusWindow16.api=UTF-8 encoding//Components/PickStatusWindow16.wo=UTF-8 encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.html=UTF-8 encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.wod=UTF-8 encoding//Components/PickStatusWindow16.wo/PickStatusWindow16.woo=UTF-8 encoding//Components/PoolLogin.api=UTF-8 encoding//Components/PoolLogin.wo=UTF-8 encoding//Components/PoolLogin.wo/PoolLogin.html=UTF-8 encoding//Components/PoolLogin.wo/PoolLogin.wod=UTF-8 encoding//Components/PoolLogin.wo/PoolLogin.woo=UTF-8 encoding//Components/PrintPageNoBannerWrapper.api=UTF-8 encoding//Components/PrintPageNoBannerWrapper.wo=UTF-8 encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.html=UTF-8 encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.wod=UTF-8 encoding//Components/PrintPageNoBannerWrapper.wo/PrintPageNoBannerWrapper.woo=UTF-8 encoding//Components/PrintPageWrapper.api=UTF-8 encoding//Components/PrintPageWrapper.wo=UTF-8