Re: Replay request

2023-11-14 Thread André Rothe via Webobjects-dev
enum with all the possible pages they could go to on the next step and the variable would be one of those values. Then, in 7b, you can reference that variable and create the page to send them to. On Nov 11, 2023, at 5:33 PM, André Rothe wrote: Hi Aaron, Thank you for your answer. Here the mor

Re: Replay request

2023-11-11 Thread André Rothe via Webobjects-dev
()” Hope that helps, — Aaron On Nov 10, 2023, at 3:09 AM, André Rothe via Webobjects-dev wrote: Hi, I try to replay an old WORequest after some other request/response-loops, but I don't know, how it could work. My application validates some values after the user clickes somewhere on a pag

Replay request

2023-11-10 Thread André Rothe via Webobjects-dev
Hi, I try to replay an old WORequest after some other request/response-loops, but I don't know, how it could work. My application validates some values after the user clickes somewhere on a page. In the validation routine I don't know, which action the user has executed exactly. But the

Re: Own Instance number

2023-03-02 Thread André Rothe via Webobjects-dev
Thank you for your answer! In other words once you have the WORequest you can get the application number from that. If you don’t have the WORequest handy, maybe you can get the WOContext (like from a WOComponent) and then get the request. I'm on the Application constructor, so there is no

Re: Own Instance number

2023-03-02 Thread André Rothe via Webobjects-dev
Thank you for your answer. But - you have to do it manually for each instance. That I would avoid, it is a source of errors, you have to use unique numbers without any check. André ___ Do not post admin requests to the list. They will be ignored.

Re: Own Instance number

2023-03-02 Thread André Rothe via Webobjects-dev
Am 01.03.2023 12:15, schrieb André Rothe via Webobjects-dev: Can I get the instance number of the own WO application? I found http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig which is accessible without credentials and returns an XML with the instance number. This URL I can

Own Instance number

2023-03-01 Thread André Rothe via Webobjects-dev
Hi, Can I get the instance number of the own WO application? I have multiple instances of the same application running in parallel, but I need the ID which is defined within WOMonitor from inside the running instance. It could be possible to extract the instance number from a request url,

Access to other WebObjects instances

2023-02-24 Thread André Rothe via Webobjects-dev
Hi, I have a WebObjects application, which needs information about other WebObjects applications on the same server. Can I collect some data (like instance names and numbers) by accessing the WOMonitor or WOTaskD by my application? Is there any documentation, how I could solve that? Thanks.

Stress tests

2023-01-18 Thread André Rothe via Webobjects-dev
Hi, Has anyone experience with performance tests for WebObject applications (simulate some user input to stress the app)? Which tool you are using? Any WebObjects internal features, which I could use? Thanks a lot André ___ Do not post admin

Re: Exception within EOModeler

2022-12-26 Thread André Rothe via Webobjects-dev
Hi Paul, The previous Eclipse version works Version: 2022-09 (4.25.0) Build id: 20220908-1902 Best regards André Am 25.12.2022 11:41, schrieb Paul Yu: Andre That API has been removed in Eclipse 2022-12. You have to fall back to 2022-09. Paul

Re: Exception within EOModeler

2022-12-25 Thread André Rothe via Webobjects-dev
Hello Paul, Thank you for the fast response, I will try it. André Am 25.12.2022 11:41, schrieb Paul Yu: That API has been removed in Eclipse 2022-12. You have to fall back to 2022-09. Paul ___ Do not post admin requests to the list. They will

Exception within EOModeler

2022-12-25 Thread André Rothe via Webobjects-dev
Hi, I wish you a Merry Xmas! Today I tested a new installation of Eclipse/WOLips, but I run into an exception. If I open the EOModeler and click somewhere, I will get this: java.lang.NoClassDefFoundError: org/eclipse/jface/databinding/swt/SWTObservables at

Re: WOLips and JDK versions

2020-02-27 Thread André Rothe via Webobjects-dev
le: Unsupported major.minor >> version 52.0 >> >> Here executes an older JDK the Ant process, which is visible on the >> Console output (java-1.7.0/bin/java), but why? -- >> >> How interact these things together, how I have to set the JDK >> v

Re: WOLips and JDK versions

2020-02-24 Thread André Rothe via Webobjects-dev
Hi Markus, Thank you for your answer. I'm still using Wonder6. The Wondersource I had compiled with JDK1.8 (which is the default on the machine) on the initial installation. In the meantime I have recompiled the Wonder source with cd ${HOME} rm -rf Libraries/WOnder/Root/* rm -rf

WOLips and JDK versions

2020-02-20 Thread André Rothe via Webobjects-dev
Hi, I run into a build problem on a WebObjects application. As I have to realize, I don't understand the build procedures within Eclipse/WOLips. -- Eclipse 4.6.3 started within OpenJDK 1.8.0_212-b4. My WebObjects project should be compiled with an OpenJDK 1.7.0, so I have set

Additional arguments within JavaMonitor with whitespace

2019-11-28 Thread André Rothe via Webobjects-dev
Hi, I try to define additional JVM arguments within the JavaMonitor like this: -Dthis.is.a.key=value But I have problems to define a "value" with whitespace: -Dthis.is.a.key=this is my value! I have set enclosing quotes, but the application won't start: -Dthis.is.a.key="this is my value!"

Re: LoadBalancer

2019-09-26 Thread André Rothe via Webobjects-dev
Amtsgericht Köln • HRB 1118 • Finanzamt Brühl • UST-IdNr. DE 122788692 >>>> >>>>> Am 09.09.2019 um 23:48 schrieb Morris, Mark via Webobjects-dev >>>>> >>>> <mailto:webobjects-dev@lists.apple.com>>: >>>>> >>>>

LoadBalancer

2019-09-09 Thread André Rothe via Webobjects-dev
Hello, In the JavaMonitor I found the LoadBalancer properties. We use "Round Robin" for our application, but I asked myself, how I could implement a custom scheduler for a specific problem (multiple instances of an application, but some requests should always use a defined instance, all all

Re: Null Delegate

2019-07-26 Thread André Rothe via Webobjects-dev
It solves the problem. Thanks! André Am 26.07.2019 12:18, schrieb Markus Ruggiero: 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 =

Null Delegate

2019-07-26 Thread André Rothe via Webobjects-dev
Hi, I get an exception in my application, what is the reason for? Error: java.lang.IllegalStateException: Found null delegate. You can disable this check by setting er.extensions.ERXRaiseOnMissingEditingContextDelegate=false in your WebObjects.properties Reason: Found null delegate. You

Re: Access to WOComponents of a page

2019-07-26 Thread André Rothe via Webobjects-dev
Hah, this was the information I have missed. The application asked for a template of my subclass and I didn't know, how I could solve that without copying the template of the base-class. Thank you. André Am 25.07.19 um 16:00 schrieb Morris, Mark: >> If you still want to go the subclass route,

Re: Access to WOComponents of a page

2019-07-25 Thread André Rothe via Webobjects-dev
Hi, This way I have tried too, but I did not know, which page name I have to use. I'll try this with the class again. > public WOComponent generateCapcha(){ > { > ERCaptcha captcha = pageWithName(ERCaptcha.class); > captcha. setResponse(""); > return captcha; > } > > But

Re: Access to WOComponents of a page

2019-07-25 Thread André Rothe via Webobjects-dev
Hi Chuck, > If you are trying to clear it after a failed validation attempt, perhaps > there is simply a bug > here:  > https://github.com/molequedeideias/wonder/blob/00e813f91664a1df1a84902e03175e4a34cf7d0f/Frameworks/Misc/ERCaptcha/Sources/er/captcha/ERCaptcha.java#L94 > And after that should

Access to WOComponents of a page

2019-07-24 Thread André Rothe via Webobjects-dev
Hi, How I can access the WOComponent objects of a page? I use different WOComponents in a "Main WO" and I try to access the classes behind the components from Main.java to call some public methods on them. In example I would like to call ERCaptcha.setResponse("") on the component which is

ERRest without EO

2019-02-04 Thread André Rothe
Hi, I have built a simple project, with ERRest. I don't use a database backend at the moment. The data manages a datastore (Singleton with a List). As I understand, ERRest can be used also without EO, so I have set a Delegator class. The Delegator's primaryKeyForObject() will be called by

Re: ERRest should return own content type

2019-02-01 Thread André Rothe
Hi Samuel, Yes, I have to change it. I try to create a REST service with WebObjects, which should play with an existing client. This client needs special formatted XML and a content-type application/vnd.de.uni-leipzig.zks.TrialService.v1+xml. So my next step would be an own ERXRestFormat.

ERRest should return own content type

2019-01-31 Thread André Rothe
Hi, I'm playing around with ERRest. I have some routes, which return data as XML. The content-type of the HTTP response is always text/xml, I try to change it to application/xml, but it seems not to work with setHeader() on the WOActionResult.generateResponse(). How I can set the header?

Re: FileUpload with ERRest

2018-03-14 Thread André Rothe
tus(status); return r; } } I can access the controller from a GWT application (FormPanel), which can react to the response values (OK, FILE, MIMETYPE) within a SubmitCompleteHandler. Maybe somebody finds it useful. André On 13.03.2018 17:07, André Rothe wrote: > Hm, this results in a NullPoin

Re: FileUpload with ERRest

2018-03-13 Thread André Rothe
Hm, this results in a NullPointerException on response() and errorResponse(). Is it mandatory to have an EO name within the route? André On 13.03.2018 15:58, André Rothe wrote: > Maybe I can add a route in the Application class: > > routeRequestHandler.addRoute(new ERXRoute(null,

Re: FileUpload with ERRest

2018-03-13 Thread André Rothe
SUPPORTED_MEDIA_TYPE); } // TODO: get some form parameters and values, // store the file content into the temp folder, // process the file // TODO: maybe I can return the newly created EO id? return response(WOResponse.HTTP_STATUS_OK); } } ~André On 13.03.2018 14:07, And

FileUpload with ERRest

2018-03-13 Thread André Rothe
Hi, Is it possible to use ERRest for a file upload with multipart-form-data? I try to upload a file to the server to create an instance of an EO (instead of the createAction()). Thank you André ___ Do not post admin requests to the list. They will be

invalidate relationship cache

2018-03-05 Thread André Rothe
Hi, I have an EO with a relationship to a second EO. The database in the background will be changed by another application, so it will be necessary to refetch the associated EOs of the relationship on every access. How I can invalidate the list of the associated EOs? This is the generated

server.wsdd in Eclipse

2018-02-15 Thread André Rothe
Hi, I debug an Axis1 webservice which runs in the debug mode of Eclipse. I have added a handler to the server.wsdd file, but it won't be executed in the request/response flow. Does Eclipse ignore the server.wsdd? My handler is very simple: public class MyHandler extends BasicHandler { public

Re: mod_WebObjects.so

2018-02-04 Thread André Rothe
Hi Stavros, You can install the build-essential and apache-dev packages within Ubuntu and then compile and install the sources as root like: change the terminal to root # su - Or you have to use "sudo": # sudo -H gnome-terminal Go to the source folder of mod_webobjects # cd

Re: Attributes of an EOModel

2018-01-29 Thread André Rothe
Apple Developer CD. ---markus--- On 29 Jan 2018, at 09:21, André Rothe <andre.ro...@phosco.info> wrote: Hi, Is there a document which describes the possible attributes and their meaning within the properties files for an EOModel (.plist, .eomodeld)? Thanks a lot

Re: Using database objects in different schemas

2018-01-29 Thread André Rothe
You can fetch on each slave and then mash them together in an array, but > the objects in the array will not all share the same EC.  Personally, > I’d run away. > >   > > Chuck > >   > >   > > *From: *Paul Hoadley <pa...@logicsquad.net> > *Date: *Friday, D

Attributes of an EOModel

2018-01-29 Thread André Rothe
Hi, Is there a document which describes the possible attributes and their meaning within the properties files for an EOModel (.plist, .eomodeld)? Thanks a lot Andre ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev

Prevent loading model into default group

2018-01-28 Thread André Rothe
Hi, How I can prevent the automatic loading of an EOModel into the default model group at application startup? I could rename it (other extension than .eomodeld) in an Ant script, but is there a property within the index.eomodeld to enable/disable the loading? Thank you. Best regards Andre

Re: Using database objects in different schemas

2017-12-15 Thread André Rothe
a master account, which gets permissions from a lot of slave accounts to access some detail data there. So it would be helpful to solve that with EOF. Best regards André Am 2017-12-15 11:22, schrieb Paul Hoadley: Hi André, On 15 Dec 2017, at 6:33 pm, André Rothe <andre.ro...@phosco.info>

Re: Using database objects in different schemas

2017-12-15 Thread André Rothe
Hi Markus, But how does EOF differ the objects? They come from different tables (but with the same name, only the owners differ). The owner I would intercept and change in the SQL code. Can EOF track this without a model? Also the primary keys could overlap, because the "slaves" use its own

Re: Using database objects in different schemas

2017-12-12 Thread André Rothe
u need a new EOEditingContext, ask ECProvider for it. If you use session default EC, set it from this provider, just so that you can simply use session.defaultEditingContext later. I’ve never done this, but this is what I would try to achieve it. Hope this help, jfv On Dec 12, 2017, at 5:59 AM, An

Using database objects in different schemas

2017-12-12 Thread André Rothe
Hi, I use an Oracle database, which has a "master" schema/account. This aacount uses my Webobjects application. There are a lot of "slave" schemas/accounts, which grant privileges on their own objects (tables, views etc.) to the master. So the master can access these objects like: select *

Webservice soap header

2017-12-07 Thread André Rothe
Hi, I have built a webservice, but I want some more security. The service has no session, so I have to send the user credentials on every request. My idea is, that I create a SOAP header node for username and password. How I have to define both elements, that they are mandatory for the

Re: GWT

2017-12-01 Thread André Rothe
finished in 2013 (a long time ago), and as I remember, there was an XML interface based on REST, so my first idea was to use the REST framework of WebObjects. Best regards André On 01.12.2017 09:07, GILQUIN Pierre wrote: > Hi, > > May too late but In response to André Rothe  question's : &

Re: Database connection

2017-11-08 Thread André Rothe
munity.org/display/documentation/Best+Practices-Properties+Files e.g: dbConnectURLGLOBAL=jdbc:mysql://localhost/DbName dbConnectUserGLOBAL=ojp dbConnectPasswordGLOBAL=X dbEOPrototypesEntityGLOBAL=EOJDBCMySQLPrototypes dbConnectPluginGLOBAL=MySQLPlugIn Am 06.11.2017 um 16:55 schrieb André Rothe &

Database connection

2017-11-06 Thread André Rothe
Hi, three questions according the database connection: I have a model, which has a database connection defined in a connection dictionary. But the model should not open the connection per default, it should get the credentials from another property file which will differ between the

Development on 1.8 vs Target system 1.7

2017-10-27 Thread André Rothe
Hi, I have a development environment, which runs on Java 1.8. But my target environment runs on Java 1.7. Now I try to deploy my application but it fails with: java.lang.UnsupportedClassVersionError: com/webobjects/foundation/NSArray : Unsupported major.minor version 52.0 It seems, that

Re: Database access

2017-10-27 Thread André Rothe
, "Webobjects-dev on behalf of André Rothe" <webobjects-dev-bounces+chill=gevityinc@lists.apple.com on behalf of andre.ro...@phosco.info> wrote: Hi, some more questions: 1. I have a thread, which runs a long time. To store the current status, I use an EO, which has an

Database access

2017-10-26 Thread André Rothe
Hi, some more questions: 1. I have a thread, which runs a long time. To store the current status, I use an EO, which has an attribute called "completed". This attribute I set to 10% or 50% and so on. After a value change, I call ec.saveChanges(). But it seems, that the values are not visible

Object registered within another EditingContext

2017-10-12 Thread André Rothe
Hi, I have insert an object into the default EditingContext (from session). Then I have created a thread with a new EditingContext to insert a lot of detail records, which have a reference to the first inserted record. WebObjects says now: Cannot obtain globalId for an object which is

Re: Display database content on a page

2017-10-09 Thread André Rothe
; instead of "object". Not so with Wonder and EOF. Just > think "object" and you are all set. > > With the EOModel you basically tell the EOF framework how to "map object > thinking into a relational database". Let the framework do it, you are > an oo-programmer!

Re: Display database content on a page

2017-10-05 Thread André Rothe
Am 2017-10-05 20:10, schrieb Theodore Petrosky: You are working too hard! :-) you need to look at all the examples. what you are asking for is so simple (when you know how). LOL, exact. When you know how and where... The problem is, that a lot of WebObjects links on the internet are

Display database content on a page

2017-10-05 Thread André Rothe
Hi, How I can select the columns of a database table before they will be visible on the page (display not all columns of the database table on the page)? As I have learned, EOQualifier builds the WHERE clause, but what builds the SELECT part? Is there a tutorial which handles this question?

Re: CSS file

2017-10-05 Thread André Rothe
Hi Theodore, It seems that it also works with a WOString within the tag: cssLink : WOString { value = cssLink; escapeHTML = false; } public String getCssLink() { WOResourceManager res = application().resourceManager(); return "res.urlForResourceNamed("Messages.css", null, null,

CSS file

2017-10-04 Thread André Rothe
LEIPZIG Medizinische Fakultät Zentrum für Klinische Studien Leipzig – KKS André Rothe CIO Härtelstr. 16-18, 04107 Leipzig Tel: 0341/ 97 16118 Fax: 0341/ 97 16189 WWW: http://www.zks.uni-leipzig.de ___ Do not post admin requests to the list

URL parameters within Eclipse

2017-10-03 Thread André Rothe
Hi, My test app needs some url parameters to start correctly. Is it possible to define these within Eclipse? Currently the url generated by the Ant task is http://127.0.0.1:5800/cgi-bin/WebObjects/AppExample.woa Every time I restart the app I have to copy e.g. ?param1=ABC=arothe=564

GWT

2017-10-03 Thread André Rothe
Does anyone use WebObjects with GWT? Which interface you use, RPC or Rest with XML? Are there any examples available? Best regards Andre ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: WOLips questions

2017-10-02 Thread André Rothe
dré, > > On 29 Sep 2017, at 9:17 pm, André Rothe <andre.ro...@phosco.info > <mailto:andre.ro...@phosco.info>> wrote: > >> I would like to know, where WebObjects defines, that the method >> DirectAction.defaultAction() will be called? There the Main component &g

Fetching data from a model

2017-10-01 Thread André Rothe
Hi, I created a model with EOModeler. There are some classes in my project which represent the entities of my model. Now I come to the point, that I must fetch data from the database. In my Main component I created an EOQualifier which combines 4 attributes: EOQualifier eq = new

WOLips questions

2017-09-29 Thread André Rothe
Hi, I would like to know, where WebObjects defines, that the method DirectAction.defaultAction() will be called? There the Main component will be set as next (first) page, as I understand. Can I configure another name of the default DirectAction class in my project? Thank you Andre

Re: ERMovies example with other database

2017-09-24 Thread André Rothe
. "s3", "db", or "file" -- defaults to "db" (or the value of er.attachment.storageType) On Sep 23, 2017, at 3:44 PM, André Rothe <andre.ro...@phosco.info> wrote: Hi, The ERMovies example uses per default an H2 database. Which steps are necessary to

ERMovies example with other database

2017-09-23 Thread André Rothe
Hi, The ERMovies example uses per default an H2 database. Which steps are necessary to switch to another database like Derby or MySQL? There are already SQL scripts within the ERMoviesLogic framework, but I don't understand where I have to set the credentials vor the new database. Thank you

Example code from Apple?

2016-09-13 Thread André Rothe
Hi, Can I download somewhere the original Apple examples in Java for WebObjects 5? I read some old books and I found some reference to the ThinkMovies project in the /example folder, but it is no longer there. Best regards Andre ___ Do not post admin

Re: Deploy Webservice

2016-07-26 Thread André Rothe
ggest to switch over to ERJaxWS to create and deploy your webservice. > There are sample apps in wonder that show you how to do it. > > Markus > >> Am 25.07.2016 um 13:14 schrieb André Rothe <andre.ro...@zks.uni-leipzig.de>: >> >> Hi, >> >> I'm n

Deploy Webservice

2016-07-25 Thread André Rothe
Hi, I'm new on WebObjects, so I try to test some things along the available tutorials. I have created a WO Application in Eclipse and built it as webservice. I can compile it and start the Application.class as WOApplication: Your application's URL is: