hns
cda86002f3
Pass through RedirectExceptions from renderSkin function.
2001-12-13 11:46:42 +00:00
hns
ad1c5fbb60
Return instances of ESValue without conversion to ESValue,
...
i.e. without calling ESLoader.normalizeObject().
2001-12-13 11:45:46 +00:00
hns
d306e6fa18
Don't do deep serialization of HopObjects. Instead, for
...
HopObject properties a proxy object is created for
serialization. It is a Hashtable with two entries: id and prototype,
containing the the id and prototype name of the referenced
HopObject as string values.
2001-12-07 16:18:38 +00:00
hns
7ee29bfdc3
Fixed bug in asynchronous client, although this is untested and
...
unused code. Eventually we'll have to switch to Apache
XML-RPC since this is where bugs will get fixed from now on.
2001-12-07 16:16:11 +00:00
hns
d141d65585
updated version info
2001-12-07 12:38:51 +00:00
hns
93eb5c9750
set the name of the action in the request object
...
when executing an action.
2001-12-07 12:38:31 +00:00
hns
2574442456
added action field to let application code know the name of
...
the action being executed.
2001-12-07 12:37:34 +00:00
hns
24b8f34382
Pass application object in constructor for internal DbMapping
...
object.
In checkConstraints(), if a filter property is set, never return
true if the object has been modified since it was fetched from
the database. This is the only way we can be sure that the
constraints are fulfilled without evaluating the filter expression.
2001-12-06 22:40:30 +00:00
hns
9da4b1dec9
Reset created and lastModified at the end of the constructor
...
for relational nodes to show that the object hasn't been
modified since it was fetched from db.
2001-12-06 22:38:14 +00:00
hns
a8fd428530
Every DbMapping object must now have a reference to the
...
application it belongs to.
2001-12-06 22:35:24 +00:00
hns
ef5b901c1e
updated version info
2001-12-04 12:46:21 +00:00
hns
f13c73a5d1
if a prototype if specified for groupby nodes, use the DbMapping
...
parsed by the application instead of creating a vanilla DbMapping.
This makes it possible to actually define additional properties and
collections on groupby nodes.
2001-12-04 12:45:29 +00:00
hns
deca565254
Not needed anymore.
2001-12-02 22:53:22 +00:00
hns
9622366678
Switched back from custum UrlEncoder to standard
...
java.net.URLEncoder class.
2001-12-02 22:52:20 +00:00
hns
246e79fa14
minimal formatting change
2001-12-02 22:50:56 +00:00
hns
c85b7e106a
fixed bug: embedded webserver always sent no-cache header.
2001-12-02 22:50:25 +00:00
hns
4476523c67
increased version info
2001-11-28 13:39:12 +00:00
hns
e9aa7b7edd
Let user cache have the user prototype and dbmapping so
...
collections/virtual subnodes work for anonymous users.
2001-11-27 16:50:00 +00:00
hns
dee820e805
Prevent type.properties check when accessing properties
...
of Java objects as skin macros.
2001-11-27 16:08:15 +00:00
hns
e42ce0ae46
Allow access to static fields from javascript.
2001-11-27 15:49:33 +00:00
hns
accd2f15e9
increased version info.
2001-11-27 14:16:13 +00:00
hns
5da1156043
Do not encode prefix and suffix attributes of macros.
2001-11-27 14:15:41 +00:00
hns
aec53f4425
Added code to find out if a property is defined in the
...
type.properties file before returning its value as a macro.
Return an error message if the property is not defined, or if
the macro tried to access a private property (which currently
applies only to user passwords).
2001-11-27 14:15:18 +00:00
hns
0dd58e56b0
added isPrimitive() utility method to find out if this property
...
can possibly be used as skin macro.
2001-11-27 14:12:00 +00:00
hns
f017f35e78
Increased version number.
...
Version info is now written to the logger instead of stdout.
2001-11-26 18:02:39 +00:00
hns
e32c31e1b1
Cache nodes are checked each time they are retrieved
...
because the clearCache() function may have been called on
the object since last accessing the cache node.
implemented clearCache() method to reset the cache in the
wrapped object.
2001-11-26 17:58:00 +00:00
hns
c4fb354f92
Implemented clearCacheNode() method to recreate/reset
...
a node's cache node.
2001-11-26 17:55:57 +00:00
hns
35c78734e8
added a clearCache() function to the HopObject prototype that
...
lets one clear (recreate) the HopObject's cache node.
createSkin now uses the application's skin cache. This is not
really much faster because caching and skin creation are
very similar in speed, but it should help reduce garbage collection.
2001-11-26 17:33:02 +00:00
hns
ffd9564328
added clearCache function to reset the application cache.
2001-11-26 17:30:50 +00:00
hns
49474a3317
rewrote the mechanism to write out to the response object.
...
encoding, prefix and suffix attributes can now be set for any
and all macros (not sure if this will create problems)
Macros handled by objects now check if a function called
handler_macro is defined. If so, the function is called.
Otherwise, the macro evaluates to a property of the object
with the handler name.
2001-11-26 17:30:06 +00:00
hns
6ae2db92ff
The user cache node isn't set to the user prototype and
...
dbmapping anymore (let's see if this has any unwanted effects).
Added clearCache() method to reset the cache of the user object.
2001-11-26 17:27:07 +00:00
hns
782bf86ba2
made the res.data get its HashMap from the ResponseTrans
...
object
added methods to check if a function is defined for an object
and to retrieve a property. This is used by Skins and should
work for any object, be it HopObjects or scripted Java objects.
2001-11-26 17:24:04 +00:00
hns
5ae3d18565
enlarged application skin cache, added getProperty method
...
without default parameter, removed stack dump when
user.onLogout() is not defined.
2001-11-26 17:21:48 +00:00
hns
93debe88a2
Rearranged field declarations, added serialVersionUID field
2001-11-26 17:20:10 +00:00
hns
b402e753b2
added serialVersionUID field
2001-11-26 17:19:51 +00:00
hns
2ca5232637
Increased serialization version to 7. String properties are now serialized
...
as objects, because there seems to be a limit around 60000 chars for UTF.
2001-11-20 17:01:55 +00:00
hns
56e5201f8e
Set the data property in the response object (res) to a generic map
...
object.
2001-11-20 15:32:28 +00:00
hns
fbe9f40631
included data field that holds a generic object, much like the
...
request object already does.
2001-11-20 15:31:18 +00:00
hns
63d69b6d43
display version info on startup
2001-11-20 15:10:33 +00:00
hns
96393ea5eb
Fixed bugs and performance problems in StandaloneServletClient.
...
The Hop embedded into the servlet container is now the
most performant way to run a Hop app.
2001-11-20 15:02:35 +00:00
hns
61926bd69a
Remember xml-rpc handler name under which an application
...
has been registered so we can remove it once the application
is shut down.
2001-10-18 13:08:36 +00:00
hns
1334833b14
try more often after concurrency conflicts,
...
pause for longer between tries.
2001-10-11 11:42:38 +00:00
hns
3db1848822
* only use the parent-info from the type.properties file if there
...
is an explicit reference relation set for the property name.
* avoid database queries for nodes that are transient or in the
process of being persistified also when loadmode is set to
aggressive.
2001-10-02 20:54:35 +00:00
hns
ef756bdcc1
Hash codes of key classes are now cached lazily.
...
Slightly changed the algorithm according the recommendations
in "Effective Java" by Joshua Bloch.
2001-10-02 20:50:52 +00:00
hns
17b82f0d43
Standard prototypes are now correctly constructed even if
...
the directories don't exist.
2001-10-02 20:46:00 +00:00
hns
6c883367e7
check if the NodeHandle of a registered user is broken.
...
If so, reset the handle, logging the user out. This should
solve the "broken session" phenomenon.
Also added some comments.
2001-10-02 20:43:53 +00:00
hns
841f09b789
check if typename is null in isInstanceOf (which is the
...
case for virtual nodes).
2001-10-02 09:49:03 +00:00
hns
de5ab9a388
removed invocation of stop() method of the app's TypeManager.
2001-10-01 10:40:32 +00:00
hns
545aec7407
create base prototypes for which no directory exists
...
without creating an empty directory.
doesn't implement Runnable anymore.
2001-10-01 10:39:51 +00:00
hns
a99dc703a4
Check if the standard prototypes have been created
...
after the first call of check().
2001-10-01 10:27:22 +00:00