Re: Using WO with modern dependency management
HI, On 02 May 2015, at 02:52, Ângelo Andrade Cirino aacir...@gmail.com wrote: Gradle has been mentioned a couple of times in the list. Would Gradle be a definitive approach to modernize the whole build process? It's definitely a possibility and exactly what we did at Xyrality (after going through a lot of pain trying to migrate to maven). We did a talk about that at WOWODC 2015, if you have access to that; otherwise check out https://github.com/Xyrality/gradle-wonder-plugin https://github.com/Xyrality/gradle-wonder-plugin which is a basic plugin implementation for WOnder development. You need to clone that repo and run gradle build publishToMavenLocal in there to install it to your local installation for now. After that you should be able to use it for your projects. A basic example, we did, was to convert the Moves project from the wonder/Examples/misc repository. Basically you just need to add the build.gradle with these contents and run gradle woapplication: buildscript { repositories { mavenLocal() mavenCentral() } dependencies { classpath 'com.xyrality.gradle:gradle-wonder-plugin:1.0.0' } } version = '1.2.3' apply plugin: 'woapplication' wonder { wonderVersion = '6.1.2' webobjectsVersion = '5.4.3' applicationClass = 'er.movies.Application' deploymentServers = ['localhost'] deploymentSSHUser = 'wouser' deploymentPath = '/home/wouser/apps' deploymentSSHPort = deploymentMonitorBounceTasks = ['localhost':'Movies'] deploymentSSHIgnoreHostKey = true } dependencies { compile group: 'wonder.core', name: 'WOOgnl', version: wonder.wonderVersion compile group: 'com.webobjects', name: 'JavaXML', version: wonder.webobjectsVersion compile group: 'wonder.misc', name: 'ERChronic', version: wonder.wonderVersion compile group: 'wonder.ajax', name: 'Ajax', version: wonder.wonderVersion compile group: 'wonder.businesslogic', name: 'ERTaggable', version: wonder.wonderVersion compile group: 'wonder.businesslogic', name: 'ERAttachment', version: wonder.wonderVersion compile group: 'wonder.businesslogic', name: 'ERMoviesLogic', version: wonder.wonderVersion compile group: 'wonder.eof', name: 'ERRest', version: wonder.wonderVersion compile group: 'wonder.plugins', name: 'H2PlugIn', version: wonder.wonderVersion } Feel free to have a look at the plugin and file issues and pull requests, if something doesn't work out :-) It also features test support and some basic deployment via SSH and JavaMonitor. We have been using this for about a year now successfully in building and continuous integration. The Gradle STS plugin for eclipse plays nice with WOLips as far as we can tell; you can import the converted project directly as a Gradle project. Multi-build should work as well (currently working on a 15-subproject build). If something breaks, go ahead and ask some more :-) Greetings Dennis -- XYRALITY GmbH • Friedensallee 290 • 22763 Hamburg Dennis Bliefernicht • Backend Development Mail: dennis.blieferni...@xyrality.com mailto:dennis.blieferni...@xyrality.com Tel: +49 (0) 40 35 73 001 - 62 Fax: +49 (0) 40 35 73 001 - 99 Web: http://www.xyrality.com/ http://www.xyrality.com/ Registergericht: Hamburg HRB 115332 Geschäftsführer: Sven Ossenbrüggen ___ Do not 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 7 and 8
Thats true for for the oracle jdk. IBM still supports java 6 – and one of our clients will have this version in production for some time :-( Am 30.04.2015 um 20:10 schrieb Ramsey Gurley rgur...@smarthealth.com: Java 7 appears to be EOL starting tomorrow https://www.java.com/en/download/faq/java_7.xml On Apr 29, 2015, at 7:44 AM, David Avendasora webobje...@avendasora.com wrote: Hey all About a year ago a bunch of work to make Wonder Java 7 compatible. But the branch is now 86 commits behind the master branch (Wonder 6). I propose we: 1) Create a branch at the current head of master called Wonder_6 for 6-specific bug fixes going forward 2) Merge Wonder_7 branch into Master and then delete it. 3) Create the *first* release of Wonder 7 from Master 4) Work through as much of the current pull requests as possible, making sure they work well with Java 7, create a final Wonder_7 release 3) Create Wonder_7 branch for 7-specific bug fixes going forward 5) Use Master for ongoing modern java development until we transition to Wonder_9 If there are features that are added to the more modern branches but you can’t use them because you are limited to Java 6 or 7, then you will be allowed to create pull requests to bring those commits to older branches the the work to do so would be on the developer wanting the back-porting. Not on the original developer. What does everyone say? Dave — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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/bock%40salient.de This email sent to b...@salient.de Mit freundlichem Gruß, René Bock Software Engineering -- salient doremus salient GmbH Kontorhaus - Lindleystraße 12 60314 Frankfurt Main Fon +49 (0)69 - 650096 -0, Durchwahl: - 18, Fax: -70 http://www.salient.de http://www.doremus.com http://www.openforms.de Geschäftsführer: Peter Biler, Alexander Gerling, Lars Ohlerich Amtsgericht Frankfurt Main, HRB 48693 // Neuer Schwung auf allen Endgeräten für den Automobilclub von Deutschland: http://www.avd.de/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips update site for Eclipse 4.4 (Luna)
On May 3, 2015, at 1:41 AM, Gavin Eadie ga...@umich.edu wrote: I downloaded the WOLips source tonight to look for why absent WOD files cause NPEs and scanned it for likely places, but this is not code I've ever looked at before and it feels like needle-in-haystack time! I also scanned the code commit messages to see if I could find where this behavior might have changed between 3.7 and 4.4 .. I don’t think it is a change to WOLips, I think it is a change to how Eclipse presents the UI where older versions would still have some object that represents the nonexistent WOD file, newer versions of Eclipse don’t create that object, thus the NPE where it is assumed that object will always exist. So, yeah, I just described an NPE and in no way actually helped find it. Eclipse plugin development is completely different way of writing Java apps than WO. We’re all fish out of water here - except for me, I’m more of a paramecium out of ooze. I don't much want to create nearly a hundred empty WOD files just so I can use the component editor with WOLips 4.4 (nor do I much want to return to 3.7), but I don't want to be a whining complainer either .. if fixing this isn't seen as important, I'll create the empty WOD files and move on. I’d suggest creating the .wod files and tell Git to ignore them for now until you, or someone else, can track down the bug. I’m sure you could easily create them all with some form of terminal touch magic… Dave — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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 7 and 8
I’m not advocating getting rid of a Java 6 branch/build. Just that it will get only bug fixes for now. New development will be done on Java 7/8 (likely 8 based on feedback so far). On May 1, 2015, at 2:54 PM, Timothy Worman li...@thetimmy.com wrote: You’d be surprised what some of us stupider people have done, I mean, are doing (going to a corner with my dunce cap). :-) For people that need to run Java 6, there will be a stable branch for them. Tim Worman UCLA GSEIS On May 1, 2015, at 9:26 AM, Ramsey Gurley rgur...@smarthealth.com wrote: I’d wager if someone hasn’t updated OS since Snow Leopard, they aren’t going to update Java or Wonder, even if it is available. On May 1, 2015, at 8:51 AM, Pascal Robert prob...@macti.ca wrote: I will give you a good reason of not moving to Java 8: a lot of people in the community are still deploying on OS X versions that can only use Java 6 or 5. I still don't understand why people still deploy on OS X, but anyway. ___ Do not 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/lists%40thetimmy.com This email sent to li...@thetimmy.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/webobjects%40avendasora.com This email sent to webobje...@avendasora.com — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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: Entity Modeler exception when trying to generate SQL
Has anyone made any progress on this? If not, can anyone point me to resources that would help me be able to develop/debug this? Thanks, Ken On Apr 29, 2015, at 8:20 PM, Ângelo Andrade Cirino aacir...@gmail.com wrote: Some more light on the issue. This is the first time I debug WOLips and I have never attempted to change the code. That said, when debugging Entity Modeler I was able to locate this exception thrown just before the exception I originally reported was thrown: org.eclipse.core.runtime.CoreException: Plug-in org.objectstyle.wolips.eomodeler.eclipse was unable to load class org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory. !ENTRYat org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29) at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297) at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) ... 7 more org.objectstyle.wolips.eomodeler.core.ActivatorResources 4 4 2015-04-29 21:13:07.546 !MESSAGE Could not create SQL generator factory from configuration element: org.eclipse.core.internal.registry.ConfigurationElementHandle@7b77 !STACK 1 org.eclipse.core.runtime.CoreException: Plug-in org.objectstyle.wolips.eomodeler.eclipse was unable to load class org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29) at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297) at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be found by org.objectstyle.wolips.eomodeler.eclipse_1.0.6 at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) ... 7 more !SUBENTRY 1 org.eclipse.equinox.registry 4 1 2015-04-29 21:13:07.546
Modern Wonder: Repos Structure, Building Deploying
Hi all, Currently Wonder is all-in-one repository, with nested projects and build scripts that make building easy with Ant or Maven. How can we keep building the Wonder easy, but also make it more flexible? Should we break up the monolithic repository into sub-repos such as Core, PlugIns, UI, etc? The Xyrality team presented on several modern build/testing/deployment technologies at WOWODC (Gradle,Vagrant, Puppet, etc) this year and Pascal (among others) has presented on similar topics in almost all the prior years. There are ongoing discussions on the list on modern dependency management and also how to best move Wonder to Java 8. WOLips is building successfully for Eclipse 4.4.2. We have forward momentum! Now is the time to take a look at how we can, or if need to, modernize the wonder repository structure to truly take advantage of these modern techniques. Why are we doing things the way we are? Are those reasons still applicable? Dave — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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
[Google Chart] - Displaying chart in an Axaj Modal Dialog
Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not 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: [Google Chart] - Displaying chart in an Axaj Modal Dialog
Xavier, Have look at the javascript console, if there is javascript error, it is probably your problem. If there is nothing there, you should put way more context to explain what you want to achieve and how you tried so far. Samuel Le 2015-05-04 à 09:28, Dev WO webobje...@anazys.com a écrit : Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using WO with modern dependency management
I was wondering if anyone would notice that. I am not saying that I am a Maven fanboy now, just that Ivy may be worse. Or at least have some more questionable design decisions. There is nothing in this world so bad that a few software engineers can't make worse. Chuck On 2015-05-04, 5:09 AM, David Avendasora wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. ... Have you ever had one of those moments where things just seem so off-kilter you're sure you're having a dream, but no matter how many times you cry out for mommy you are left sitting there slowly realizing that there's been some fundamental shift in the universe that you missed out on. (And your wife is slowly picking up her phone and dialing your therapist. Again.) - WebObjects - so easy that even Dave Avendasora can do it!(tm) - David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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: Using WO with modern dependency management
At my previous workplace, we did the switch to Maven. Luckily we had a real maven expert to drive the move. We started with around 50+ projects, all ant based, using the ‘standard’ fluffy-bunny layout. He added pom.xml here and there, and everything just started working with maven. We had choice to build/run with maven and/or ant and it was (almost) transparent. The only exception was that if you decided to use in maven, you had to change the class path to remove everything but the maven and java dependencies (2 lines left), a simple .classpath that was standard and could be copied from one project to the other. The maven build was then integrated with Jenkins (CI) and SonarQube (so that future ‘JF’ is happy with old ‘JF’, and all the team's work are standardized a bit) with ease. From my experience, the team was happy with the Maven switch, none of us had to become an expert (because we had one already). Maven help a lot on easing the dependency management of your apps (a building block only declare his direct dependency). Once you remove the noise of declaring dependencies, you will be left with a clear graph of dependent block. You will then have to tackle the real problem of incompatible dependencies (A need B and Xv1, but B need Xv2). Maven will make the graph simple and clear, it will try to provide helper but can’t really help much after that. jfv On May 4, 2015, at 5:09 AM, David Avendasora webobje...@avendasora.com wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.com mailto:ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. … Have you ever had one of those moments where things just seem so off-kilter you’re sure you’re having a dream, but no matter how many times you cry out for mommy you are left sitting there slowly realizing that there’s been some fundamental shift in the universe that you missed out on. (And your wife is slowly picking up her phone and dialing your therapist. Again.) — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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: [Google Chart] - Displaying chart in an Axaj Modal Dialog
Hi Samuel, I didn’t mention the console as there was nothing there. Let’s try to give more context:) I’ve got a component which is supposed to be the content of the modal dialog, let’s call it “Chart” This component is wo:str value = $googleChartGenerationString escapeHTML = $false/ div id = chart_points style = width: 1000px; height: 600px;TEST/div The $googleChartGenerationString generate something like this for example: script google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('datetime', 'Date'); data.addColumn('number', 'Points'); data.addRows([ [new Date(2015, 4, 3, 23, 44, 48), 1247], [new Date(2015, 4, 3, 23, 47, 43), 1247], [new Date(2015, 4, 4, 0, 24, 43), 1247], [new Date(2015, 4, 4, 4, 34, 55), 1247]]); var options = { curveType: 'none', legend: 'none', width: 900, height: 500 }; var chart = new google.charts.Line(document.getElementById('chart_points')); chart.draw(data, options); } /script If I’m placing this component inline in its parent component (which is called via a regular component action, meaning the parent isn’t called from an ajax request), everything is fine, the chart is displayed. If I’m placing the component in the “content” part of an AMD, I can see that it still gets the expected content (using the browser console), but nothing is displayed, even the “TEST” string isn’t removed which is also why I think the javascript isn’t executed at all. So I’m kind of puzzled as to what could prevent my “manual javascript from being executed when requested inside an AMD. I don’t really have much more context than this:( Xavier On 4 mai 2015, at 16:22, Samuel Pelletier sam...@samkar.com wrote: Xavier, Have look at the javascript console, if there is javascript error, it is probably your problem. If there is nothing there, you should put way more context to explain what you want to achieve and how you tried so far. Samuel Le 2015-05-04 à 09:28, Dev WO webobje...@anazys.com mailto:webobje...@anazys.com a écrit : Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com mailto:sam...@samkar.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [Google Chart] - Displaying chart in an Axaj Modal Dialog
does this help? I used this somewhere, I just can’t remember where. http://stackoverflow.com/questions/19663555/bootstrap-3-how-to-load-content-in-modal-body-via-ajax On May 4, 2015, at 11:48 AM, Dev WO webobje...@anazys.com wrote: Hi Samuel, I didn’t mention the console as there was nothing there. Let’s try to give more context:) I’ve got a component which is supposed to be the content of the modal dialog, let’s call it “Chart” This component is wo:str value = $googleChartGenerationString escapeHTML = $false/ div id = chart_points style = width: 1000px; height: 600px;TEST/div The $googleChartGenerationString generate something like this for example: script google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('datetime', 'Date'); data.addColumn('number', 'Points'); data.addRows([ [new Date(2015, 4, 3, 23, 44, 48), 1247], [new Date(2015, 4, 3, 23, 47, 43), 1247], [new Date(2015, 4, 4, 0, 24, 43), 1247], [new Date(2015, 4, 4, 4, 34, 55), 1247]]); var options = { curveType: 'none', legend: 'none', width: 900, height: 500 }; var chart = new google.charts.Line(document.getElementById('chart_points')); chart.draw(data, options); } /script If I’m placing this component inline in its parent component (which is called via a regular component action, meaning the parent isn’t called from an ajax request), everything is fine, the chart is displayed. If I’m placing the component in the “content” part of an AMD, I can see that it still gets the expected content (using the browser console), but nothing is displayed, even the “TEST” string isn’t removed which is also why I think the javascript isn’t executed at all. So I’m kind of puzzled as to what could prevent my “manual javascript from being executed when requested inside an AMD. I don’t really have much more context than this:( Xavier On 4 mai 2015, at 16:22, Samuel Pelletier sam...@samkar.com wrote: Xavier, Have look at the javascript console, if there is javascript error, it is probably your problem. If there is nothing there, you should put way more context to explain what you want to achieve and how you tried so far. Samuel Le 2015-05-04 à 09:28, Dev WO webobje...@anazys.com a écrit : Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/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
Re: Entity Modeler exception when trying to generate SQL
I’ve resorted to migrations, but then I had to fix a lot of things to get migrations working properly. Fixing this issue of SQL generation demands knowledge of Eclipse plug-in development that I lack and, from the code I inspected trying to debug the issue, seems very hard to grasp in a short period. I am willing to help if some guidance is given. Angelo Em 04/05/2015, à(s) 09:18, Ken Anderson kenli...@anderhome.com escreveu: Has anyone made any progress on this? If not, can anyone point me to resources that would help me be able to develop/debug this? Thanks, Ken Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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 7 and 8
Agreed aiming for Java 8. Em 04/05/2015, à(s) 09:15, David Avendasora webobje...@avendasora.com escreveu: I’m not advocating getting rid of a Java 6 branch/build. Just that it will get only bug fixes for now. New development will be done on Java 7/8 (likely 8 based on feedback so far). Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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: Using WO with modern dependency management
So it seems we have a starting point. Em 04/05/2015, à(s) 05:36, Dennis Bliefernicht dennis.blieferni...@xyrality.com escreveu: It's definitely a possibility and exactly what we did at Xyrality (after going through a lot of pain trying to migrate to maven). We did a talk about that at WOWODC 2015, if you have access to that; otherwise check out https://github.com/Xyrality/gradle-wonder-plugin https://github.com/Xyrality/gradle-wonder-plugin which is a basic plugin implementation for WOnder development. You need to clone that repo and run gradle build publishToMavenLocal in there to install it to your local installation for now. After that you should be able to use it for your projects. A basic example, we did, was to convert the Moves project from the wonder/Examples/misc repository. Basically you just need to add the build.gradle with these contents and run gradle woapplication: Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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: Using WO with modern dependency management
I’ve been trying maven in the last few days. I haven’t gotten a Hello WOrld to run yet. I’m updating the wiki getting started page as I go along. Most of the maven pages on the wiki appear to be last edited between 2009-2011. On May 4, 2015, at 8:29 AM, Jean-François Veillette jean_francois_veille...@yahoo.ca wrote: At my previous workplace, we did the switch to Maven. Luckily we had a real maven expert to drive the move. We started with around 50+ projects, all ant based, using the ‘standard’ fluffy-bunny layout. He added pom.xml here and there, and everything just started working with maven. We had choice to build/run with maven and/or ant and it was (almost) transparent. The only exception was that if you decided to use in maven, you had to change the class path to remove everything but the maven and java dependencies (2 lines left), a simple .classpath that was standard and could be copied from one project to the other. The maven build was then integrated with Jenkins (CI) and SonarQube (so that future ‘JF’ is happy with old ‘JF’, and all the team's work are standardized a bit) with ease. From my experience, the team was happy with the Maven switch, none of us had to become an expert (because we had one already). Maven help a lot on easing the dependency management of your apps (a building block only declare his direct dependency). Once you remove the noise of declaring dependencies, you will be left with a clear graph of dependent block. You will then have to tackle the real problem of incompatible dependencies (A need B and Xv1, but B need Xv2). Maven will make the graph simple and clear, it will try to provide helper but can’t really help much after that. jfv On May 4, 2015, at 5:09 AM, David Avendasora webobje...@avendasora.com wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. … Have you ever had one of those moments where things just seem so off-kilter you’re sure you’re having a dream, but no matter how many times you cry out for mommy you are left sitting there slowly realizing that there’s been some fundamental shift in the universe that you missed out on. (And your wife is slowly picking up her phone and dialing your therapist. Again.) — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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: Using WO with modern dependency management
I think that Maven expert is the key here. This is not a trivial thing to setup correctly and maintain. It is trivial to setup and use incorrectly and I have seen the pain resulting from that. To benefit from Maven you need to really deeply understand Maven and its approach to dependancy management. And you need to ensure that the whole team plays by The Maven Rules, even if it makes more work short term and a bit of cheating does not seem that bad at the moment. Chuck On 2015-05-04, 8:29 AM, Jean-François Veillette wrote: At my previous workplace, we did the switch to Maven. Luckily we had a real maven expert to drive the move. We started with around 50+ projects, all ant based, using the 'standard' fluffy-bunny layout. He added pom.xml here and there, and everything just started working with maven. We had choice to build/run with maven and/or ant and it was (almost) transparent. The only exception was that if you decided to use in maven, you had to change the class path to remove everything but the maven and java dependencies (2 lines left), a simple .classpath that was standard and could be copied from one project to the other. The maven build was then integrated with Jenkins (CI) and SonarQube (so that future 'JF' is happy with old 'JF', and all the team's work are standardized a bit) with ease. From my experience, the team was happy with the Maven switch, none of us had to become an expert (because we had one already). Maven help a lot on easing the dependency management of your apps (a building block only declare his direct dependency). Once you remove the noise of declaring dependencies, you will be left with a clear graph of dependent block. You will then have to tackle the real problem of incompatible dependencies (A need B and Xv1, but B need Xv2). Maven will make the graph simple and clear, it will try to provide helper but can't really help much after that. jfv On May 4, 2015, at 5:09 AM, David Avendasora webobje...@avendasora.commailto:webobje...@avendasora.com wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.commailto:ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. ... Have you ever had one of those moments where things just seem so off-kilter you're sure you're having a dream, but no matter how many times you cry out for mommy you are left sitting there slowly realizing that there's been some fundamental shift in the universe that you missed out on. (And your wife is slowly picking up her phone and dialing your therapist. Again.) - WebObjects - so easy that even Dave Avendasora can do it!(tm) - David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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: Using WO with modern dependency management
As far as Wonder is concerned, the maven setup is already there, mostly thanks to Henrique, Ulrich and Andrus (and anybody else I forgot to mention). And it certainly works. I used maven to set up integration-testing of ERModernMoviesDemo. Works on travis-ci.org as well, except for the integration part, which would require the webobjects jars – which is another topic. It would certainly be nice to split things up a bit, one reason being the long build time. Fabian P.S.: You may even keep the fluffy bunny! Am 04.05.2015 um 18:43 schrieb Chuck Hill ch...@gevityinc.com: I think that “Maven expert” is the key here. This is not a trivial thing to setup correctly and maintain. It is trivial to setup and use incorrectly and I have seen the pain resulting from that. To benefit from Maven you need to really deeply understand Maven and its approach to dependancy management. And you need to ensure that the whole team plays by The Maven Rules, even if it makes more work short term and a bit of cheating does not seem that bad at the moment. Chuck On 2015-05-04, 8:29 AM, Jean-François Veillette wrote: At my previous workplace, we did the switch to Maven. Luckily we had a real maven expert to drive the move. We started with around 50+ projects, all ant based, using the ‘standard’ fluffy-bunny layout. He added pom.xml here and there, and everything just started working with maven. We had choice to build/run with maven and/or ant and it was (almost) transparent. The only exception was that if you decided to use in maven, you had to change the class path to remove everything but the maven and java dependencies (2 lines left), a simple .classpath that was standard and could be copied from one project to the other. The maven build was then integrated with Jenkins (CI) and SonarQube (so that future ‘JF’ is happy with old ‘JF’, and all the team's work are standardized a bit) with ease. From my experience, the team was happy with the Maven switch, none of us had to become an expert (because we had one already). Maven help a lot on easing the dependency management of your apps (a building block only declare his direct dependency). Once you remove the noise of declaring dependencies, you will be left with a clear graph of dependent block. You will then have to tackle the real problem of incompatible dependencies (A need B and Xv1, but B need Xv2). Maven will make the graph simple and clear, it will try to provide helper but can’t really help much after that. jfv On May 4, 2015, at 5:09 AM, David Avendasora webobje...@avendasora.com wrote: On May 1, 2015, at 6:35 PM, Chuck Hill ch...@gevityinc.com wrote: Maven seems like a better thought out and implemented solution. … Have you ever had one of those moments where things just seem so off-kilter you’re sure you’re having a dream, but no matter how many times you cry out for mommy you are left sitting there slowly realizing that there’s been some fundamental shift in the universe that you missed out on. (And your wife is slowly picking up her phone and dialing your therapist. Again.) — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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/lists.fabian%40e-lumo.com This email sent to lists.fab...@e-lumo.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: the trouble with migrations...
I made a pull request, a little messy one but I made. It seems now that the FrontBasePlugIn is EOSchemaSynchronizationFactory’ed. Angelo Em 29/04/2015, à(s) 20:45, David Avendasora webobje...@avendasora.com escreveu: On Apr 29, 2015, at 6:05 PM, Timothy Worman timwor...@thetimmy.com wrote: If it is still contained in your recollections - It’s a bit beer-fogged, but I do recall - I have a version of Wonder where everything is migrated to the 5.4 schema sync api. Given the temperature of things, I’m doubting that we’ll ever move the database plugins to this though. I could work on a version of the FrontBase plugin using EOSchemaGenerationOptions. You’re saying that, right after WOWODC?! Seriously?! PlugIns and ERPrototypes are high on my list of things that need a swift kick in the bits. I’ve already reworked the PostgressqlPlugIn. If you do the FrontbasePlugIn, that will be a great start! Make a pull request. I dare you. Dave Bwahahahahaha… er… was that out loud? — WebObjects - so easy that even Dave Avendasora can do it!™ — David Avendasora Senior Software Abuser Nekesto, Inc. ___ Do not 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/aacirino%40gmail.com This email sent to aacir...@gmail.com Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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
Some help with FrontBase and SQL generation (migrations mainly)
A common problem FrontBase users face with the current plug-in is the generated SQL for table creation containing malformed named constraints. A quick and simple solution is to set USE_NAMED_CONSTRAINTS to false in the FrontBase plug-in source com.webobjects.jdbcadaptor._FrontBase I submitted a pull request that helps with this (and much more), but the named constraints generated names are very long and not very useful. I needed to make them in a way to assure each named constraint name is really unique. Inheritance can cause naming conflicts when using the original name forming procedure and I had to make the names more complex, so less useful. Angelo Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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: On SQL fully qualified names and how to implement them in EO models
Hi Dave, I understand your reasoning on using UserInfo dictionaries, but when I look at the plugins code I imagine the use o methods like myEntity.qualifiedName() = SCHEMA.TABLE myEntity.qualifiedQuotedName() = “SCHEMA”.”TABLE myAttribute.qualifiedName() = TABLE.COLUMN myAttribute.fullyQualifiedName() = SCHEMA.TABLE.COLUMN This would spare some work in the composition of the names in the generation of expressions and SQL code. Also, this methods, as KVC, would be accessible for every other use that is needed, for example in template parsing. For me, the more explicit the better. Angelo Em 04/05/2015, à(s) 22:43, David Avendasora webobje...@avendasora.com escreveu: I'm not sure that modifying the plugins to use a UserInfo dictionary entry would be more likely to cause problems than modifying them to use a new top-level entry. There is already a _entityModeler key that is added to the various UserInfo dictionaries to hold things like multiple connection dictionaries and modelDoc that are additions to the apple-published spec. With that said, in this particular situation it seems more likely that the individual plugins should be modified to deal with multiple components in the table name. As you noted, different DBs have different levels of organization available. Schemas, Table Spaces, Databases, OracleWhatzit, etc. simply adding a key for schema is an oversimplification that begs for misuse (most likely by me). Dave Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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
On SQL fully qualified names and how to implement them in EO models
A common practice is to partition the database tables in several different schemas (or databases, depending on the specific RDBMS system in use) to group tables that are conceptually related. For example, a Product schema would have Product, Inventory, Category and other tables. That said, I have been thinking about how to deal with fully qualified names in my EO models. The obvious solution was to use the qualified name SCHEMA.TABLE in the entity’s External Name”. But this leads to a cumbersome need to split the names in every SQL generation method for each specific plugin and SQLHelper that needs to access the external table name. Another possibility, more explicit and more direct, would be to have a new field in Entity Modeler to insert the schema name. This way we would have an entity property that could be directly used to build SQL with the schema name. It would make the SQL generation code non-ambiguous and less error prone. I would like the comrades' opinions to decide if it is worth to move forward with the WOLips and Wonder modifications. Regards, Angelo Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not 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: On SQL fully qualified names and how to implement them in EO models
Hi Mark, I thought about it too, but it would be a non-standard solution, since each developer could use a name for the property. To be more precise, I abandoned this idea after working to change the FrontBase plug-in and SQLHelper to use EOSchemaSynchronizationFactory. The code that will use the schema name property is so deep down in the Wonder framework that using a non-standard property name could lead to serious problems. What’s your opinion on the validity of adding the schema name as an explicit property for entities? Is it worth the effort? Angelo Em 04/05/2015, à(s) 20:53, Morris, Mark mark.mor...@experian.com escreveu: Don’t forget about the built-in userInfo dictionary in EOEntity (which has support in Entity Modeler). That seems like a logical place for extra info like this. Regards, Mark Ângelo Andrade Cirino aacir...@gmail.com O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato Sir George Benard Shaw The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. Sir George Benard Shaw ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOLips update site for Eclipse 4.4 (Luna)
On Mon, May 4, 2015 at 8:02 AM, David Avendasora webobje...@avendasora.com wrote: I’d suggest creating the .wod files and tell Git to ignore them for now until you, or someone else, can track down the bug. I’m sure you could easily create them all with some form of terminal touch magic… I'm convinced, Dave. You're a smart paramecium! Gavin ___ Do not 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: On SQL fully qualified names and how to implement them in EO models
On May 4, 2015, at 6:42 PM, Ângelo Andrade Cirino aacir...@gmail.com wrote: Another possibility, more explicit and more direct, would be to have a new field in Entity Modeler to insert the schema name. This way we would have an entity property that could be directly used to build SQL with the schema name. It would make the SQL generation code non-ambiguous and less error prone. Don’t forget about the built-in userInfo dictionary in EOEntity (which has support in Entity Modeler). That seems like a logical place for extra info like this. Regards, Mark ___ Do not 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: [Google Chart] - Displaying chart in an Axaj Modal Dialog
Hi Ted, Thank for the pointer, but I don’t think it’s the issue (I might be wrong though;)) I think my issue is more “how to make the JS to execute inside the modal body. The code is there, so it looks more like I’m not triggering the js correctly inside the modal… Xavier On 4 mai 2015, at 17:52, Theodore Petrosky tedp...@yahoo.com wrote: does this help? I used this somewhere, I just can’t remember where. http://stackoverflow.com/questions/19663555/bootstrap-3-how-to-load-content-in-modal-body-via-ajax http://stackoverflow.com/questions/19663555/bootstrap-3-how-to-load-content-in-modal-body-via-ajax On May 4, 2015, at 11:48 AM, Dev WO webobje...@anazys.com mailto:webobje...@anazys.com wrote: Hi Samuel, I didn’t mention the console as there was nothing there. Let’s try to give more context:) I’ve got a component which is supposed to be the content of the modal dialog, let’s call it “Chart” This component is wo:str value = $googleChartGenerationString escapeHTML = $false/ div id = chart_points style = width: 1000px; height: 600px;TEST/div The $googleChartGenerationString generate something like this for example: script google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('datetime', 'Date'); data.addColumn('number', 'Points'); data.addRows([ [new Date(2015, 4, 3, 23, 44, 48), 1247], [new Date(2015, 4, 3, 23, 47, 43), 1247], [new Date(2015, 4, 4, 0, 24, 43), 1247], [new Date(2015, 4, 4, 4, 34, 55), 1247]]); var options = { curveType: 'none', legend: 'none', width: 900, height: 500 }; var chart = new google.charts.Line(document.getElementById('chart_points')); chart.draw(data, options); } /script If I’m placing this component inline in its parent component (which is called via a regular component action, meaning the parent isn’t called from an ajax request), everything is fine, the chart is displayed. If I’m placing the component in the “content” part of an AMD, I can see that it still gets the expected content (using the browser console), but nothing is displayed, even the “TEST” string isn’t removed which is also why I think the javascript isn’t executed at all. So I’m kind of puzzled as to what could prevent my “manual javascript from being executed when requested inside an AMD. I don’t really have much more context than this:( Xavier On 4 mai 2015, at 16:22, Samuel Pelletier sam...@samkar.com mailto:sam...@samkar.com wrote: Xavier, Have look at the javascript console, if there is javascript error, it is probably your problem. If there is nothing there, you should put way more context to explain what you want to achieve and how you tried so far. Samuel Le 2015-05-04 à 09:28, Dev WO webobje...@anazys.com mailto:webobje...@anazys.com a écrit : Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com mailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com mailto:sam...@samkar.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com mailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 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:
Re: [Google Chart] - Displaying chart in an Axaj Modal Dialog
I might have an underlying issue, but maybe it would give you a hint: my ajaxdatepicker doesn’t work in this modal either. Xavier On 4 mai 2015, at 17:52, Theodore Petrosky tedp...@yahoo.com wrote: does this help? I used this somewhere, I just can’t remember where. http://stackoverflow.com/questions/19663555/bootstrap-3-how-to-load-content-in-modal-body-via-ajax http://stackoverflow.com/questions/19663555/bootstrap-3-how-to-load-content-in-modal-body-via-ajax On May 4, 2015, at 11:48 AM, Dev WO webobje...@anazys.com mailto:webobje...@anazys.com wrote: Hi Samuel, I didn’t mention the console as there was nothing there. Let’s try to give more context:) I’ve got a component which is supposed to be the content of the modal dialog, let’s call it “Chart” This component is wo:str value = $googleChartGenerationString escapeHTML = $false/ div id = chart_points style = width: 1000px; height: 600px;TEST/div The $googleChartGenerationString generate something like this for example: script google.setOnLoadCallback(drawChart); function drawChart() { var data = new google.visualization.DataTable(); data.addColumn('datetime', 'Date'); data.addColumn('number', 'Points'); data.addRows([ [new Date(2015, 4, 3, 23, 44, 48), 1247], [new Date(2015, 4, 3, 23, 47, 43), 1247], [new Date(2015, 4, 4, 0, 24, 43), 1247], [new Date(2015, 4, 4, 4, 34, 55), 1247]]); var options = { curveType: 'none', legend: 'none', width: 900, height: 500 }; var chart = new google.charts.Line(document.getElementById('chart_points')); chart.draw(data, options); } /script If I’m placing this component inline in its parent component (which is called via a regular component action, meaning the parent isn’t called from an ajax request), everything is fine, the chart is displayed. If I’m placing the component in the “content” part of an AMD, I can see that it still gets the expected content (using the browser console), but nothing is displayed, even the “TEST” string isn’t removed which is also why I think the javascript isn’t executed at all. So I’m kind of puzzled as to what could prevent my “manual javascript from being executed when requested inside an AMD. I don’t really have much more context than this:( Xavier On 4 mai 2015, at 16:22, Samuel Pelletier sam...@samkar.com mailto:sam...@samkar.com wrote: Xavier, Have look at the javascript console, if there is javascript error, it is probably your problem. If there is nothing there, you should put way more context to explain what you want to achieve and how you tried so far. Samuel Le 2015-05-04 à 09:28, Dev WO webobje...@anazys.com mailto:webobje...@anazys.com a écrit : Hi All, I’m trying to display a chart generated with Google Chart inside an AMD. For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content. If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all. It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all. I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default content isn’t changed. I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything. Anyone has any pointer on how to get my javascript executed inside the AMD? Thanks a lot, Xavier ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com mailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com This email sent to sam...@samkar.com mailto:sam...@samkar.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com mailto:Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com 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
Re: On SQL fully qualified names and how to implement them in EO models
I'm not sure that modifying the plugins to use a UserInfo dictionary entry would be more likely to cause problems than modifying them to use a new top-level entry. There is already a _entityModeler key that is added to the various UserInfo dictionaries to hold things like multiple connection dictionaries and modelDoc that are additions to the apple-published spec. With that said, in this particular situation it seems more likely that the individual plugins should be modified to deal with multiple components in the table name. As you noted, different DBs have different levels of organization available. Schemas, Table Spaces, Databases, OracleWhatzit, etc. simply adding a key for schema is an oversimplification that begs for misuse (most likely by me). Dave Sent from my iPhone On May 4, 2015, at 8:04 PM, Ângelo Andrade Cirino aacir...@gmail.com wrote: I thought about it too, but it would be a non-standard solution, since each developer could use a name for the property. ___ Do not 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