”
the special characters in the Strings so your “*” shouldn’t be an
issue.
Xavier
On 30 Aug 2024, at 15:06, André Rothe via Webobjects-dev
wrote:
Hi,
I need a custom EOQualifier, which executes for Strings in an Oracle
database
WHERE UPPER(table.aStr) = UPPER(bStr)
(compare both Strings in
Hi,
I need a custom EOQualifier, which executes for Strings in an Oracle
database
WHERE UPPER(table.aStr) = UPPER(bStr)
(compare both Strings in uppercases). A
QualifierOperatorCaseInsensitiveLike will not work, because the Strings
could contain "*", but these should not act as wildcards.
Hi,
I try to use the Memory adaptor for an EOModel. But on ec.saveChanges()
I get an exception because the EREntityStore
(er.memoryadaptor.ERMemoryEntityStore) cannot be instantiated within the
EREntityStoreFactory. How can I solve that problem?
I have created the EOModel with "Memory" as ad
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
.page()”
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
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 vali
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 req
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.
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
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,
bu
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.
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 request
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
__
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
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
org.objectstyle.wolips.eomodel
nt/WOCompile: 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
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 Libraries/WOnder
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 th
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!"
-Dt
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>>:
>>>>>
>>>>
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 o
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 = ERXEC.new
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 can
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, t
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 proba
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 be
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 nam
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 the
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. It'
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?
Tha
tus);
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
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,
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
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
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 method
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 v
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 sourcefolder_o
Apple Developer CD.
---markus---
On 29 Jan 2018, at 09:21, André Rothe
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
Andre
___
Do
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
> *Date: *Friday, December 15, 2017 at 2:5
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 mail
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
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
wrote:
But how does EOF
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 s
ngContext, 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, André Rothe
w
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 * f
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
clien
been 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&
wiki.wocommunity.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 An
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 instances
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 th
, "Webobjects-dev on behalf of André Rothe"
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 attribute called "completed". This
attribute I
set to 10% or 50% and so on. After a
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
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 regist
to
> "data record" 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
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 de
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?
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, g
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. They will be
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¶m2=arothe¶m3
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 (Webobjects-dev@
Hi André,
>
> On 29 Sep 2017, at 9:17 pm, André Rothe <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
>> will be set as next
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 EOAndQualifi
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
_
reate, i.e. "s3", "db", or
"file" -- defaults to "db" (or the value of er.attachment.storageType)
On Sep 23, 2017, at 3:44 PM, André Rothe
wrote:
Hi,
The ERMovies example uses per default an H2 database. Which steps are
necessary to switch to another da
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
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
I suggest 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 :
>>
>> Hi,
>>
>> I'm new on WebObjects, so I
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:
http://127.0.0.1:53432/cgi-bin/WebObjects/Ge
68 matches
Mail list logo