new version of EOModelGraph

2019-06-05 Thread Markus Ruggiero via Webobjects-dev
I have updated the temporary Eclipse update site with the latest graphical editor for EOModels. At the same time I have issued a pull request to wocommity asking for integration into WOLips. You can try out the editor by using this https://rucotec.ch/WOLips-EOModelGraph as your update site. The

SQLite Adaptor?

2019-07-21 Thread Markus Ruggiero via Webobjects-dev
Anyone out there knowing about a SQLite EOF adaptor? I have a customer asking for SQLite access in an otherwise Oracle based large EOF app. Thanks for any info ---markus--- ___ Do not post admin requests to the list. They will be ignored. Webobjects-de

Re: Modern instructions for setting up an environment?

2019-07-26 Thread Markus Ruggiero via Webobjects-dev
https://learningthewonders.com You can download chapters 1-3 of my book for free. Updated instructions are available there too. Please come back here if you need any additional help/advice Have fun ---markus--- Author of the book "Learning the Wonders" > On 25 Jul 2019, at 16:32, Matt Lee via

Re: Null Delegate

2019-07-26 Thread Markus Ruggiero via Webobjects-dev
if I remember correctly you get this error when you instantiate a plain EOEditingContext (not the Wonder one!) in a Wonder app Don't do this: ec = new EOEditingContext() That is the way to do it: ec = ERXEC.newEditingContext() have fun ---markus--- > On 26 Jul 2019, at 11:36, André Rothe via W

New fixes for EOModelGraph in WOLips

2019-08-02 Thread Markus Ruggiero via Webobjects-dev
I have just issued a pull request to integrate EOModelGraph into the official WOLips master branch. Until this happens you can use the following URL to install the latest WOLips including the EOModelGraph model editor https://rucotec.ch/WOLips-EOModelGraph. Simply create a new software site ins

Dump NSDictionary as JSON structure?

2019-08-13 Thread Markus Ruggiero via Webobjects-dev
I got the task of maintaining a rather complex WO app. The original developer had ideas about keeping tons of data in memory (no idea why). For this he created several nested NSDictionary structures to cache data across page navigation. You can imagine there being lots of issues when users go ba

Safari ignores autocomplete="off" in AjaxAutoComplete component

2019-08-29 Thread Markus Ruggiero via Webobjects-dev
Seems there is a big issue with Safari and AjaxAutoComplete. The textfield is explicitly set to autocomplete="off" but Safari ignores this. So when the user starts typing Safari OVERLAYS the autocomplete list from the component with its own autocomplete stuff making the component's provided pick

Re: Safari ignores autocomplete="off" in AjaxAutoComplete component

2019-08-30 Thread Markus Ruggiero via Webobjects-dev
vices > with latest Wonder. > > The only problem I experience with AutoComplete is on iOS, the popup does not > appears at the field location. > > Samuel > > >> Le 29 août 2019 à 07:21, Markus Ruggiero via Webobjects-dev >> a écrit : >> >>

Performance issues with large binary data in database

2019-09-11 Thread Markus Ruggiero via Webobjects-dev
A customer of mine has issues with performance. We have identified that ec.saveChanges() sometimes takes ages to finish (tens of seconds, sometimes a minute or more). The application is basically a document hub, nothing too fancy. But the developer (who is not available anymore) once decided to

Binding to static vars?

2019-10-11 Thread Markus Ruggiero via Webobjects-dev
Quick problem: html/wod: Can I bind to a static variable (class property)? I think I remember having read once that this is possible but cannot remember where or how. Thanks for any help ---markus--- ___ Do not post admin requests to the list. They wi

Re: Binding to static vars?

2019-10-11 Thread Markus Ruggiero via Webobjects-dev
OGNL features. They just feel … wrong. > > - hugi > Wow, never looked at (WO)OGNL. Will certainly look these up (and yes, probably somehow wrong) Thanks for all the answers (and hey, great, there are still folks inhabiting this list) ---markus--- > > >> On 11 Oct 201

There is not WOHTTPSConnection.... how then?

2019-10-23 Thread Markus Ruggiero via Webobjects-dev
I need to upload data to a server via https. I have it working for http (no "s") using WOHttpConnection. But there is none with "S". The customer wants to switch to secure connection. How'd I do that? Here is my code for the non-secure upload: WORequest request = new WORequest("POST", applicati

Fwd: There is not WOHTTPSConnection.... how then?

2019-10-23 Thread Markus Ruggiero via Webobjects-dev
Thanks all for your help, I think there is lots of good stuff that will help me further. Have a good time and hopefully some WOFun (tm), too ---markus--- > Begin forwarded message: > > From: Markus Ruggiero via Webobjects-dev > Subject: There is not WOHTTPSConnection how then

AjaxFlexibleFileUpload vs. ERDragAndDropUpload

2019-12-18 Thread Markus Ruggiero via Webobjects-dev
AjaxFlexibleFileUpload is quite nice but does not provide drag'n'drop. Anyone's got an idea about how to enhance this component with drag'n'drop? ERAttachment framework has ERDragAndDropUpload component but for the current customer project using ERAttachment is not an option. Thus we have imple

Question re ERAttachment

2019-12-20 Thread Markus Ruggiero via Webobjects-dev
Started to have a closer look at ERAttachment. Am a bit confused though. There is a nice example in the package doc that explains how to attach an avatar picture to a person. This is modelled as a Person toOne ERAttachment. But what if a person has more than one image or document? This would the

is ERDragAndDropUpload broken? Or am I?

2019-12-21 Thread Markus Ruggiero via Webobjects-dev
Started to look into ERAttachment and found this to be more or less what I need. Trying to implement things however don't go well. I want to use ERDragAndDropUpload component from ERAttachment but somehow the data is not properly transferred. Here is the bindings: Uploader : ERDragAndDropUploa

Standalone D2W RuleModeler update?

2019-12-28 Thread Markus Ruggiero via Webobjects-dev
Is there a new(er) version of the standalone macOS D2W RuleModeler available? The version I have is 1.6.0. I looked up the source in WonderSource but this also seems to be 1.6.0. Opening the xcodeproj file throws hundreds of issues at me. That is way over my head to fix (at leat at the moment).

Re: WOLips and JDK versions

2020-02-24 Thread Markus Ruggiero via Webobjects-dev
Hi André, my understanding is that Wonder7 requires Java 8 (1.8). As you try to compile with Java 7 things don't work. You can of course set the compiler compliancy to Java 7 for your classes, but nevertheless your code requires a Java 8 runtime because the Wonder frameworks need this. Hope th

Re: WOWODC 2020 - I'm afraid not

2020-03-17 Thread Markus Ruggiero via Webobjects-dev
Traurig Traurig Traurig* ---markus--- * the Germans/Austrians/Swiss might remember the movies from the 196* and early 197* with the actor Theo Lingen as school teacher / headmaster for all the others: sad sad sad... > On 16 Mar 2020, at 17:32, Maik Musall via Webobjects-dev > wrote: > > Hi

Re: Problem with fresh install....

2020-03-25 Thread Markus Ruggiero via Webobjects-dev
> On 24 Mar 2020, at 16:16, Louis Demers via Webobjects-dev > wrote: > > Hi, > > MacBook Pro died so I have to reinstall the whole toolchain to do some > mentante on our WO application. I’m almost done, but the I run as WO > Application, I get > > Error: Could not find or load main class c

WOBootstrap.jar

2020-04-17 Thread Markus Ruggiero via Webobjects-dev
I am fighting a nasty classpath issue (at least I think it is class path related). Build a standard non-WO Java app that uses FOP to generate PDF. This app runs as a conventional WebService -> Works Export this app to standalone runnable jar-File. -> all fine and running and doing its job. The

Weird deployment issue on Mojave (App runs but does not accept connection)

2020-04-18 Thread Markus Ruggiero via Webobjects-dev
For a test I created a deployment env on macOS 10.14.6 Mojave. wotaskd runs startet WOnitor manually and through monitor itself installed it as a WOApp I can reach WOMonitor through http://localhost:, however I cannot reach it through http://localhost/cgi-bin/WOMonitor Ok, anyway, let's cont

FOP resources embedded inside included jar library [was Re: WOBootstrap.jar]

2020-04-22 Thread Markus Ruggiero via Webobjects-dev
DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder(); Configuration fopConfiguration = cfgBuilder.build( fopConfigStream ); fopFactoryBuilder.setConfiguration(fopConfiguration); fopFactory = fopFactoryBuilder.build();

Re: buildability? basic questions...

2020-04-25 Thread Markus Ruggiero via Webobjects-dev
Hi Ray, welcome back, The Wonder Frameworks are (should be?) buildable. I have updated the installation guide on https://learningthewonders.com just recently. The first 3 chapters of my book are online available for free. These include the detailed setting up of the environment including buildi

Re: WOLips bugfixes and new features planning

2020-05-29 Thread Markus Ruggiero via Webobjects-dev
I'd be willing to help with a handfull CHF/€/$/£ whatever. What budget are we talking about? There are some things I would like to see in WOLips - support for html5 and newer Java version (8?) when creating a new Wonder Application. Currently it still links against Java 1.5 and the Main.html is

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Markus Ruggiero via Webobjects-dev
Why not simply override toString() in EOGenerate templates once and for all? > On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev > wrote: > > Hi there, > > occasionally, I need to put entities/attributes/relationships into complex > nested property lists. Occasionally for debug, I need to pr

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Markus Ruggiero via Webobjects-dev
When you create your EOModel you also designate Java classes that should model the Java side of life. In Eclipse you then have to "EOGenerate" the class files. This generation is template driven. You can find the Wonder Templates as part of the Wonder Source. Take them, modify them to your likin

Re: WOSubmitButton - AjaxSubmitButton - CCSmartButton

2020-09-02 Thread Markus Ruggiero via Webobjects-dev
Dominik, I think you should include a bit more code. It is not clear when and why a dialog should be shown . Also where should it pop up? On the current page (stay on page and show dialog) or on the destination page? At least explain the desired flow of action. > On 2 Sep 2020, at 10:53, Domini

Re: Reverse Engineering in WOLips/EOModeler not finding Driver

2020-09-04 Thread Markus Ruggiero via Webobjects-dev
> On 4 Sep 2020, at 05:29, Lon Varscsak via Webobjects-dev > wrote: > > Hey guys, > > I'm trying to do reverse engineering in EOModeler, but when I go to do it it > complains that it can't find a suitable driver. The drive is on the > classpath for the project (and works fine connecting),

Re: Reverse Engineering in WOLips/EOModeler not finding Driver

2020-09-10 Thread Markus Ruggiero via Webobjects-dev
On 9 Sep 2020, at 19:57, Lon Varscsak wrote: > > Hmm, when you say driver in the "workspace" where do you mean? It's > currently on the classpath. yes, of course, that's what I meant, sorry for the wrong wording. There might be other issues like driver not being compatible with the database

You may not want to upgrade Eclipse to 2020-09

2020-10-02 Thread Markus Ruggiero via Webobjects-dev
In case anyone is using my EOModel-Graph branch of WOLips (there is still a pull request outstanding, it has not yet been integrated into WOLips), DO NOT upgrade Eclipse to 2020-09 as this version requires at least Java 11 as its own runtime env. EOModel-Graph does not work because there are iss

Multi column D2W Edit Page?

2020-12-01 Thread Markus Ruggiero via Webobjects-dev
Maybe I am overlooking something . . . Is there a multi colum create/inspect/edit page available in (ERX)D2W? I have an EO with many attributes and having them listed one after the other creates rather long pages with lots of whitespace at the right side. Would be great if at least two columns

Quick Q regarding D2W smartAttributes

2020-12-02 Thread Markus Ruggiero via Webobjects-dev
Quick question: Why does this rule 200 : (smartAttribute.className = 'java.lang.Boolean' and task = 'list') => componentName = "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment] not fire (even with a bumped-up prio)? A more specific rule however works but is a nuisance because I have t

Re: Quick Q regarding D2W smartAttributes

2020-12-08 Thread Markus Ruggiero via Webobjects-dev
ot;D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment] So I do have a working solution, just out of curiosity - why? What is going on here? ---markus--- > On 2 Dec 2020, at 12:15, Markus Ruggiero via Webobjects-dev > wrote: > > Quick question: > Why does this rule

Adding a Create New button to a D2WQueryPage?

2020-12-08 Thread Markus Ruggiero via Webobjects-dev
Quick D2W question: Is there a rule so that I can include a [Create New] button on a QueryPage? I assume there is such a thing, but was not able to find out. Thanks ---markus--- ___ Do not post admin requests to the list. They will be ignored. Webobjec

Re: session/logged-in user valid for a specific component only?

2022-01-09 Thread Markus Ruggiero via Webobjects-dev
When you create your page inheriting from OCSComponent you inherit all the methods including all managing your currentUser. Just override those. I would think that solves your problem without too much of legwork. Have fun ---markus--- > On 9 Jan 2022, at 10:21, ocs--- via Webobjects-dev > wro