Re: One to many not nullifying when reverse is not marked for in-class generation

2019-07-29 Thread René Bock via Webobjects-dev
Hi, or, if you use MySQL (or horizontal Inheritance ), you may override the willDelete method. eg: public void willDelete() throws NSValidation.ValidationException { super.willDelete(); NSArray targets = Target.fetchTargets(editingContext(), Target.TOONE.eq(this), null); for(Target t:targets)

Re: Dump NSDictionary as JSON structure?

2019-08-13 Thread René Bock via Webobjects-dev
For serialializing a NSKeyValue Structure to JSON you may use https://cliftonlabs.github.io/json-simple/ You may postprocess the result string to get rid of the "class com.webobjects.foundation.NSKeyValueCoding$Null" artifacts. Am 13.08.2019 um 13:28 schrieb Markus Ruggiero via Webobjects-d

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

2019-10-29 Thread René Bock via Webobjects-dev
Well, you may use both frameworks, prototyps.js and jQuery if you use jQuery in non-conflict mode (because both frameworks defines the variable $ as shortcut) We had some additional issues when using the bootstrap framework, as prototypes.js add functions like show, hide, toggle to each elemen

Re: WebObjects and Javascript Response Rewriter

2020-01-15 Thread René Bock via Webobjects-dev
Hi Pierre, did you ever consider using WebComponents ? There are some restrictions when using WO form elements, but they didn't impose real problems to our project. Am 02.01.2020 um 19:31 schrieb Jérémy DE ROYER via Webobjects-dev mailto:webobjects-dev@lists.apple.com>>: Hi all… and Happy N

Re: Definitely solved: More SharedEC woes: relationships into SEC not saved with more EOF stacks

2020-01-15 Thread René Bock via Webobjects-dev
Hi, if you are using multiple ObjectStores in one WO-Application, you should set er.extensions.eof.ERXObjectStoreCoordinatorSynchronizer.localNotifyOfRemoteUpdates = true to ensure, that changes are propagated between the different object stores. Because of Wonder Issue #866, you should use

mod_proxy and 'refuse new sessions' ?

2020-02-12 Thread René Bock via Webobjects-dev
Hi all, has anyone an idea how to setup a WebObjects deployment using mod_proxy (instead of mod_webobjects) which supports the "refuse new session" feature? As far as I know, for mod_proxy it is only possible to mark an instance unconditionally as "not responding". Best regards René Bock -

Re: Monitor scheduling

2020-07-13 Thread René Bock via Webobjects-dev
Hi, we solved an similar requirement like this: * in WOMonitor: add an extra Instance with auto-recover = on * in the app: - store the next execution time in the database - wait until it's time to the job - get the job done. - set the next execution time - application.terminate As the WO

Re: The secret WOCommunity Slack channel?

2020-11-09 Thread René Bock via Webobjects-dev
Please add me as well Thanx René From: Stefan Gärtner via Webobjects-dev [mailto:webobjects-dev@lists.apple.com] Sent: November 2, 2020 2:27 AM To: Gino Pacitti via Webobjects-dev mailto:webobjects-dev@lists.apple.com>> Subject: Re: The secret WOCommunity Slack channel? Please add me as well.

Re: Stress tests

2023-01-18 Thread René Bock via Webobjects-dev
Hi André, some years go, Chuck had a WOWODC Session related to this topic: https://www.wocommunity.org/podcasts/wowodc/2010/WOWODC2010JMeter.mov Am 18.01.2023 um 15:22 schrieb André Rothe via Webobjects-dev mailto:webobjects-dev@lists.apple.com>>: Hi, Has anyone experience with performance

Re: Replacing log4j with slf4j in Wonder

2023-01-27 Thread René Bock via Webobjects-dev
Hi, I successfully merged Henriques PR into our Wonder-fork and we are using log4j2 now for our current projects. But in order to get rid of the log4j1.jar, we had to move form ant to maven build. And kick out the JavaXML.framework. I'll like to support Henrique in finalising this PR, but u

mariadb vs. mysql (from the JDBCPlugin point of view)

2023-02-02 Thread René Bock via Webobjects-dev
Hi, Is anybody using the MySQLAdaptor against a mariadb? Basically, using the MySQLAdaptor + mysql-connector-java jdbc connector -> mariadb works fine. Except, when we upgrade the mysql-connector-java from version 5.1.6 to modern version 8.0.28, we get the nasty > Invocations of setNanos()

Enabling HTTP Content-Security-Policy (CSP) in WebObjects/WOnder-Ajax based applications?

2023-03-08 Thread René Bock via Webobjects-dev
Hi, has anybody ever successfully enabled the HTTP Content-Security-Policy in a WOnder application – especially when the Ajax-Framework is heavily used? From my point of view, there are three main challenges to overcome when implementing the CSP: * inline script code * DOM event handlers as HT

Re: Replacing log4j with slf4j in Wonder

2023-03-13 Thread René Bock via Webobjects-dev
Hi Ricardo, thanks for your effort. Sounds great. regards, René Am 11.03.2023 um 17:31 schrieb Ricardo Parada mailto:rpar...@mac.com>>: Hi René I used Henrique’s fork to help us advance our Wonder fork to slf4j. I commented out references to classes in ERXLog4j2LoggingAdapter and ERXLogbac

Re: choosing the submit for Enter in a textfield?

2023-03-28 Thread René Bock via Webobjects-dev
Hi OC, I guess the only non JS solution would be to split the form in two different forms. regards René > Am 26.03.2023 um 23:05 schrieb ocs--- via Webobjects-dev > : > > Hi there, > > I've got a form (combined from more separate components) whose overall layout > is > > > ..

Re: WebObjects Docker Deployment

2023-04-13 Thread René Bock via Webobjects-dev
In 2019 at the WODay, Dennis Bliefernicht presented a solution to replace mod_webobjects, WOTaskd and WOMonitor using the traefik proxy-server . See https://wocommunity.org/podcasts/wowodc/2019/Deployment.mp4 Am 13.04.2023 um 14:29 schrieb Gino Pacitti via Webobjects-dev : I was more intere

Re: Variables in .classpath for selecting log4j Framework?

2023-05-22 Thread René Bock via Webobjects-dev
Hi Ricardo, are you using ant or maven for building? Keep in mind, that a very old version of log4j1 is bundled in the JavaXML framework. So you have to kick out this framework in order to get completely rid of log4j1 Am 20.05.2023 um 01:00 schrieb Ricardo Parada via Webobjects-dev : Hi e

Re: fetches too often (was: weird locks) in faultWithPrimaryKeyValue

2024-08-19 Thread René Bock via Webobjects-dev
Hi, Using the same OSC for both the RR-WorkerThreads and long-response background threads may result in deadlocks in a heavier load scenario (which is bad for your karma) Using en extra OSC for every background task may consume too much memory. Fortunately there exists the combination of ERX

Re: WOLips5 new update url

2024-12-11 Thread René Bock via Webobjects-dev
Thanks a lot :-) Am 11.12.2024 um 00:58 schrieb Ramsey Gurley : Okay, that is fixed now. On 12/10/24 6:02 PM, René Bock wrote: Hi Ramsey, I really appreciate your effort regarding WOLips5. I just ran into a exception when trying to generate the EOMigration templates: java.lang.Exceptio