Re: Regarding the "localhostips" property in deployment

2025-05-30 Thread Hugi Thordarson via Webobjects-dev
> adaptor config file to reach them. However, we do not have applications on > hosts with no local wotaskd, so maybe that’s the one case where this would be > necessary? > > Maik > On 6 May 2025, at 02:05, Paul Hoadley via Webobjects-dev > wrote: > >> On 5 M

Do we need ERXApplication.Loader anymore?

2025-05-30 Thread Hugi Thordarson via Webobjects-dev
Hi all, quick question: Does anyone know if ERXApplication.Loader does anything of value, or that's required for a maven application to function? I spent yesterday looking into it and ended up just disabling it in my wonder fork/all my projects (12 apps using a variety of frameworks), and for

Regarding the "localhostips" property in deployment

2025-05-05 Thread Hugi Thordarson via Webobjects-dev
Hi all, quick question: When setting up a deployment environment you usually have to set the property er.extensions.WOHostUtilities.localhostips (usually in /etc/WebObjects/Properties) to ensure your applications accept incoming admin requests from wotaskd. This feels a little redundant, so I'v

Help with running the development version of WOLips?

2025-04-27 Thread Hugi Thordarson via Webobjects-dev
Hi all! (with a loving look, nod of the head and an especially warm smile for Ramsey) I'm trying to take a little peek at WOlips's internals, i.e. running it for development inside the Eclipse plugin development environment. I used to have the pre-5 plugin running, but I'm not managing to run t

Anywhere you can get WO 4.5.1?

2025-04-11 Thread Hugi Thordarson via Webobjects-dev
Hi all! Pardon my nostalgia, but a 1999 PowerMac G4 just fell in my lap. Looks like my data hoarding might finally be paying off, since I have the Mac OS X Server 1.2 (Rhapsody) and WO CDs (which amazingly enough worked just fine), along with backups of a bunch of my ancient WO projects that I'

New template parser for WO - "Parsley" - released

2025-04-05 Thread Hugi Thordarson via Webobjects-dev
Hi all. If anyone is interested, I've released a new template parser for use with WO (can be used with Wonder, but Wonder not required): https://github.com/undur/Parsley/ The parser is based on the code of WOOgnl from Project Wonder and thus supports templates that use WOOgnl style inline bin

Re: New template parser for WO - "Parsley" - released

2025-03-28 Thread Hugi Thordarson via Webobjects-dev
> On 27 Mar 2025, at 22:23, Paul Hoadley wrote: > > On 27 Mar 2025, at 22:53, Hugi Thordarson via Webobjects-dev > wrote: > >> Anyway, that's all. Hope someone finds this useful. > > Fantastic work Hugi! I will check this out. Thanks Paul! It will be inter

Re: That pesky Amount read didn't match content-length ...

2025-02-13 Thread Hugi Thordarson via Webobjects-dev
can test this again with streaming if that turns out to be your case (performing a 300MB upload with the odl style bindings and timeouts properly set works fine for me through the Apache adaptor). Cheers, - hugi > On 13 Feb 2025, at 11:17, OCsite wrote: > > Hugi, > >> On

Re: That pesky Amount read didn't match content-length ...

2025-02-13 Thread Hugi Thordarson via Webobjects-dev
Hi OC, when you say 2 MB, is it possible you mean 2 GB? There used to be (and maybe still is? it's been a while) a problem with both the Apache adaptor and WO's own WOAdaptor using an int to keep track of content-length, meaning file uploads/downloads tended to fail when it was larger than Inte

Re: NScollections vs Java collections

2025-02-03 Thread Hugi Thordarson via Webobjects-dev
> > I want to play with Cayenne but have not found the real good yet... Porting a > large application seems a bit too big to experiment a new frameworks but I > have a personal project that seems a very good fit. > > Regards, > > Samuel > > >> Le 3 f

Re: NScollections vs Java collections

2025-02-03 Thread Hugi Thordarson via Webobjects-dev
t;> >> Iirc the NS collections were there due to simplifying porting of apps from >> objc to Java. I don’t think there is any big difference in performance >> >> Sent from my iPhone >> >>> On 2 Feb 2025, at 12:18, Jérémy DE ROYER via Webobjects-dev

Re: NScollections vs Java collections

2025-02-02 Thread Hugi Thordarson via Webobjects-dev
When I made the switch to Java collections I did do some benchmarking. Haven’t got the code anymore (this was a decade ago) but at that time, the Java collection classes were faster, but the operations were really so fast in both cases that the differences were negligible — at that time. Since

Re: Eureka!!!

2025-01-19 Thread Hugi Thordarson via Webobjects-dev
! - hugi > On 19 Jan 2025, at 22:48, Ramsey Gurley wrote: > > Since we are chatting... is it sufficient to add the JavaXML framework to > in order to see that issue 153 happen? > > > On 1/20/25 7:42 AM, Hugi Thordarson via Webobjects-dev wrote: >>>> Regarding

Re: Eureka!!!

2025-01-19 Thread Hugi Thordarson via Webobjects-dev
>> Regarding workarounds for the module system (—add-exports/- -add-opens), I >> keep those in the global configuration for the JREs used by Eclipse to >> launch my applications (same place where you’d usually put the hotswap-agent >> and DCEVM config), so it’s a one time thing that I don’t have

Re: Eureka!!!

2025-01-19 Thread Hugi Thordarson via Webobjects-dev
Mornin'! Just adding to the conversation; I didn’t know JVM arguments from a project's build.properties were passed to JVMs launched by Eclipse. If it’s so, I probably don’t benefit from it since it's probably be the responsibility of the WOLips launcher to read and pass in those arguments (mea

Re: WOLips5

2024-11-17 Thread Hugi Thordarson via Webobjects-dev
Ramsey, you rock. Quick to build, easy to install. Been using it for about an hour and haven't noticed any issues. - hugi > On 18 Nov 2024, at 03:12, Ramsey Gurley via Webobjects-dev > wrote: > > I'm pleased to announce a new WOLips version: WOLips5. I've now pushed a new > branch to the WO

Re: WOLips development

2024-11-11 Thread Hugi Thordarson via Webobjects-dev
ponent and NSValidation caches on class > reload. > > With this setup, you usually only need to restart an app when changing the > base class of a class or a static member initializer. > > I wrote the plugin, il you have question or feature requests, feel free to > ask.

Re: WOLips development

2024-11-07 Thread Hugi Thordarson via Webobjects-dev
d at > https://wocommunity.org/documents/tools/jprofiler6/ > > On 11/7/24 5:44 PM, Hugi Thordarson via Webobjects-dev wrote: >> Ramsay, it's awesome you're taking a look at WOLips, thanks for that! And >> curiosity is eating me alive; looking at anything in part

Re: WOLips development

2024-11-07 Thread Hugi Thordarson via Webobjects-dev
Ramsay, it's awesome you're taking a look at WOLips, thanks for that! And curiosity is eating me alive; looking at anything in particular? Not using either of the plugins you mentioned. But using the opportunity for some evangelism; replaced JRebel with DCEVM and hotswap-agent a few years back.

Re: Wonder-slim

2024-05-04 Thread Hugi Thordarson via Webobjects-dev
im in eclipse I get the "your IDE is missing natures >> to properly support your project " >> In your wonder-slim README the link after "Let’s set it up" seems broken. >> May be is something wrong in my Wo / Maven configuration. >> I can’t find th

Re: Wonder-slim

2024-05-01 Thread Hugi Thordarson via Webobjects-dev
n achieve the same by creating one of those (or adding wonder-slim to one of your existing projects). Cheers, - hugi > > Francois > >> Le 1 mai 2024 à 16:31, Hugi Thordarson via Webobjects-dev >> a écrit : >> >> Hi Ricardo, >> >> https://gith

Re: Wonder-slim

2024-05-01 Thread Hugi Thordarson via Webobjects-dev
Parada wrote: > > Hi all, > > I’m just curious, what is Wonder-slim? > > Thanks > Ricardo > > >> On Apr 29, 2024, at 4:57 PM, Hugi Thordarson via Webobjects-dev >> wrote: >> >> Hi Francois, >> I'm pretty sure I'm the onl

Re: Wonder-slim

2024-04-29 Thread Hugi Thordarson via Webobjects-dev
Hi Francois, I'm pretty sure I'm the only one using it at the moment :). If you're considering using it, I'd be more than happy to start making actual releases. As the only user, I've been lazy enough to just work from snapshot releases which is pretty far from best practice, so it's about time.

Re: Debug frameworks with maven project

2024-04-27 Thread Hugi Thordarson via Webobjects-dev
re: https://github.com/wocommunity/wolips/issues/153. So, yeah... If you're using maven and want a correct classpath and proper inter-project relationships, run your applications as Java applications, not WOApplications. Cheers, - hugi > On Apr 16, 2024, at 05:28, Hugi Thordarson

Re: action in a sub-component?

2024-04-26 Thread Hugi Thordarson via Webobjects-dev
I've never done this, but it's such a nice brain-teaser I had to try :). And what I did _seems_ to work. https://gist.github.com/hugithordarson/37d03336de17cfcf3ac399f6325e0ff2 The key is making the child component non-synchronizing, otherwise the parent action will get invoked during the pulli

Re: enumerating sessions?

2024-04-26 Thread Hugi Thordarson via Webobjects-dev
Hi, if you're using WO's standard session store (WOServerSessionStore) you should be able to access the active sessions using: ((WOServerSessionStore)WOApplication.application().sessionStore())._sessions() It will return a dictionary consisting of sessionID -> Session. Not using it though, I'm

Re: Debug frameworks with maven project

2024-04-15 Thread Hugi Thordarson via Webobjects-dev
I don't think I've ever had to attach sources of maven projects manually in Eclipse (although I recall hitting something like this in a far past). And given the second problem, it kind of sounds like the link between the app project and the libraries/frameworks is completely broken. Paul's sugg

Re: WOLips Update

2024-03-16 Thread Hugi Thordarson via Webobjects-dev
"All" is just Ralf. I opened Eclipse 2024-03 for the first time, only to get that error. Within minutes, my mail client said "bing!" and it was a notification about Ralf's fix PR. So I tested the fork a bit, worked fine, just merged. So thanks Ralf! Perfect timing :) - hugi > On Mar 15, 2024,

Re: Meetup maybe? Or call me maybe?

2023-12-23 Thread Hugi Thordarson via Webobjects-dev
Hi guys, just seeing this now, sorry! The whole family apart from me decided to go sick last week, so I've assumed the duties of shopping, wrapping and otherwise preparing the holidays alongside work :). But I like Ted's idea of "sharing the love". If there's interest, I'd love to have an open

Re: Current state of enterprise frameworks

2023-10-02 Thread Hugi Thordarson via Webobjects-dev
Good question… If you add some details on the project I'll provide better answers : ). As for myself, I still use WO for most front end work and consider it good at what it does. Fast, simple and effective. But I've switched most of my DB logic/domain logic away from EOF to Cayenne and sincerel

Re: New installation WOLips problems

2023-09-15 Thread Hugi Thordarson via Webobjects-dev
ply approve on my own. Can someone help with that? > > Maik > > >> Am 15.09.2023 um 11:09 schrieb Hugi Thordarson via Webobjects-dev >> : >> >> Hi Stavros, >> >> some deprecated APIs were removed in Eclipse 2023-06 making WOLips go >

Re: New installation WOLips problems

2023-09-15 Thread Hugi Thordarson via Webobjects-dev
Hi Stavros, some deprecated APIs were removed in Eclipse 2023-06 making WOLips go bonkers. I made a quick fix during summer which I've been using since https://github.com/hugithordarson/wolips/commit/2eca954c5ea9337073c8746be6715758ff487896 I wonder if we shouldn't just tag the current master "

Re: [Proposal] Drop Wonder's Ant Build

2022-06-16 Thread Hugi Thordarson via Webobjects-dev
> (and if you're using the builds from jenkins.wocommunity.org > , you're already using the maven built > frameworks). So… This was a blatant lie on my behalf (would love some recipes for crow right now). Jenkins currently uses the ant build. But Maven in gener

Re: [Proposal] Drop Wonder's Ant Build

2022-06-16 Thread Hugi Thordarson via Webobjects-dev
Thanks for raising the issue Henrique! It probably comes as no surprise that I support this :). Ted; just to clarify, this proposal only applies to the building of Wonder itself. Wonder's maven build generates artifacts/bundles that can be consumed by Ant applications, so nothing changes in tha

Re: Alternative JVM

2021-04-20 Thread Hugi Thordarson via Webobjects-dev
ting did you modify? > > On Mon, Apr 19, 2021 at 2:23 AM Hugi Thordarson <mailto:h...@karlmenn.is>> wrote: > Hi Lon, > the .woa's [platform]Classpath.txt files have some variables defined in > comments at the top. One of them is "JVM" which is the java ex

Re: Alternative JVM

2021-04-19 Thread Hugi Thordarson via Webobjects-dev
Hi Lon, the .woa's [platform]Classpath.txt files have some variables defined in comments at the top. One of them is "JVM" which is the java executable. I've changed that during build to point to my desired JVM, replacing "java" with something like "/opt/jdk8/bin/java". I don't think you can cha

Source for the deployed archetypes on maven.wocommunity.org?

2021-04-07 Thread Hugi Thordarson via Webobjects-dev
Hi all, does anyone know where the sources for the currently deployed maven archetypes (2.2-SNAPSHOT) on maven.wocommunity.org are? The WOCommunity WOLips repo has sources (https://github.com/wocommunity/wolips/tree/master/maven2/archetypes

Wonder Java 11 migration

2021-03-27 Thread Hugi Thordarson via Webobjects-dev
Hi all! A few of us would like to move the Wonder development branch from Java 8 to Java 11, as a first step in moving to modern java versions. https://github.com/wocommunity/wonder/pull/944 This means new versions of Wonder would only be compat

Re: Idle in transaction

2020-12-15 Thread Hugi Thordarson via Webobjects-dev
Not sure if this is still the correct solution (it's been a while) but we solved this back in the day by appending the parameter ?useBundledJdbcInfo=true to the DB connection URL. Makes the Postgres plugin load jdbcInfo from the plugin bundle rather than the DB. https://github.com/wocommunity

Re: Webobjects-dev Digest, Vol 17, Issue 168

2020-11-02 Thread Hugi Thordarson via Webobjects-dev
> Is it not possible to make it public? Not to my knowledge, unfortunately. That would definitely be the optimal solution. > I think I tried to get in, but honestly, I have so much trouble logging into > slack with their truly bizarre idea of how to find what channels you belong > to and log t

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Hugi Thordarson via Webobjects-dev
>>> that help keep our apps nicely modern and I’m actually really happy with >>> the results so I still love WO and haven’t found anything I could wield >>> that kind of power. >>> >>> I should put the Docker stuff into a WIKI page, but I’m also wondering &

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Hugi Thordarson via Webobjects-dev
hing. > > Ideas? > > > >> On Nov 1, 2020, at 1:06 PM, Hugi Thordarson via Webobjects-dev >> mailto:webobjects-dev@lists.apple.com>> >> wrote: >> >> The Slack channel is in no way or form meant to be a secret. It's something >> I s

Re: The secret WOCommunity Slack channel?

2020-11-01 Thread Hugi Thordarson via Webobjects-dev
The Slack channel is in no way or form meant to be a secret. It's something I started for fun a during a WOWODC session and the more people that join the better! I thought it was "common knowledge" by now but I can absolutely understand how the channel can be perceived as "secret", since it's n

Simplifying Wonder

2020-10-14 Thread Hugi Thordarson via Webobjects-dev
Hi all, for the past couple of days I've been doing some simplification of Project Wonder with the help of Paul (Hoadley). The goal is to shed some of the weight that Wonder carries and make it easier to develop and make it easier to use it as a tool to carry WO forward. What we've got so far i

Re: Qualifying a DisplayGroup in WOO

2020-10-12 Thread Hugi Thordarson via Webobjects-dev
Hi Don, it's been ages since I've used DisplayGroups, but it does seem like you're missing an invocation of qualifyDisplayGroup() (if you want to filter objects already in the DG) or qualifyDataSource() (to perform an entirely new fetch) on the DG to actually do anything with the qualifier you'v

Re: Maven and Wonder

2020-09-16 Thread Hugi Thordarson via Webobjects-dev
Nice! > On 16 Sep 2020, at 05:03, Paul Hoadley wrote: > > Just for the archives... > > On 6 Feb 2019, at 04:53, Hugi Thordarson <mailto:h...@karlmenn.is>> wrote: > >> Regarding (1), you probably need to include JarResourceRequestHandler >> ((

Re: WOLips development on Windows—hot reload classes

2020-08-20 Thread Hugi Thordarson via Webobjects-dev
ple.com] > Envoyé : vendredi 21 août 2020 00:55 > À : Hugi Thordarson > Cc : WebObjects List > Objet : Re: WOLips development on Windows—hot reload classes > > On 20 Aug 2020, at 23:29, Hugi Thordarson via Webobjects-dev > mailto:webobjects-dev@lists.apple.com>> > wro

WOLips development on Windows—hot reload classes

2020-08-20 Thread Hugi Thordarson via Webobjects-dev
Hi all, I've got a Windows guy doing WO development using WOLips. Everything works fine, apart from one thing: Dynamic class reloading does not seem to be working. Automatic building is active and changes to HTML/templates get picked up on immediately. But changes to Java code are not picked up o

Re: How often do you bounce your apps?

2020-08-08 Thread Hugi Thordarson via Webobjects-dev
esently in memory using >> techniques listed here: >> https://medium.com/@jerolba/measuring-actual-memory-consumption-in-java-jmnemohistosyne-5eed2c1edd65 >> >> <https://medium.com/@jerolba/measuring-actual-memory-consumption-in-java-jmnemohistosyne-5eed2c1edd65> >>

Re: How often do you bounce your apps?

2020-08-06 Thread Hugi Thordarson via Webobjects-dev
gt;>> and set memory stuff from JavaMonitor to keep things sane. >>>>> >>>>> >>>>> >>>>>> On Aug 5, 2020, at 3:35 AM, Jérémy DE ROYER via Webobjects-dev >>>>>> mailto:webobjects-dev@lists.apple.co

Re: How often do you bounce your apps?

2020-08-04 Thread Hugi Thordarson via Webobjects-dev
Never. Uptime on my apps is usually weeks or months. Cycled regularly when I used EOF though. That thing leaks. - hugi > On 4 Aug 2020, at 21:31, Aaron Rosenzweig via Webobjects-dev > wrote: > > Personally I feel better bouncing my .woa instances daily. Even if it is a > small site I have

Re: WOLips bugfixes and new features planning

2020-07-02 Thread Hugi Thordarson via Webobjects-dev
Regarding the old GitHub issue list, I took a look at it a while back. The thing that struck me was how old most of the issues are so testing them all might be something of a waste of time. https://docs.google.com/spreadsheets/d/1VnyixuTJN_bVVHhISC2mP4XdRLUnzcRFb63hIBD4I2M/edit#gid=10545987

Re: Creating a EOModel in code

2020-06-26 Thread Hugi Thordarson via Webobjects-dev
EOF/ERXKey qualifiers and stuff would work, I’d use EOModeler? > > MySQL works fine it sounds, I’m using AWS stuff myself… > > > >> On Jun 26, 2020, at 3:27 PM, Hugi Thordarson wrote: >> >>> Ok, so are all the cool guys using Cayenne now then? >> >&g

Re: Creating a EOModel in code

2020-06-26 Thread Hugi Thordarson via Webobjects-dev
ot;generic everything framework" like EOF wants to be). - hugi >> On Jun 26, 2020, at 3:10 PM, Hugi Thordarson via Webobjects-dev >> wrote: >> >> You might also want to take a look at Cayenne. It's well documented and >> we're eager to help where t

Re: Creating a EOModel in code

2020-06-26 Thread Hugi Thordarson via Webobjects-dev
You might also want to take a look at Cayenne. It's well documented and we're eager to help where the docs fall short. And most importantly; it's an active and maintained project that didn't die over a decade ago :) - hugi > On 26 Jun 2020, at 19:04, Aaron Rosenzweig via Webobjects-dev > wr

Re: Creating a EOModel in code

2020-06-25 Thread Hugi Thordarson via Webobjects-dev
It used to be a good call. As in… The best. Now don't and move on (ps: Cayenne) - hugi > On 26 Jun 2020, at 02:28, Jesse Tayler wrote: > > Hey, I use EOF! > >> On Jun 25, 2020, at 10:25 PM, Hugi Thordarson wrote: >> >> And if you're creating a new p

Re: Creating a EOModel in code

2020-06-25 Thread Hugi Thordarson via Webobjects-dev
And if you're creating a new project, don't use EOF. If you must? Have a really. really. really. good reason. > On 26 Jun 2020, at 01:32, Jesse Tayler via Webobjects-dev > wrote: > > You can generate your model based on your data-schema. I think that’s what > you want, but you can also create

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Hugi Thordarson via Webobjects-dev
You could also specify your own EO superclass in the EOModel and override toString() globally in that class, right? That way you can avoid messing with the EOGenerator templates. (disclaimer: it's been a while since I've touched EOF) Cheers, - hugi > On 2 Jun 2020, at 12:05, Paul Yu via Webo

Re: Multiple timezones

2020-02-26 Thread Hugi Thordarson via Webobjects-dev
My solution to this particular problem is to live in Iceland and work only on software for Icelanders. No daylight savings and all UTC all the time. Almost worth the weather. - hugi > On 26 Feb 2020, at 18:12, Jesse Tayler via Webobjects-dev > wrote: > > Just to complain about how hard thi

Another WODay

2020-02-16 Thread Hugi Thordarson via Webobjects-dev
Hi all, I really enjoyed WODay last year, huge kudos to Rene and the people at Salient for that! Are you considering a repeat this year? - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjec

Re: Back again....

2020-02-16 Thread Hugi Thordarson via Webobjects-dev
>> THe cuirrent install process isn't horrible, it's just not described >> succinctly and correctly in one place. > > You're absolutely right here. I'm afraid that the issue is simply that > WebObjects (and to a large extent Project Wonder as well) is abandonware, and > the will to keep this i

Re: More recent PRs for wolifecycle-maven-plugin

2020-02-10 Thread Hugi Thordarson via Webobjects-dev
Hi Paul, I haven't tried out the new features (currently in bed with pneumonia so I'm not good for a lot) but I checked out the updated snapshot version and successfully built a couple of projects with it. So I can at least confirm that the changes don't seem to break anything (well, for me at l

Re: suspicious sessions and R/R loops created for a CSS font

2020-01-10 Thread Hugi Thordarson via Webobjects-dev
Well, WOStaticResourceRequestHandler doesn't really "create a request/response loop". A request is is sent to the application, the application will then look at the URL and determine from that what request handler should handle the request. That handler then generates a response. In this case WO

Re: Catalina and Frontbase

2019-12-29 Thread Hugi Thordarson via Webobjects-dev
Can't see anything WO/EOF-specific about that stack overflow so you might want to check with the FrontBase-folks (frontbase.com has contact addresses). Lucky you. They're really among the nicest people you'll ever encounter on this planet :). - hugi > On 30 Dec 2019,

Re: AjaxFlexibleFileUpload vs. ERDragAndDropUpload

2019-12-18 Thread Hugi Thordarson via Webobjects-dev
I moved away from the Wonder upload components a while back and moved to use dropzone.js, which is quite nice. Unfortunately I've never gotten around to make an actual component out of it since each project has such different UI requirements. But dropzone is easy enough to use and quite well do

Re: There was an old thread about Ajax...

2019-11-02 Thread Hugi Thordarson via Webobjects-dev
e TreasureBoat knowledge and effort to > re-write the Ajax related frameworks using new tools but I still think that > retrofitting that stuff is going to be very difficult. > > > >> On Oct 31, 2019, at 10:05 PM, Hugi Thordarson wrote: >> >> Yeah, that's h

Re: There was an old thread about Ajax...

2019-10-31 Thread Hugi Thordarson via Webobjects-dev
Yeah, that's helpful. Sorry we're not aware of that secret work on TreasureBoat. - hugi > On 29 Oct 2019, at 15:13, Paul Yu via Webobjects-dev > wrote: > > The tough work has already been done by Ken on the TreasureBoat. > > But as they say, you can lead a horse to water, but you can’t make

Re: Anyone running macOS Catalina yet?

2019-10-20 Thread Hugi Thordarson via Webobjects-dev
hugi > On 20 Oct 2019, at 13:15, Jérémy DE ROYER wrote: > > Hi all, > > Did anyone migrate to Catalina with Wolips for development ? > > Have a nice week-end, > > Jérémy > >> Le 23 août 2019 à 12:12, Hugi Thordarson via Webobjects-dev >> mailto:webobject

Re: Binding to static vars?

2019-10-14 Thread Hugi Thordarson via Webobjects-dev
>>> Well, it's *possible*… >>> >>> >>> >>> https://wiki.wocommunity.org/display/documentation/WOOgnl+Framework >>> >>> >>> That being said, I've never actually used these more elaborate-y obscure-y >>> OGNL features. They j

Re: Binding to static vars?

2019-10-11 Thread Hugi Thordarson via Webobjects-dev
Well, it's *possible*… https://wiki.wocommunity.org/display/documentation/WOOgnl+Framework That being said, I've never actually used these more elaborate-y obscure-y OGNL features. They just feel … wrong. - hugi > On 11 Oct 2019, at 14:26, Markus Ruggiero via Webobjects-dev > wrote: > >

Re: Performance issues with large binary data in database

2019-09-11 Thread Hugi Thordarson via Webobjects-dev
Hi Markus, when I had problems like this it was usually because I was "accidentally" fetching a lot of the blob-containing objects (like EOF firing a relationship to check delete rules when performing a delete). But I'd start by attaching a profiler like VisualVM to your application to see wher

Re: Anyone running macOS Catalina yet?

2019-08-23 Thread Hugi Thordarson via Webobjects-dev
Peace! > > Tim - UCLA GSE&IS > >> On Aug 10, 2019, at 1:19 PM, Hugi Thordarson via Webobjects-dev >> wrote: >> >> Hi all, >> anyone doing WO development on the macOS 10.15 (Catalina) beta? Success/fail? >> >> Cheers, >> - hugi >>

Re: Dump NSDictionary as JSON structure?

2019-08-13 Thread Hugi Thordarson via Webobjects-dev
Hi Markus, check out Gson. I've been using it for a few years and it works great. Simple things are simple, but it's also powerful, allowing you to pass in custom serializers, customize date formats etc. Simple example: String jsonString = new GsonBuilder().create().toJson( someNSDictionary );

Anyone running macOS Catalina yet?

2019-08-10 Thread Hugi Thordarson via Webobjects-dev
Hi all, anyone doing WO development on the macOS 10.15 (Catalina) beta? Success/fail? Cheers, - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Upd

Re: Problem Downloading Large Files

2019-05-03 Thread Hugi Thordarson
<mailto:lei...@portfolioaid.com> > > This e-mail may be privileged and confidential. If you received this e-mail > in error, please do not use, copy or distribute it, but advise me immediately > (by return e-mail or otherwise), and delete the e-mail. > > From: Hugi T

Re: Problem Downloading Large Files

2019-05-03 Thread Hugi Thordarson
Hi Leigh, since the InputStream is called "byteIn" I'm guessing it's a ByteArrayInputStream, meaning the data it contains has been loaded to memory. If you have an actual file, you might consider using a FileInputStream instead. Cheers, - hugi > On 3 May 2019, at 18:02, Leigh Kivenko wrote: >

Re: Maven builds and fetchSpecs

2019-05-02 Thread Hugi Thordarson
Hi Dmytro, someone who uses EOF might probably be better able to help you. But just for testing I tried this out: Opened an old project that uses EOF, created a FetchSpec in a model in a framework it referenced and was successfully able to get to it using EOFetchSpecification.fetchSpecificationN

Re: WO-Day 2019 and WOWODC Recordings

2019-04-13 Thread Hugi Thordarson
Dang, now I have to spend my vacation walking down memory lane instead of doing something useful. Awesome work, thanks for this! - hugi > On 13 Apr 2019, at 13:43, Maik Musall wrote: > > Hi all, > > I just published the WO-Day 2019 recordings, and put them on a Wiki page. The > recordings

Re: Returning a response of unknown length using WOResponse.setContentStream()

2019-03-31 Thread Hugi Thordarson
(pardon last post, prematurely sent) >> If you figure this out, I'd love to hear about it. > > Markus Stoll pointed me in the direction of WOHttpIO as well. I will take a > look at some point. For now the product has shipped with the temp file > solution, but I will add this to my list of thing

Re: Returning a response of unknown length using WOResponse.setContentStream()

2019-03-31 Thread Hugi Thordarson
// Hugi Þórðarson // Strimillinn ehf. // 895-6688 > On 30 Mar 2019, at 03:56, Paul Hoadley wrote: > > Hi Hugi, > > On 30 Mar 2019, at 2:23 am, Hugi Thordarson <mailto:h...@karlmenn.is>> wrote: > >> I can't offer any help at all, > > I was count

Re: Can WOPopupButton's selectedValue binding set a value in a component?

2019-03-29 Thread Hugi Thordarson
rom the proxy object or by > deserializing them from the field, render the checkbox, handle the changes in > the ui and send back the result. > > Regards, > > Samuel > >> Le 29 mars 2019 à 11:58, Hugi Thordarson a écrit : >> >> Hi all. >> F

Can WOPopupButton's selectedValue binding set a value in a component?

2019-03-29 Thread Hugi Thordarson
Hi all. For … reasons* … I need to use the "selectedValue"-binding of a WOPopupButton, rather than the "selection"-binding. However, it seems "selectedValue" is unidirectional, i.e. if I bind it to a variable in a component, the variable is read (to set the initially selected value when the pop-

Re: Returning a response of unknown length using WOResponse.setContentStream()

2019-03-29 Thread Hugi Thordarson
Hi Paul, I can't offer any help at all, besides telling you that I fought the same issue a while back and ended up defeated, writing the Zip file to a temp file and returning that to the client. However, if you do choose to pursue this perilous path, the statement "WOHttpIO._alwaysAppendContent

Programmatic access to a componen instance generated by a switch component

2019-03-27 Thread Hugi Thordarson
Hi all. I think I might be out of luck here, but does anyone have Some Amazing Way™ to programmatically work with a component instance generated by a WOSwichComponent? Ideally, what I'd be able to do is something like: SomeComponentThatContainsAWOSwitchComponent nextPage = pageWithName( SomeCom

Re: On the future of WO (here we go again)

2019-03-19 Thread Hugi Thordarson
er boilerplate conversion or actually making use of >>> the newly-gained benefits. Very few hard problems encountered, and all >>> solved. >>> >>> Let's have a talk in Frankfurt about what your EOF specifics actually are. >>> >>> Maik &g

On the future of WO (here we go again)

2019-03-15 Thread Hugi Thordarson
Hi all. In preparation for the coming WODay in Frankfurt, I'd love it if you'd be open to having a discussion on the status and future of WO, so we can enter the coming work prepared. I'd like to begin by sharing my own thoughts on the matter, based on my current stack and experience. It's a re

Re: Best Linux distro?

2019-03-12 Thread Hugi Thordarson
I'm not really qualified to answer which one is "best" since I've only used CentOS in the past few years and thus have no comparison. But using CentOS has certainly been a very good experience. Cheers, - hugi > On 12 Mar 2019, at 13:48, Ken Anderson wrote: > > All, > > I’ve decided it’s tim

Re: Maven builds and Generate Bundles

2019-03-06 Thread Hugi Thordarson
I'm not aware of a way to have Maven builds function without generating bundles :-/. I thought this would be a drag on performance (since I remembered bundle-less being a huge performance boost) but it hasn't been, really (although my projects are all Maven, not sure if the Ant ones suffer). Pe

Re: EOF and MS SQLServer?

2019-02-27 Thread Hugi Thordarson
Used EOF with MS SQL Server a lot about a decade ago, worked fine and I don't recall a lot of caveats. All switched to Cayenne now, though. - hugi > On 27 Feb 2019, at 19:00, Tim Worman wrote: > > Hi Markus, > > I’ve used the Microsoft plugin in Wonder to connect to SQL Server quite a > lo

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-22 Thread Hugi Thordarson
nce Director > AgencySacks > > 345 Seventh Avenue, New York, NY 10001 > p. 212. 225. 9323 | agencysacks.com > > > From: Webobjects-dev > <mailto:webobjects-dev-bounces+tpetrosky=agencysacks@lists.apple.com>> on > behalf of Hugi Thordarson mailto:h...

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-21 Thread Hugi Thordarson
ect's pom referenced the WOCommunity repository. Usually you'll have to add that to your own maven settings (since WO and WOnder are not in Maven central) but that's one, one-time step. It's just so… Lovely. - hugi > On 21 Feb 2019, at 22:38, Hugi Thordarson wrote: &

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-21 Thread Hugi Thordarson
Maven and regretted it. - hugi > On 21 Feb 2019, at 19:02, Fredrik Lindgren wrote: > > So, is there a good description/guide somewhere for how to use Maven with > WebObjects and Wonder? > > Hälsningar > Fredrik Lindgren > > 21 feb. 2019 kl. 18:13 skrev Hugi Tho

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-21 Thread Hugi Thordarson
e to write some docs, so it's time to own up. - hugi > On 21 Feb 2019, at 21:33, Maik Musall wrote: > > Hi Hugi, > > glad you're volunteering to add that variant to the wiki page :) > > Maik > > >> Am 21.02.2019 um 18:13 schrieb Hugi Thordarson

Re: WOLips, Eclipse 2018-12 with openjdk11 and dcevm-hotswap

2019-02-21 Thread Hugi Thordarson
Ya'll need Maven. - hugi > On 21 Feb 2019, at 17:09, Tim Worman wrote: > > I would think, at this point, that the number of devs swapping between > multiple versions of WO would be close to zero. Anyone supporting a legacy > codebase will probably know what to do. Perhaps there could simply

Re: Invitation: WebObjects Developer Meeting on April 11th 2019 in Frankfurt am Main

2019-02-15 Thread Hugi Thordarson
That's awesome René, thanks for doing this! I'm definitely in. - hugi > On 15 Feb 2019, at 13:38, René Bock wrote: > > Dear WebObjects friends and Wonder veterans, > > it's time to meet again. We are all dealing with the question, how does it go > on with WebObjects? What strategies and idea

Re: Maven and Wonder

2019-02-05 Thread Hugi Thordarson
Hi Markus. Regarding (1), you probably need to include JarResourceRequestHandler ((https://gist.github.com/hprange/1068523) in your project and activate it in your Application constructor: if (isDirectConnectEnabled()) { registerRequestHandler(new JarResourceRequestHandl

Re: Advice on whether to upgrade Eclipse / WOLips from Eclipse Mars 4.5

2019-02-05 Thread Hugi Thordarson
Been using Eclipse 2018-12 since release and it works great. It's been quite a while since an Eclipse upgrade has caused problems. - hugi > On 5 Feb 2019, at 17:59, Morris, Mark wrote: > > I’m on Eclipse 4.6 and it’s working fine, but a few of my coworkers are on > Eclipse 4.7 and are very

Re: WOCommynity Maven Repository via HTTPS

2018-11-01 Thread Hugi Thordarson
Awesome, thanks! > On 2 Nov 2018, at 00:19, Henrique Prange wrote: > > Hey guys, > > Just a quick update here. You can now access the WOCommunity Maven Repository > via HTTPS. We've configured HTTP requests to redirect permanently to HTTPS. > For this reason, it's a good idea to update your

Re: WO and Java 11

2018-10-19 Thread Hugi Thordarson
vaVirtualMachines/jdk-11.jdk/Contents/Info.plist.disabled > > I know. It's ugly. Yet, I can build my projects with Java 11 while running my > tools on Java 8. > > [1]https://github.com/hprange/woinject/pull/15 > <https://github.com/hprange/woinject/pull/15> > [

WO and Java 11

2018-10-05 Thread Hugi Thordarson
So… Java is moving forward pretty fast these days. I'd like to move to 11 ASAP but I just wanted to check with the community first. Any luck? - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Web

  1   2   3   4   5   6   >