Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED
Dear Tim, hope you could solve your deployment problem by now. Because you did not mention it (or at least I did not remember): is this the only installed application to be handled by the WOMonitor (resp. the WOTaskDaemon)? We had similar problem once when the internal limit of the WOAdaptor for installed application was reached. Symptoms: application startsup fine without WOMonitor but failed to be started within. Solution: compile WOAdaptor with higher set limit. If this is not your situation, please ignore my post and sorry for the noise. Best regards, Susanne Am 08.05.2013 21:00, schrieb webobjects-dev-requ...@lists.apple.com: 1. Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED) (Chuck Hill) 2. Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED) (Tim Worman) 3. Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED) (Chuck Hill) 4. Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED) (Tim Worman) 5. Re: centos 6.2 - pulling my hair out (John Huss) -- Message: 1 Date: Wed, 08 May 2013 10:53:41 -0700 From: Chuck Hill ch...@global-village.net To: Tim Worman li...@thetimmy.com Cc: WebObjects Apple webobjects-dev@lists.apple.com Subject: Re: centos 6.2 - pulling my hair out (PARTIALLY SOLVED) Message-ID: 9cb08949-d8a6-41f8-93af-3fbc36f02...@global-village.net Content-Type: text/plain; charset=windows-1252 This is sounding less painful now. :-) Check the WO configuration for Apache: # Host List Configuration # wotaskd is started automatically on supported platforms, # so this is the default mode. # The apache module gets its configuration from the wotaskds # listed on the configuration line # For multiple hosts: # WebObjectsConfig http://name-of-a-host:port-on-a-host,http://name-of-another-host:port-on-a-host interval # For localhost: WebObjectsConfig http://localhost:1085 10 Does that host name match what you used in WOHost? Chuck On 2013-05-08, at 10:50 AM, Tim Worman wrote: The app runs now but I get the dreaded The requested application was not found on this server. for discussion - possible cause of the launch issue SpawnOfWotaskd.sh has this: # Log messages will be written to: LOG=/Library/WebObjects/Logs That path does not exist on CentOS. The script tries to log to that path when /tmp/logWebObjects exists. It will exist when someone is trying to solve problems. Is there any chance that when /tmp/logWebObjects exists, and Spawn tries to write to the path (and can't) there could be a failure launching the app? I changed LOG assignment to /opt/Local/Library/WebObjects/Logs in the script and now the app launches. /for discussion So, now I have to figure out why The requested application was not found on this server. This feels more like home toto. now on a first name basis with Spawn, Tim On May 8, 2013, at 10:29 AM, Tim Worman li...@thetimmy.com wrote: Honestly, I've tried numerous different things in /etc/hosts. Currently,this is what I have in there: 127.0.0.1 localhost localhost.localdomain IP hostname.local hostname The loopback entries are pretty much the default I think. I really appreciate all the advice - it's got to be something close. Tim On May 8, 2013, at 4:03 AM, Altera WO Team webobje...@altera.it wrote: Hi Tim, what do you have in /etc/hosts ? I had to put: 127.0.0.1 localhost ipaddress hostname On a Centos 6.4 i had to fix that before being able to make an app launch via wotaskd, regardless of what i put in the properties… Matteo On 08/mag/2013, at 00:38, Tim Worman li...@thetimmy.com wrote: I just had to double-check. I wish that had been the issue. [worman@hostname ~]$ sestatus SELinux status: disabled On May 7, 2013, at 2:43 PM, Hugi Thordarson h...@karlmenn.is wrote: Have you tried disabling SElinux? You can do it temporarily by issuing: echo 0 /selinux/enforce And then restart your perforce in fences isms. - huge On 7.5.2013, at 18:47, Tim Worman li...@thetimmy.com wrote: Hoping someone can nudge me toward whatever is keeping my app from running. I have never had so much difficulty getting a deployment going. The main symptom I'm seeing right now is that my app simply will not complete a launch from JavaMonitor. The On/Off image just flicks up and down until a death is logged. Nothing meaningful is logged to /tmp/WebObjects.log. Every particular I can think of: 1. Linode, Centos 6.2 2. used the wocommunity rpms to install wo bits 3. WOHost deliberately set to the hostname in wotaskd, JavaMonitor, and app Properties 4. forward/reverse dns working properly with hostname 5. wotaskd config can be reached at http://hostname:1085 6. JavaMonitor is running and can be reached. 7. App instance is set to log to /opt/Local/Library/WebObjects/Logs - nothing is written to the log when trying to launch the app 8. WebObjectsAlias /apps/WebObjects 9.
Running WO application standalone
Hi, I want to run a WO application without using a web server. The problem I currently encounter is serving the images (buttons etc.). Is there a way to do this without showing the real file paths of resources in the URL? Thanks, Rudi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Running WO application standalone
Rudi, Can you give us a little more background on what you're trying to do especially why? Like, why can't you use a web server, and why can't you use direct connect? Maybe we can find another way to solve your problem. Ken On May 9, 2013, at 7:36 AM, Rudi Angela rudi.ang...@gmail.com wrote: Hi, I want to run a WO application without using a web server. The problem I currently encounter is serving the images (buttons etc.). Is there a way to do this without showing the real file paths of resources in the URL? Thanks, Rudi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com This email sent to kenli...@anderhome.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
rules help with Timestamp formatter
I don't get this at all. I am trying to format an NSTimestamp. I had a few timestamp formatter rules that were working fine. Like: 100 : (((pageConfiguration like 'Edit*Project*' or pageConfiguration like 'Create*Project*') and smartAttribute.className = 'com.webobjects.foundation.NSTimestamp') and propertyKey = 'timing') = formatter = %m/%d/%y [com.webobjects.directtoweb.Assignment] this is prototyped as date using the postgresqsl prototypes. on the server it is a type date so there is no time stamp. I have a timestamp that was modeled the same except it lives in the PG backend as a timestamp without time zone. It is called 'dueby'. Nothing I do wants to format the propertyKey dueBy. I turned off all my formatting rules and sure enough all the instances of any of the other dates changes to the default. So I added one rule: 100 : smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' = formatter = %m-%d-%Y [com.webobjects.directtoweb.Assignment] If I am correct this should format any and all timestamps? Yes? But not this timestamp on my EditRelationshipEmbeddedProjectStep. 2013-05-14 04:00:00 Etc/GMT What am I doing wrong? Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: rules help with Timestamp formatter
My bad, I forgot that for some reason, NSTimestamps on a to-many (embedded component) first have to have their component changed to something like 'ERD2WDisplayDateOrNull' before a formatter can be used. --- On Thu, 5/9/13, Theodore Petrosky tedp...@yahoo.com wrote: From: Theodore Petrosky tedp...@yahoo.com Subject: rules help with Timestamp formatter To: WebObjects Development webobjects-dev@lists.apple.com Date: Thursday, May 9, 2013, 10:52 AM I don't get this at all. I am trying to format an NSTimestamp. I had a few timestamp formatter rules that were working fine. Like: 100 : (((pageConfiguration like 'Edit*Project*' or pageConfiguration like 'Create*Project*') and smartAttribute.className = 'com.webobjects.foundation.NSTimestamp') and propertyKey = 'timing') = formatter = %m/%d/%y [com.webobjects.directtoweb.Assignment] this is prototyped as date using the postgresqsl prototypes. on the server it is a type date so there is no time stamp. I have a timestamp that was modeled the same except it lives in the PG backend as a timestamp without time zone. It is called 'dueby'. Nothing I do wants to format the propertyKey dueBy. I turned off all my formatting rules and sure enough all the instances of any of the other dates changes to the default. So I added one rule: 100 : smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' = formatter = %m-%d-%Y [com.webobjects.directtoweb.Assignment] If I am correct this should format any and all timestamps? Yes? But not this timestamp on my EditRelationshipEmbeddedProjectStep. 2013-05-14 04:00:00 Etc/GMT What am I doing wrong? Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com This email sent to tedp...@yahoo.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
ERAttachment migration0 problems.
I can't seem to get ERAttachment to migrate first as I keep getting an error: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
Sounds like the model is not getting loaded which suggests that it is not on your classpath for the framework with the EOModel. On 2013-05-09, at 2:40 PM, James Cicenia wrote: I can't seem to get ERAttachment to migrate first as I keep getting an error: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity 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: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
In your migration, you also need @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } That way, it is loaded first so the dependency doesn't fail to resolve. Ramsey On May 9, 2013, at 2:42 PM, Chuck Hill wrote: Sounds like the model is not getting loaded which suggests that it is not on your classpath for the framework with the EOModel. On 2013-05-09, at 2:40 PM, James Cicenia wrote: I can't seem to get ERAttachment to migrate first as I keep getting an error: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity 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: https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Executive Managing Partner, VP Development and Technical Services Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C! Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com This email sent to rgur...@smarthealth.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
Tripled checked class paths. Added the modelDependencies() in my migration0 PropertiesFile er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=ERUsers,ERAttachment,ERTaggable,ERAuth,YellaDatabaseModel,ERCoreBL java.lang.IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity ERCMailAttachment. Other suggestions? James On May 9, 2013, at 4:47 PM, Ramsey Gurley rgur...@smarthealth.com wrote: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
if you are certain your model is correct I recall that I've seen situations where basically the model wasn't loading in at all, and so just about everything would report errors like -- this can't find that -- type stuff. of course, I can't recall how I resolved those things, but your error triggered some distant memories of pulled hair... On May 9, 2013, at 5:53 PM, James Cicenia ja...@jimijon.com wrote: Tripled checked class paths. Added the modelDependencies() in my migration0 PropertiesFile er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=ERUsers,ERAttachment,ERTaggable,ERAuth,YellaDatabaseModel,ERCoreBL java.lang.IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity ERCMailAttachment. Other suggestions? James On May 9, 2013, at 4:47 PM, Ramsey Gurley rgur...@smarthealth.com wrote: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
I generally have a 0 point WebObjects curse Whether it is NewProject0, Migration0, Deployment0, SetupWorkstation0... I am cursed. Good thought to double check the model. It is Model0 after all. On May 9, 2013, at 5:00 PM, Jesse Tayler jtay...@oeinc.com wrote: if you are certain your model is correct I recall that I've seen situations where basically the model wasn't loading in at all, and so just about everything would report errors like -- this can't find that -- type stuff. of course, I can't recall how I resolved those things, but your error triggered some distant memories of pulled hair... On May 9, 2013, at 5:53 PM, James Cicenia ja...@jimijon.com wrote: Tripled checked class paths. Added the modelDependencies() in my migration0 PropertiesFile er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=ERUsers,ERAttachment,ERTaggable,ERAuth,YellaDatabaseModel,ERCoreBL java.lang.IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity ERCMailAttachment. Other suggestions? James On May 9, 2013, at 4:47 PM, Ramsey Gurley rgur...@smarthealth.com wrote: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [Wonder-disc] ERJQuery
Hi Pascal, I started working on a JQuery framework and I'm up to one component! You can see it here: http://www.kahalawai.com/JQuery I'm pretty busy but I think I could make one component a day. I was wondering what people thought about a couple of questions I have: 1. Should I use data attributes? One thing I would like to do is not pollute the HTML with JavaScript code. Now with my first example (the periodical updater) I'm not sure if that's possible i.e. When the page loads I can find the ajax update containers but what about an ajax update container that is returned from an ajax request? But for a lot of the other components like ajax update link I could just register a trigger using the data attributes. 2. Should I tie the framework to a look like JQueryUI or Bootstrap? Some of the components like date pickers and modal containers need a default styling. Do you think I should keep on keeping on or has somebody already developed a framework they are about to release or is there a new better idea? Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl elem...@gmail.com wrote: There was some talk about directing some new development effort toward jQuery in Wonder. I've been working on some bits in this framework and am coming to realize that there are some organizational issues that could go a couple of different directions and I was wondering if there are any forks out there that are working on this that I might pull from and contribute to. Among the questions that might benefit from some planning are about multiple frameworks and dependencies. Specifically, the ERJQueryMobile framework has jQuery javascript resources and so does the ERJQuery framework (and potentially ERJQueryUI if we decide to separate jQuery from jQuery-UI … which is probably a good idea. Since mobile and UI both depend on jQuery, would it make sense to load those from ERJQuery and update the version handling so that one could load whatever version of jQuery you need. Essentially, making some loader classes in ERJQuery able to load the right version from local resources or a CDN depending on the need. Anyway… there are a few design decisions that will affect how the framework(s) interact and I wanted to know who else out there had done work on this that I might contribute to. Thanks. Larry Mills-Gahl elem...@gmail.com -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
Everything seems to check out everywhere with model verifications, class paths to ERAttachment, etc. My log seems somewhat normal, nothing stands out saying the model didn't load. On May 9, 2013, at 5:04 PM, James Cicenia ja...@jimijon.com wrote: I generally have a 0 point WebObjects curse Whether it is NewProject0, Migration0, Deployment0, SetupWorkstation0... I am cursed. Good thought to double check the model. It is Model0 after all. On May 9, 2013, at 5:00 PM, Jesse Tayler jtay...@oeinc.com wrote: if you are certain your model is correct I recall that I've seen situations where basically the model wasn't loading in at all, and so just about everything would report errors like -- this can't find that -- type stuff. of course, I can't recall how I resolved those things, but your error triggered some distant memories of pulled hair... On May 9, 2013, at 5:53 PM, James Cicenia ja...@jimijon.com wrote: Tripled checked class paths. Added the modelDependencies() in my migration0 PropertiesFile er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=ERUsers,ERAttachment,ERTaggable,ERAuth,YellaDatabaseModel,ERCoreBL java.lang.IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity ERCMailAttachment. Other suggestions? James On May 9, 2013, at 4:47 PM, Ramsey Gurley rgur...@smarthealth.com wrote: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: ERAttachment migration0 problems.
are you loading in a bunch of different models and building cross model relationships? if so, it may be related to the order in which they load, but I know not, about such things... oh, BTW, as software engineers, we were all cursed and that's why nothing works the first time through - it was something to do with apple or eating an apple or something. On May 9, 2013, at 6:25 PM, James Cicenia ja...@jimijon.com wrote: Everything seems to check out everywhere with model verifications, class paths to ERAttachment, etc. My log seems somewhat normal, nothing stands out saying the model didn't load. On May 9, 2013, at 5:04 PM, James Cicenia ja...@jimijon.com wrote: I generally have a 0 point WebObjects curse Whether it is NewProject0, Migration0, Deployment0, SetupWorkstation0... I am cursed. Good thought to double check the model. It is Model0 after all. On May 9, 2013, at 5:00 PM, Jesse Tayler jtay...@oeinc.com wrote: if you are certain your model is correct I recall that I've seen situations where basically the model wasn't loading in at all, and so just about everything would report errors like -- this can't find that -- type stuff. of course, I can't recall how I resolved those things, but your error triggered some distant memories of pulled hair... On May 9, 2013, at 5:53 PM, James Cicenia ja...@jimijon.com wrote: Tripled checked class paths. Added the modelDependencies() in my migration0 PropertiesFile er.migration.migrateAtStartup=true er.migration.createTablesIfNecessary=true er.migration.modelNames=ERUsers,ERAttachment,ERTaggable,ERAuth,YellaDatabaseModel,ERCoreBL java.lang.IllegalArgumentException: EORelationship(): cannot find entity named ERAttachment for destination of relationship attachment in entity ERCMailAttachment. Other suggestions? James On May 9, 2013, at 4:47 PM, Ramsey Gurley rgur...@smarthealth.com wrote: @Override public NSArrayERXModelVersion modelDependencies() { return new NSArrayERXModelVersion(new ERXModelVersion(ERAttachment, 0)); } ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [Wonder-disc] ERJQuery
Yes definitely use the data attributes. Basically what I've been experimenting with is to have an init() method that is called on page load. It scans the dom looking for elements of AjaxJQ class, reads the component type from one data attribute and inits it with params from another data attribute. If the init is called with no parameters it scans (inits) the entire dom. If it is called with an id it restricts it self to scanning that id. So when you are finished updating a specific area, you call init(theAreaID) to init any bits that have changed. This is built in to each component that modifies the dom. There are libraries that will look for changes in the dom and allow you to respond accordingly, but they all have performance issues when the dom gets big. Handling it manually and targeting the areas that you know have changed is a little more fragile (i.e: you could forget to scan something after a change) but less likely to degrade as your dom gets more complicated, and easier to understand (i.e: less magic). I've also begun playing with a standard set of delegate methods that are called at specific points (before update, after update, etc) so you can expand the behaviour as you need to. This means that all of your js can live in the head, and all of the params are supplied in the data attributes, and you have no js cluttering your html. D -- David LeBer Codeferous Software On 2013-05-09, at 6:19 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi Pascal, I started working on a JQuery framework and I'm up to one component! You can see it here: http://www.kahalawai.com/JQuery I'm pretty busy but I think I could make one component a day. I was wondering what people thought about a couple of questions I have: 1. Should I use data attributes? One thing I would like to do is not pollute the HTML with JavaScript code. Now with my first example (the periodical updater) I'm not sure if that's possible i.e. When the page loads I can find the ajax update containers but what about an ajax update container that is returned from an ajax request? But for a lot of the other components like ajax update link I could just register a trigger using the data attributes. 2. Should I tie the framework to a look like JQueryUI or Bootstrap? Some of the components like date pickers and modal containers need a default styling. Do you think I should keep on keeping on or has somebody already developed a framework they are about to release or is there a new better idea? Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl elem...@gmail.com wrote: There was some talk about directing some new development effort toward jQuery in Wonder. I've been working on some bits in this framework and am coming to realize that there are some organizational issues that could go a couple of different directions and I was wondering if there are any forks out there that are working on this that I might pull from and contribute to. Among the questions that might benefit from some planning are about multiple frameworks and dependencies. Specifically, the ERJQueryMobile framework has jQuery javascript resources and so does the ERJQuery framework (and potentially ERJQueryUI if we decide to separate jQuery from jQuery-UI … which is probably a good idea. Since mobile and UI both depend on jQuery, would it make sense to load those from ERJQuery and update the version handling so that one could load whatever version of jQuery you need. Essentially, making some loader classes in ERJQuery able to load the right version from local resources or a CDN depending on the need. Anyway… there are a few design decisions that will affect how the framework(s) interact and I wanted to know who else out there had done work on this that I might contribute to. Thanks. Larry Mills-Gahl elem...@gmail.com -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com This email sent to dleber_wo...@codeferous.com
Re: [Wonder-disc] ERJQuery
Hi David, On May 9, 2013, at 1:45 PM, David LeBer dleber_wo...@codeferous.com wrote: Yes definitely use the data attributes. OK. Basically what I've been experimenting with is to have an init() method that is called on page load. It scans the dom looking for elements of AjaxJQ class, reads the component type from one data attribute and inits it with params from another data attribute. That's a cool idea. You have a factory method that initializes the object. Have you thought about using a selector like: [data*] then you could avoid adding the AjaxJQ css class. Maybe create a namespace like [data-wjq*] in case there are other libraries loaded on the page. If the init is called with no parameters it scans (inits) the entire dom. If it is called with an id it restricts it self to scanning that id. So when you are finished updating a specific area, you call init(theAreaID) to init any bits that have changed. This is built in to each component that modifies the dom. Got it. I guess you could determine in the appendToResponse phase if it's an ajax request and if so include a message to register the object? Otherwise if it's in the original response it gets initialized after the page loads? There are libraries that will look for changes in the dom and allow you to respond accordingly, but they all have performance issues when the dom gets big. Handling it manually and targeting the areas that you know have changed is a little more fragile (i.e: you could forget to scan something after a change) but less likely to degrade as your dom gets more complicated, and easier to understand (i.e: less magic). With MooTools they have behavior and delegators objects. Delegator work like the 'on' function in jQuery. I'll look closer into how the behaviors work. I've also begun playing with a standard set of delegate methods that are called at specific points (before update, after update, etc) so you can expand the behaviour as you need to. This means that all of your js can live in the head, and all of the params are supplied in the data attributes, and you have no js cluttering your html. Sounds great. Thanks for the advice. D -- David LeBer Codeferous Software On 2013-05-09, at 6:19 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi Pascal, I started working on a JQuery framework and I'm up to one component! You can see it here: http://www.kahalawai.com/JQuery I'm pretty busy but I think I could make one component a day. I was wondering what people thought about a couple of questions I have: 1. Should I use data attributes? One thing I would like to do is not pollute the HTML with JavaScript code. Now with my first example (the periodical updater) I'm not sure if that's possible i.e. When the page loads I can find the ajax update containers but what about an ajax update container that is returned from an ajax request? But for a lot of the other components like ajax update link I could just register a trigger using the data attributes. 2. Should I tie the framework to a look like JQueryUI or Bootstrap? Some of the components like date pickers and modal containers need a default styling. Do you think I should keep on keeping on or has somebody already developed a framework they are about to release or is there a new better idea? Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl elem...@gmail.com wrote: There was some talk about directing some new development effort toward jQuery in Wonder. I've been working on some bits in this framework and am coming to realize that there are some organizational issues that could go a couple of different directions and I was wondering if there are any forks out there that are working on this that I might pull from and contribute to. Among the questions that might benefit from some planning are about multiple frameworks and dependencies. Specifically, the ERJQueryMobile framework has jQuery javascript resources and so does the ERJQuery framework (and potentially ERJQueryUI if we decide to separate jQuery from jQuery-UI … which is probably a good idea. Since mobile and UI both depend on jQuery, would it make sense to load those from ERJQuery and update the version handling so that one could load whatever version of jQuery you need. Essentially, making some loader classes in ERJQuery able to load the right version from local resources or a CDN depending on the need. Anyway… there are a few design decisions that will affect how the framework(s) interact and I wanted to know who else out there had done work on this that I might contribute to. Thanks. Larry Mills-Gahl elem...@gmail.com
Re: [Wonder-disc] ERJQuery
I think this is awesome! I'm definitely planning on using JQuery within the next few months, and will happily contribute once I get to that point. Ken On May 9, 2013, at 6:19 PM, Johnny Miller jlmil...@kahalawai.com wrote: Hi Pascal, I started working on a JQuery framework and I'm up to one component! You can see it here: http://www.kahalawai.com/JQuery I'm pretty busy but I think I could make one component a day. I was wondering what people thought about a couple of questions I have: 1. Should I use data attributes? One thing I would like to do is not pollute the HTML with JavaScript code. Now with my first example (the periodical updater) I'm not sure if that's possible i.e. When the page loads I can find the ajax update containers but what about an ajax update container that is returned from an ajax request? But for a lot of the other components like ajax update link I could just register a trigger using the data attributes. 2. Should I tie the framework to a look like JQueryUI or Bootstrap? Some of the components like date pickers and modal containers need a default styling. Do you think I should keep on keeping on or has somebody already developed a framework they are about to release or is there a new better idea? Aloha, Mr. Johnny Miller Web Development Manager Kahalawai Media Company Lahaina, HI 96761 tel: (808) 661-7962 | mobile: (808) 283-0791 website | e-mail On Apr 6, 2013, at 1:41 PM, Larry Mills-Gahl elem...@gmail.com wrote: There was some talk about directing some new development effort toward jQuery in Wonder. I've been working on some bits in this framework and am coming to realize that there are some organizational issues that could go a couple of different directions and I was wondering if there are any forks out there that are working on this that I might pull from and contribute to. Among the questions that might benefit from some planning are about multiple frameworks and dependencies. Specifically, the ERJQueryMobile framework has jQuery javascript resources and so does the ERJQuery framework (and potentially ERJQueryUI if we decide to separate jQuery from jQuery-UI … which is probably a good idea. Since mobile and UI both depend on jQuery, would it make sense to load those from ERJQuery and update the version handling so that one could load whatever version of jQuery you need. Essentially, making some loader classes in ERJQuery able to load the right version from local resources or a CDN depending on the need. Anyway… there are a few design decisions that will affect how the framework(s) interact and I wanted to know who else out there had done work on this that I might contribute to. Thanks. Larry Mills-Gahl elem...@gmail.com -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html___ Wonder-disc mailing list wonder-d...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wonder-disc ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com This email sent to kenli...@anderhome.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com