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

2020-01-16 Thread Fabian Peters via Webobjects-dev
Hi René, Just to avoid anybody else getting confused like I got: You removed the conditional that checked that property in a second commit back then. So the fix is active in any wonder version younger than 2018-09-04. cheers, Fabian > Am 15.01.2020 um 11:53 schrieb René Bock via

Re: Prebuilt binary Apache 2.4 Adaptor

2020-01-13 Thread Fabian Peters via Webobjects-dev
Hi Gino, What platform do you need the adaptor for? cheers, Fabian > Am 10.01.2020 um 22:16 schrieb Gino Pacitti via Webobjects-dev > : > > Hi there.. > Is there a link out there anywhere for the Apache.conf file and the > mod_Webobjects.so apache module? > > I did an update to a local

Rogue request for /wo/0.0

2019-11-01 Thread Fabian Peters via Webobjects-dev
Hi all, We use two custom-built, fairly complex master-detail components that combine up to three update containers. During automated testing, we now occasionally see an incoming request for "/cgi-bin/WebObjects/Application.woa/1/wo/0.0", which returns the page presented after the initial

Re: Condition for showing DeleteButton in a ListPage

2019-04-08 Thread Fabian Peters
Hi Savas, That rule gets evaluated only once and the result is cached. The easiest way to get what you want is probably to drop the rule and implement the ERXGuardedObjectInterface, e.g.: public boolean canDelete() { return "cantBeDeleted".equals(status()) ? false : true; } Or you may want

Re: D2W to many deny delete

2019-02-21 Thread Fabian Peters
Hi Ted, There's no validation exception handling on the list pages. To work around this, you can implement something like this on the EO: @Override public boolean canDelete() { boolean canDelete = super.canDelete(); if (studentCount() > 0) { canDelete =

Re: EOModel of sub-entity not added to EODatabase

2019-02-12 Thread Fabian Peters
Have you try to register the CooperatingObjectStoreWasAddedNotification ? If > the new object store is passed, you may have an opportunity to force load the > model there. > > Regards, > > Samuel > > >> Le 12 févr. 2019 à 07:16, Fabian Peters a écrit : >> >>

EOModel of sub-entity not added to EODatabase

2019-02-12 Thread Fabian Peters
Hello everybody! I've come across an issue with cross-model inheritance (single-table in this case). For a minimal test setup I added an EOModel FrameworkUser to ERMoviesLogic, containing an abstract parent entity AbstractUser and a concrete child entity FrameworkUser. I added a second EOModel

Re: WO and Java 11

2018-10-17 Thread Fabian Peters
Hi Henrique, Thanks, that sounds quite promising and definitely much better than I would have expected! Regarding the SMTP issues: If it's not some SMTP code itself you want to test but rather mail sending, check out . Fabian > Am

Re: Interested in Modern UI Kits, like Bootstrap?

2018-10-16 Thread Fabian Peters
Hi Jesse, Can you show a bit more of the stacktrace please? Fabian > Am 16.10.2018 um 21:29 schrieb Jesse Tayler : > > Ted- > > Oh, that’s great — that would be perfect because you could compare things > easily and I can show some modern D2W ideas that are useful > > I am able to find and

Re: Weird D2W rule selection

2018-08-23 Thread Fabian Peters
Hi Markus, Have you checked whether the "region" key is present in the context of the ERMDInspectPageRepetition – or whichever component is used to render the display property lines? Fabian > Am 22.08.2018 um 15:11 schrieb Markus Ruggiero : > > I just had a debugging session with a customer.

Re: Replacing the delete button in a D2W ListTask

2018-08-22 Thread Fabian Peters
s replacing the delete button. But what if, I do not > want to replace it but just add a custom button next to it? How would this > work? > > Savas >> On 22 Aug 2018, at 09:19, Fabian Peters wrote: >> >> Hi Savas, >> >> That's certainly possible. This rule in

Re: Replacing the delete button in a D2W ListTask

2018-08-22 Thread Fabian Peters
Hi Savas, That's certainly possible. This rule in ERModernLook should be the one to modify: 20 : (look = 'ERModernLook' and propertyKey = 'deleteAction') => componentName = "ERMDDeleteButton" [com.webobjects.directtoweb.Assignment]:Default modern button component names There's also

Re: ERXFileUtilities rendering file name's type extension unusable

2017-07-24 Thread Fabian Peters
. I'd vote for removing it… cheers, Fabian > Ralf > > Am 21. Juli 2017 um 20:30:01, Fabian Peters (lists.fab...@e-lumo.com) schrieb: > >> Hi all, >> >> This is a bit of a quiz question. The method pasted below replaces any two >> dots ("..") in a

ERXFileUtilities rendering file name's type extension unusable

2017-07-21 Thread Fabian Peters
Hi all, This is a bit of a quiz question. The method pasted below replaces any two dots ("..") in a file name with a single underscore ("_"). If the user uploads a file named "Test..doc", it ends up as "Test_doc". Which is less than ideal because often one wants to get some idea about the file

Re: Weird problem with ERXGenericRecord

2017-04-01 Thread Fabian Peters
Hi Markus, To me it looks like you're getting bitten by the "applyRestrictingQualifierOnInsert" feature: ## Specifies that you want restricting qualifiers "applied" to your newly ## inserted objects. For instance, if you have an entity that is part of ## single table inheritance and your

Re: Apple Lists achive access

2017-02-14 Thread Fabian Peters
There are alternative archives available, e.g.: > Am 14.02.2017 um 18:22 schrieb Theodore Petrosky : > > Does anyone have access to a copy of the WebObjects-dev list data?

Re: UniqueConstraintException and Mysql

2017-01-17 Thread Fabian Peters
Hi Ted, No idea about MySQL, but for Postgres you need to subclass the PostgresqlSQLHelper and implement something like: public boolean handleDatabaseException(EODatabaseContext databaseContext, Throwable throwable) { boolean

Re: excel export D2W

2016-10-28 Thread Fabian Peters
Hi Ted, That's handled via the rules. I don't have an example for dates, but for numeric values it looks like: 10 : (propertyKey like '*NetTurnover' or propertyKey like '*GrossProfit') => excelCellFormatForProperty = "#,##0€;#,##0€" [com.webobjects.directtoweb.Assignment] 10 : (propertyKey

Re: Different behavior from ERMD2WEditToOneTypeAhead

2016-10-10 Thread Fabian Peters
irecttoweb.Assignment] >> 100 : smartRelationship.destinationEntity.name = ‘Product' => searchKey = >> “productNumber" [com.webobjects.directtoweb.Assignment] >> >> Where ‘d2wProductDisplayWhenRelationship’ is a method that returns a nice >> user-readable st

Re: Different behavior from ERMD2WEditToOneTypeAhead

2016-10-07 Thread Fabian Peters
Hi Tim, ERMD2WEditToOneTypeAhead got a few changes from me, including one to use the ERMD2WAttributeQueryDelegate. The change aimed to preserve the original behaviour, but looking at the code it may be that it doesn't when the data source being used is an EODatabaseDataSource. Using a rule

Re: Where did this error come from???

2016-09-12 Thread Fabian Peters
Hi Ted, ERMD2WColumnSelector is a new component that got added on 3 days ago. I just checked out the current wonder master and cannot reproduce the issue. The change to ERMDSimpleListePage is in the same commit as the new ERMD2WColumnSelector. So my guess would be that you have an incomplete

Re: Duplicated ERJavaMail.framework

2016-09-08 Thread Fabian Peters
Hi Paul, >> Thanks for looking into this and bonus points for thinking of the maven >> users! > > I wish I was a Maven user. What's keeping you? >> From what I see, the two frameworks in "Mail" are not being considered for >> maven builds. Meaning the maven build contains the version from

Re: Duplicated ERJavaMail.framework

2016-09-08 Thread Fabian Peters
Hi Paul, Thanks for looking into this and bonus points for thinking of the maven users! From what I see, the two frameworks in "Mail" are not being considered for maven builds. Meaning the maven build contains the version from "Core" for now. To move forward we'd have to: * add a pom file to

Re: Remove blank space at the end of all insert/update

2016-08-11 Thread Fabian Peters
Hi Luiz, Have a look at this method in ERXEOControlUtilities: /** * Trims all values from string attributes from the given EO unless the EO itself * or the string attribute is flagged as read-only. * * @param object the EO whose string attributes should be trimmed

Re: qualified to-many relationships?

2016-07-09 Thread Fabian Peters
You can set your own ERXEditingContextDelegate and implement editingContextShouldFetchObjects(). There you can access the fetch specification and check which entity is being fetched. Then modify the qualifier to your liking. I've been using this for years in multi-tenant applications. To set

Re: [E] HOMEROOT in my UNIXClassPath.txt

2016-06-21 Thread Fabian Peters
avaApplications/wotaskd.woa/WOBootstrap.jar > > And this file does exist on my build machine. > > Thanks, > > Terry Soles > 214-273-3916 > > > -Original Message- > From: Fabian Peters [mailto:lists.fab...@e-lumo.com] > Sent: Tuesday, June 21, 2016 2:10

Re: HOMEROOT in my UNIXClassPath.txt

2016-06-21 Thread Fabian Peters
Hi Terry, WOBootstrap.jar is missing from your new build environment. When it is absent, the pre-5.2 startup script is being used. That being said, the old script works fine for me, as long as HOME and NEXT_ROOT are set and _all_ framework dependencies are embedded. Fabian > Am 21.06.2016 um

Re: Installation on Ubuntu won't work at Linode with Apt

2016-06-21 Thread Fabian Peters
Hi Pascal, You may be able to adapt Quinton's dd magic to the current version: > Alternative File extraction technique > It is possible to extract the required package archive from the DMG without > mounting it using the following commands. > > dd if=WebObjects5.3.3Update.dmg bs=0x1000

Re: Build strangeness, I am completely stumped

2016-04-13 Thread Fabian Peters
Hi Markus, I'd say this is caused by the dreaded WOBootstrap.jar being absent in the customer build environment. When it is absent, the pre-5.2 startup script is being used. That being said, the old script works fine for me, as long as HOME and NEXT_ROOT are set and _all_ framework

Re: Maven classpath ordering

2016-03-25 Thread Fabian Peters
Hi Ramsey, I don't know about excluding a single class from a jar, but I've had problems with JavaEOAccess getting on the classpath before ERAttributeExtensions. To avoid that I've used the following: wonder.core ERExtensions

Re: Maven deployment application resources

2016-03-07 Thread Fabian Peters
Hi Ramsey, I'm guessing you're seeing . Markus proposed a fix in , of which I tested a preliminary version. For now I just reverted the commits from #704. Fabian > Am

Re: ERDDelayedBooleanAssignment question

2016-02-24 Thread Fabian Peters
Hi Sébastien, If you look at ERMDDeleteButton, you'll find that canDelete() does not check the "isEntityDeletable" key. Instead: return object() != null && object() instanceof ERXGuardedObjectInterface ? ((ERXGuardedObjectInterface)object()).canDelete() : true; If you're not using

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Fabian Peters
Hi Rudi, So you don't get a 404 response for the image URL? Have you looked at the file on the webserver's file system? Fabian > Am 15.01.2016 um 11:11 schrieb Rudi Angela : > > Hi there, > I’m running a D2W (Modern Look) application standalone (no Apache), built >

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Fabian Peters
ources/default_login_page.css >>>> The path to the image referred to from the stylesheet (login button): >>>> /cgi-bin/WebObjects/EmmaAdmin.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplications/EmmaAdmin.woa/Contents/Frameworks/ERModernDefaultSkin.framework/W

Re: Static resource referenced from CSS not served properly

2016-01-15 Thread Fabian Peters
css >>> The path to the image referred to from the stylesheet (login button): >>> /cgi-bin/WebObjects/EmmaAdmin.woa/wr/wodata=/opt/Local/Library/WebObjects/JavaApplications/EmmaAdmin.woa/Contents/Frameworks/ERModernDefaultSkin.framework/WebServerResources/btn_blu.png >>>

Re: Strange error using Wonder (same code works fine in WebObjects 5.3)

2015-12-29 Thread Fabian Peters
ks for the fast reply! That is already the case. it looks like this: > > > > Is there anything else strange here? > > Thanks in advance for your help. > > Best regards, Bart > > On Tue, 2015-12-29 at 16:48 +0100, Fabian Peters wrote: >> Hi Bart, >> >> The ERA

Re: Strange error using Wonder (same code works fine in WebObjects 5.3)

2015-12-29 Thread Fabian Peters
Hi Bart, The ERAttributeExtension framework has to be loaded before JavaEOAccess. You can change the order in your project properties (right-click on the project folder in eclipse): cheers, Fabian > Am 29.12.2015 um 16:34 schrieb jazzsalsa >: >

Re: Looking for multiple D2W rule files strategy

2015-11-26 Thread Fabian Peters
Hi Markus, Personally I prefer keeping rules in a single file. If you do use multiple rule files, make sure you use a model group file to allow easy searching over all files. Maybe you could split the EOModel into different parts, given its size. Then you could maintain a rule file per

Re: Secure storage of passwords or credit card data

2015-11-04 Thread Fabian Peters
Hi Markus, To generate password hashes, there's er.extensions.crypting.Bcrypt. IMHO you shouldn't have to store credit card data these days, unless you work on a payment service provider system. Seamless integration is possible and payment service providers can also store customers' card data

Re: Yet another newby question on the tutorial

2015-10-19 Thread Fabian Peters
Hi Barry, For a short while there was a wrong project name in the build.properties file of H2PlugIn. It was fixed with commit c9eb740 on 2015-10-02. Maybe that's the issue. Fabian > Am 19.10.2015 um 16:36 schrieb Barry Starrfield : > > I’m getting back into WO,

Re: Missing artifact com.google.code:jabsorb:jar:1.2.2

2015-10-13 Thread Fabian Peters
Hi Ramsey, Version 1.2.2 is available in the community repo: Maybe it just wasn't accessible at some point when you tried to build? I know Henrique was about to move the repo to another server. Fabian > Am

Re: ERMailDeliveryHTML outside the RR-Loop

2015-10-05 Thread Fabian Peters
Hi Christoph, ERXWOContext.newContext() should do what you want. Fabian > Am 04.10.2015 um 21:07 schrieb CHRISTOPH WICK | i4innovation GmbH, Bonn > : > > Hi List, > > I'd like to send batch emails in a separate thread using ERMailDeliveryHTML > and a Component based

Re: Preferred way for fetching with given SQL select statement?

2015-09-25 Thread Fabian Peters
Maybe ERXSQLQueryWithBindingsUtilities could be useful here. You'd still have to parse the binding values, but at least you'd get to keep the SQL. Fabian > Am 25.09.2015 um 00:48 schrieb Chuck Hill : > > The challenge is going to be "In addition these statements are >

Re: WO Maven getting started

2015-09-18 Thread Fabian Peters
Hi Ramsey, >> Did you find out how to solve the problem of the application not looking for >> templates at the correct path? > > Not yet. I think I need to remove all the wonder stuff from my workspace and > import it again as Maven projects. Right now they don’t have the little M > beside

Re: WO Maven getting started

2015-09-18 Thread Fabian Peters
> So I need to copy all the properties from all the frameworks into my app’s > properties file? And in production, if I compile to a jar, I then need to > list all the properties as command line arguments? I've been ignoring those warnings for years now. Everything seems to work as one would

Re: WO Maven getting started

2015-09-12 Thread Fabian Peters
Hi Ramsey, First, it seems you're using an old version specification for the wolifecycle plugin, the current being "[2.2.1,)". The error messages only concern the m2e plugin, not the "real" maven build. The plugin has to be told to ignore the woapplication goal of the wolifecycle plugin. If

Re: D2W HTML Editor?

2015-09-07 Thread Fabian Peters
Hi Markus, There's ERDEditHTML, which is based on tinyMCE. It checks the key "richTextMode" to initialize different configurations. cheers, Fabian > Am 07.09.2015 um 14:57 schrieb Markus Ruggiero : > > Is there a simple D2W plug-and-play property level component

Re: Consuming Web Services in Wonder

2015-09-04 Thread Fabian Peters
;> Hey everyone! Thank you very much for the quick response. >> >> @Markus: Is there a specific reason why not to use Axis/Axis2? >> >> >>> On 03 Sep 2015, at 16:31, Markus Stoll, junidas GmbH >>> <markus.st...@junidas.de> wrote: >>

Re: Consuming Web Services in Wonder

2015-09-03 Thread Fabian Peters
Hi Beni, Last year, I used wsdl2java from to generate the basic service code. From the generated code you can invoke methods on the service. cheers, Fabian > Am 03.09.2015 um 14:42 schrieb Benjamin Steiner

Re: Assistance re-building adaptor for MacOSX with Apache v2.4

2015-08-28 Thread Fabian Peters
Hi Peter, Benjamin Chew made his compiled version available – see below. https://www.dropbox.com/s/zxdbp1wbfx4uyuc/mod_WebObjects.so?dl=0 Fabian Anfang der weitergeleiteten Nachricht: Von: Benjamin Chew bc...@smarthealth.com Betreff: Aw: Precompiled WOAdaptor for apache 2.4 Datum: 6.

Re: Eclipse: Terminate a running WO app using a keyboard shortcut?

2015-08-08 Thread Fabian Peters
Hi Hugi, The Terminate works for me – the one thing you have to do is change When: to In Windows instead of the default Debugging. Terminate and relaunch doesn't work for me either. Fabian Am 08.08.2015 um 14:56 schrieb Hugi Thordarson h...@karlmenn.is: Hi all. It’s pet peeve time: Has

Re: Help finding framework dependencies

2015-05-27 Thread Fabian Peters
Hi Gerald, These should help: https://wiki.wocommunity.org/display/WEB/Getting+the+Wonder+Source+Code and https://wiki.wocommunity.org/display/WEB/Working+with+Wonder+source+in+Eclipse Fabian Am 27.05.2015 um 12:01 schrieb Gerald Jones gerald.jo...@cmehawaii.com: How do I get the listed

Re: Using WO with modern dependency management

2015-05-06 Thread Fabian Peters
Two questions (at the moment). In [3] it seems bundles are required. Does using maven preclude using bundleless builds? That would be a real downer. I think I've tried at some point and it didn't work. Might not mean much… Is it possible to have maven use local changes to Wonder in the

Re: Using WO with modern dependency management

2015-05-04 Thread Fabian Peters
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 testing for Wonder

2015-04-29 Thread Fabian Peters
Hi all, At WOWODC I spoke with some people about setting up integration tests for Wonder. Since I mostly use D2W, I'd suggest to take ERModernMoviesDemo as the starting point. This can run on H2 in-memory and thus exercise D2W, Ajax, standard WOComponents and EOF. An additional candidate may

Re: ERXExistsQualifier

2015-04-23 Thread Fabian Peters
Hi Thomas, AFAIK, it should work for multiple tables, except if any of them use compound primary keys. You may want to try the ExistsInRelationshipQualifier from the Houdah frameworks, which does handle flattened many-to-many relations. https://code.google.com/p/houdah-webobjects-frameworks/

Re: ant build error - too many open files

2015-02-20 Thread Fabian Peters
Hi Mark, Have you tried a reboot? Maybe you've somehow managed to exceed kern.maxfiles or kern.maxfilesperproc? Fabian Am 20.02.2015 um 13:53 schrieb Mark Wardle m...@wardle.org: I’ve upgraded to java8, eclipse4.4 and latest Wonder. Can compile and run from within eclipse but command line

Re: Unknown key

2015-02-09 Thread Fabian Peters
Hi Anthonin, Looking at the stacktrace I see D2W-EntityName = Ship, but the page is EditPtf and the pageConfiguration is EditRelationshipEmbeddedObs. I'd say you're applying a displayPropertyKeys rule that's meant for the Ship entity to the Obs entity. But I may be entirely wrong… Fabian Am

Re: Unknown key

2015-02-09 Thread Fabian Peters
information through a M-to-N relationship. But as a quick fix, I'll try to override displayPropertyKeys when pageConfiguration is EditRelationshipEmbeddedObs, so that it matches Obs entity fields. Thanks, Anthonin On Mon, 2015-02-09 at 10:42 +, Fabian Peters wrote: Hi Anthonin

Re: limiting All Queries in D2W

2015-01-30 Thread Fabian Peters
was created it would be assigned the person. I was thinking of storing it on the session but I didn’t think of session.objectStore. I was thinking of using thread storage. But where would you do this? On Jan 30, 2015, at 9:45 AM, Fabian Peters lists.fab...@e-lumo.com wrote

Re: limiting All Queries in D2W

2015-01-30 Thread Fabian Peters
. Ted On Jan 30, 2015, at 2:37 AM, Fabian Peters lists.fab...@e-lumo.com wrote: Hi Ted, The most basic rule would be: 100 : entity.name like '*' = queryDataSourceDelegate = COM.YOUR-PACKAGE.LimitBooksToPersonDataSourceDelegate [ERDDelayedObjectCreationAssignment] But if you

Re: limiting All Queries in D2W

2015-01-29 Thread Fabian Peters
EODatabaseDataSource implements ERDQueryDataSourceDelegateInterface { add the required methods and add in some sys logs to see if it gets fired. But what is the rule? Am I barking up the wrong tree? A little help would be appreciated! On Apr 13, 2012, at 9:27 AM, Fabian Peters lists.fab...@e

Re: D2w - toMany relation

2015-01-15 Thread Fabian Peters
Entity.name.Location = Ort; Nav.Settings = Einstellungen; Pages.CreatePerson = Person anlegen; PropertyKey.amount = Betrag; TabKey.Owner = Eigentümer; Fabian Am 15.01.2015 um 16:26 schrieb Pierre Gilquin pgilq...@citycable.ch: Thanks for all this info. I will try it. I wonder also how to

Re: D2w - toMany relation

2015-01-14 Thread Fabian Peters
Assuming you use ERModern, the two buttons would be: ERMD.newRelationshipButtonLabel = Neu anlegen; ERMD.queryRelationshipButtonLabel = Suchen; You can find this out by looking at the WOD of ERMODEditRelationshipPage, where you'll see QueryButton gets its value via

Re: D2w - toMany relation

2015-01-13 Thread Fabian Peters
Hi Pierre, I'd say the class on line 3 should be com.webobjects.directtoweb.Rule. Fabian Am 13.01.2015 um 09:16 schrieb Pierre Gilquin pgilq...@citycable.ch: Thanks all for your help, I try the rule from Flavio but I get the error: ** DirectToWeb could not merge d2wmodel from

Re: dependent lists in D2W

2014-12-21 Thread Fabian Peters
Hi Ted, You can use Ramsey's AjaxNotifcationCenter for this. The code has moved here: https://github.com/wocommunity/wonder/tree/master/Archives/Frameworks/AjaxLook You'll need a few rules, along these lines: 80 : propertyChangedDelegate != null = aboveDisplayPropertyKeys =

Setting a cookie from a NextPageDelegate in D2W

2014-11-19 Thread Fabian Peters
Hi, I'm implementing an email address change feature in a D2W app. In the course of this I'd like to set a cookie with a UUID. Alas, the NextPageDelegate interface requires me to return a WOComponent. Which seems to make it impossible to pass a cookie with the response, the component being

Re: audit trails display

2014-11-16 Thread Fabian Peters
. I guess the issue of the newValues component, is that I need one component if the object is newly created and then just the string value if it is a change. You could probably make one component flexible enough to handle both cases. Fabian Ted On Nov 15, 2014, at 6:46 AM, Fabian Peters

Re: ERGroupware changes

2014-11-15 Thread Fabian Peters
still wondering how to best organise the calendar data to make it easy enough to use for non-technical users and avoid too much duplication. I remember iOS devices having no support for delegated calendars, is that still true? Thanks, Fabian - Mail original - De: Fabian Peters

Re: audit trails display

2014-11-15 Thread Fabian Peters
Hi Ted, Am 15.11.2014 um 03:31 schrieb Theodore Petrosky tedp...@yahoo.com: I have just started implementing ERCoreBusinessLogic’s AuditTrails. This is really good stuff. However, I had to ‘fix’ a boolean. In the migration of ERCoreBusinessLogic I see: ERXMigrationTable

Re: ERGroupware changes

2014-11-15 Thread Fabian Peters
Am 15.11.2014 um 12:48 schrieb Pascal Robert prob...@macti.ca: Le 2014-11-15 à 06:33, Fabian Peters lists.fab...@e-lumo.com a écrit : I'm planning to make course data available via CalDAV (events) and CardDAV (participants). Ultimately I'd like to allow organisers/employees to access

Re: ERGroupware changes

2014-11-14 Thread Fabian Peters
Hi Pascal, I've just started to look into ERGroupware and wanted to make sure I'm using the cdav-connector version, but I cannot seem to find any references to e.g. zswi.objects in the code of the cdav-connector branch? It looks like master and cdav-connector are identical. I bumped into an

ERRest qualify to-many relationship

2014-11-02 Thread Fabian Peters
Hi, Is there a built-in way to filter the objects of a to-many relationship when using ERRest? Say I have two EOs, Season and Show with a to-many shows on Season. Now I'd like to add a qualifier to the request and return the season with only the shows in a particular venue. Fabian

Re: D2W Problem in new application

2014-10-30 Thread Fabian Peters
for reason: ** DirectToWeb exception - a rule cannot be instantiated if its right hand side is null. LHS=null RHS=null Cheers, Flavio On 29/10/2014, at 18:36, Fabian Peters lists.fab...@e-lumo.com wrote: Hi Flavio, Assuming you're starting out with an empty rule file, you're probably

Re: D2W Problem in new application

2014-10-29 Thread Fabian Peters
Hi Flavio, Assuming you're starting out with an empty rule file, you're probably missing one or more d2w.d2wmodel files from ERDirectToWeb or JavaDirectToWeb. If you enable debug logging on er.directtoweb.ERD2WModel, you'll see which files get loaded. Fabian Am 29.10.2014 um 20:46 schrieb

Re: WODisplayGroup URLS

2014-10-24 Thread Fabian Peters
Hi Gino, Glancing at ERXFlickrBatchNavigation it looks like it's using component actions. Which is probably not what you want in this case. You'll have to use direct actions to get static URLs. This is from an old app that has a very simple blog feature: wo:if condition =

Re: EO Modeling tool?

2014-10-23 Thread Fabian Peters
Works fine for me. You have to disable clickToOpen for the page. To get SVG or PDF straight away, you have to have graphviz installed and pass the format via ?format=svg. Am 23.10.2014 um 18:43 schrieb Ramsey Gurley rgur...@smarthealth.com: Last time I wanted a diagram of the model, I tried

Re: JQuery Framework

2014-10-22 Thread Fabian Peters
I'd also like to see this. In the past there was some discussion about whether we should/could create an agnostic Ajax framework in wonder that can be used with different JS frameworks (Prototype, JQuery, MooTools…). To me this seems like a very elegant idea that will be extremely hard to

Re: Manually open an embedded page ala D2WModern

2014-10-21 Thread Fabian Peters
Am 20.10.2014 um 23:08 schrieb Markus Ruggiero mailingli...@kataputt.com: Hi Fabian, On 20.10.2014, at 22:11, Fabian Peters lists.fab...@e-lumo.com wrote: Hi Markus, The embedded blocks are part of ERMODEditRelationshipPage: div class=EmbeddedBlocks webobject name

Re: Manually open an embedded page ala D2WModern

2014-10-20 Thread Fabian Peters
Hi Markus, The embedded blocks are part of ERMODEditRelationshipPage: div class=EmbeddedBlocks webobject name = DisplayQuerywebobject name = QueryBlockwebobject name = QueryComponent //webobject/webobject webobject name = DisplayListwebobject name = ListBlockwebobject name =

Re: D2W Generic Annotations?

2014-10-17 Thread Fabian Peters
Hi Markus, Have you looked at ERCDisplayHelpText? It'll need some work to make it usable in a modern app, though. There's also the model documentation, which you could access from the rules and maybe localize via ERDDelayedLocalizedAssignment. Fabian Am 17.10.2014 um 11:35 schrieb Markus

maven clean plugin vs maven-wolifecycle-plugin

2014-10-13 Thread Fabian Peters
Hi all, especially Henrique, I'd like to run the clean goal during all maven builds. So I added the maven clean plugin to a shared parent pom, right before the maven-wolifecycle-plugin: plugins plugin artifactIdmaven-clean-plugin/artifactId version2.4.1/version

Re: Primary keys

2014-10-02 Thread Fabian Peters
Hi Mark, For postgresql you could add a column serial. When the column is added, it is populated with values by postgres. You could then use migration's setPrimaryKey and dropPrimaryKey. This is totally untested… Fabian Am 02.10.2014 um 11:00 schrieb Mark Wardle m...@wardle.org: Dear all,

Re: ERRest with non-PK attribute

2014-09-29 Thread Fabian Peters
Sent from my iPhone On Sep 26, 2014, at 2:37 PM, Fabian Peters lists.fab...@e-lumo.com wrote: I'd know how to do this via a custom action, a qualifier and mod_rewrite, but: Is there an easy way to get a rest route to retrieve an object by a different attribute than the PK? /ra/Booking

Re: URGENT help needed: app simply stopped working (sort of)

2014-09-29 Thread Fabian Peters
Hi Markus, I'd first override dispatchRequest on application and log to see whether the request gets to the app at all. It's along the lines of what Chuck suggested already, just a tad simpler maybe. If it does, I'd enable remote debugging with something like: -Xdebug

ERRest with non-PK attribute

2014-09-26 Thread Fabian Peters
I'd know how to do this via a custom action, a qualifier and mod_rewrite, but: Is there an easy way to get a rest route to retrieve an object by a different attribute than the PK? /ra/Booking/a4450596-662b-43ac-cc4f-ecd4d7b37409.json or maybe

Re: component advise?

2014-09-22 Thread Fabian Peters
Hi Ted, It's just a different format for specifying the tab: http://jenkins.wocommunity.org/job/Wonder/javadoc/er/directtoweb/pages/ERD2WPage.html You could rewrite it as: pageConfiguration = 'CreateLineItem' = displayPropertyKeys = ((chooseInventory,inventory), (editValues,cost,msrp))

Re: Inline-Bindings, Integer Values

2014-09-14 Thread Fabian Peters
Hi Thomas, Just a wild guess, have you tried value = $0? That's the way inline bindings work for boolean values, e.g. value = $false. Fabian Am 14.09.2014 um 21:50 schrieb Thomas Grass off...@01softwaresolutions.eu: Hi to all, what is the right way to bind Integer values with inline

Re: Adding functionality to existing View D2W

2014-09-07 Thread Fabian Peters
A printer button is included by default, it's just hidden via display: none. Am 07.09.2014 um 20:38 schrieb Theodore Petrosky tedp...@yahoo.com: I hope my subject line isn’t too far off the mark. I want to understand more of D2W so, I am creating a simple Invoicing project. it has Users

Re: What is the simplest way to prevent a user from backtracking (using the browser back button) to the pages previously used by another user who has logged out?

2014-09-07 Thread Fabian Peters
http://wiki.wocommunity.org/display/documentation/Development-Backtracking Am 05.09.2014 um 09:43 schrieb Butchi Reddy Velagala v.butchire...@gmail.com: Hi All, In Log-out functionality we used session().terminate() method to terminate the session and redirected to Log-in page. But if

Re: ERMODTabInspectPage tabs question

2014-08-19 Thread Fabian Peters
Hi Ted, Maybe I didn't get your question, but: public NSArraycom.as.model.PDF importantPdfs() { return pdfs(isImportant.eq(true), null, false); } 100 : pageConfiguration = 'EditArticle' = tabSectionsContents = ((“main, pubRelease, articleTitle, description, complete), (Important

Re: The Good Path to D2W localization

2014-07-10 Thread Fabian Peters
Hi Pascal, You shouldn't need to specify additional rules. By default ERDDefaultDisplayNameAssignment handles localization and ERModern is quite good at logging unknown or deprecated localization keys. My localization files consist mostly of these types of keys: Entity.name.Location = Ort;

Re: The Good Path to D2W localization

2014-07-10 Thread Fabian Peters
- De: Fabian Peters lists.fab...@e-lumo.com À: webobjects-dev@lists.apple.com Cc: Pascal Robert prob...@macti.ca Envoyé: Jeudi 10 Juillet 2014 09:58:12 Objet: Re: The Good Path to D2W localization Hi Pascal, You shouldn't need to specify additional rules. By default

Re: Vagrant, Docker

2014-06-09 Thread Fabian Peters
I haven't used Docker in deployment yet, but am considering it to replace my OpenVZ containers. Some interesting bits: https://devopsu.com/blog/docker-misconceptions/ https://www.domenkozar.com/2014/03/11/why-puppet-chef-ansible-arent-good-enough-and-we-can-do-better/

Re: running ERModernMoviesDemo app?

2014-05-15 Thread Fabian Peters
Hi Ray, I'd guess this is causing the problem: May 15 10:30:33 ERModernMoviesDemo[] INFO NSLog - ERMoviesLogic.finishInitialization, re-writing connection url to use embedded H2 db at:

Re: running ERModernMoviesDemo app?

2014-05-15 Thread Fabian Peters
Sorry, that one has be false, I guess. Otherwise the framework's principal class will mess with your settings (see webobjectsexamples.businesslogic.ERMoviesLogic): webobjectsexamples.ERMoviesLogic.useEmbeddedH2Database=false Am 15.05.2014 um 20:42 schrieb Fabian Peters lists.fab...@e-lumo.com

Re: Install WO, Weird Error could not setup loop device

2014-05-12 Thread Fabian Peters
device? Is there a second and easy way to do this installation? This was the first install-guide which works fine for me :-( Thomas Am 12.05.2014 um 11:56 schrieb Fabian Peters lists.fab...@e-lumo.com: Hi Thomas, It looks like you're missing the loop device. You can check whether

Re: ERPDFGeneration problem

2014-05-08 Thread Fabian Peters
I somehow assumed this problem occurred in deployment. Still, if Bastian is on the right track, then this should help: public boolean clickToOpenEnabled(WOResponse response, WOContext context) { return false; } Am 08.05.2014 um 18:15 schrieb Bastian Triller

Re: Tabs in ERMODTabInspectPage not showing

2014-05-05 Thread Fabian Peters
Hi Ângelo, For some reason I never use tabSectionsContents, only displayPropertyKeys in the first format (('Tab1', 'foo', …), ('Tab2', 'bar', …)). But your syntax looks fine in all variants. However, the isPerson condition looks suspicious to me. Are you sure it behaves as you expect? I assume

Re: Tabs in ERMODTabInspectPage not showing

2014-05-05 Thread Fabian Peters
. I am still looking for a solution that doesn't need changing the code, a solution that relies only on the viewer, respecting the MVC paradigm. Perhaps ERDDelayedSwitchAssignment is what I am looking for. Ângelop 2014-05-05 10:51 GMT-03:00 Fabian Peters lists.fab...@e-lumo.com: Hi

  1   2   3   >