hns
7e1108e7c3
Implemented a scheme to mark applications as scripting the Server
...
object itself. This is done by writing appname=self in the apps.properties,
which is probably a temporary solution, maybe it'll keep that way.
added getApplications() method to get an array of all applications.
2001-09-10 14:08:49 +00:00
hns
58e0306fb8
Implemented defaultServlet which lives outside of the
...
WildcardDictionary that matches URL patterns to servlets.
2001-09-10 14:06:46 +00:00
hns
619dafac6d
Fixed global skin rendering in res.skin.
2001-09-10 14:05:18 +00:00
hns
453e319496
renamed scriptables to classMapping, slightly cleaned up
...
getNodeHref() and created getRootHref() method.
2001-09-10 14:04:42 +00:00
hns
3adf646e35
call new getObjectWrapper method in RequestEvaluator which
...
may or may not return a scriptable object, depending on whether
the object's class name is defined in scriptable.properties.
2001-09-09 18:09:55 +00:00
hns
33c7eda08c
Further improvments regarding the "everything is scriptable"
...
philosophy. Scriptable Java classes are now defined in a
file called scriptable.properties.
2001-09-09 18:08:24 +00:00
hns
18f20ac807
rendering skins and getting hrefs no longer requires an object
...
that implements IPathElement.
2001-09-09 18:06:52 +00:00
hns
83d696e98b
Removed all dependencies of FESI. Yay!
2001-09-09 18:05:52 +00:00
hns
7d4cbdeb48
implemented direct callback into evaluator by its own thread.
2001-09-08 17:48:39 +00:00
hns
fe7380600b
Implemented possibility to call back into an already running
...
Evaluator. Implemented JavaScript replacement evaluation for
mimicking IPathElement interface.
2001-09-08 17:47:08 +00:00
hns
6ff8401512
Only create standard prototype directories if the application directory
...
is freshly created, i.e. empty.
2001-09-08 17:45:53 +00:00
hns
e037fa0d19
Always create a sepcial Helma GenericObject EcmaScript wrapper
...
for Java Objects, allowing all Java objects to be scripted.
2001-09-08 17:45:10 +00:00
hns
a7d1e5d368
putting a macro into the sandbox with allowMacro() did the opposite of what it should
2001-09-08 15:22:15 +00:00
hns
50d49d0484
GenericObject can now (true to its name) wrap any Java object,
...
not just the ones implementing IPathElement.
2001-09-07 16:35:32 +00:00
hns
fda2b76a49
Added lots of comments.
...
Implemented clearCache method to purge the object cache.
2001-09-07 16:34:26 +00:00
hns
0715a041a7
new argument order in Application constructor
2001-09-07 16:33:19 +00:00
hns
20955225d0
Allow any java object to be used as Helma object.
2001-09-07 16:32:19 +00:00
hns
f0932b9e5a
removed newlines at end of file.
...
(somehow my suspicion is that kdevelop is adding these)
2001-09-07 16:20:42 +00:00
hns
7922cad8e4
property lookups are not switched to lower case anymore.
2001-09-06 16:41:46 +00:00
hns
57b09f6228
removed getString method with default value argument.
2001-09-06 16:40:39 +00:00
hns
d8bf2153ee
removed bug in getLogger() that caused a NullPointerException
2001-09-06 16:40:02 +00:00
hns
254a9d50f5
removed FESI dependencies from Application.
2001-09-06 16:39:12 +00:00
hns
c564b4e55b
use getLogger() method instead of Logger constructor,
...
which is now private.
2001-09-03 13:08:09 +00:00
hns
43416e122c
added getLogger() method and made constructor private to ensure
...
there is only one logger per symbolic file name.
2001-09-03 13:03:58 +00:00
hns
be7fe1780a
Removed support for Activated JIMI package
2001-09-03 13:02:43 +00:00
hns
c207f380d9
removed support for activated JIMI package
2001-09-03 13:01:17 +00:00
hns
b027c74509
use the getLogger() method instead of the
...
Logger constructor, which is now private
2001-09-03 13:00:49 +00:00
hns
6cdad2233f
moved to helma.scripting.fesi.extensions package
2001-08-31 16:02:48 +00:00
hns
b00f663f47
use application's event logger for error messages
...
instead of the one from helma.main.Server.
2001-08-31 15:54:53 +00:00
hns
29943bd3e9
initialize useTransactions to true.
...
getLogger is now proteced and should only be used by classes in
the helma.main package.
2001-08-31 15:47:40 +00:00
hns
4738cc516e
Make getGroupbyMapping synchronized to prevent
...
race conditions.
2001-08-31 15:46:19 +00:00
hns
9646764d5f
set logger in LRU cache to applications event logger.
2001-08-31 15:45:45 +00:00
hns
0b35d05b2b
Logger now uses only one Thread for all instances.
...
Instead of a Vector, a Linked List is used as log buffer,
which is much better for removing items at the top
of the list.
2001-08-31 15:44:50 +00:00
hns
a3074265e4
CacheMap now has an optional Logger instance to which
...
cache rotation messages are logged.
2001-08-31 15:43:31 +00:00
hns
858f5abdbe
simplified log file management, close log files when application is
...
shut down.
2001-08-31 15:42:33 +00:00
hns
bbc2a61160
Just replaced HOP by Helma
2001-08-31 15:42:03 +00:00
hns
bb3ab86969
moved initRequestEvaluator beneath the
...
type manager check.
2001-08-31 15:41:45 +00:00
hns
4ae884c47e
initRequestEvaluator is not synchronized anymore.
...
This *may* lead to race conditions with the
updates of the Prototypes functions, actions etc.
Gotta investigate more into this.
2001-08-31 15:40:46 +00:00
hns
4da2834955
moved from helma.mime to helma.util.mime package
...
to reduce number of top level packages.
2001-08-31 12:06:15 +00:00
hns
24e8ef6b1e
adapted import statement from helma.mime to helma.util.mime.
2001-08-31 11:53:47 +00:00
hns
00fe000d78
Never set a string array instead of a string HTTP parameter, but
...
if more than one value is present, additionally set an array parameter
with the name paramname_array (i.e. _array appended to the parameter
name)..
2001-08-30 22:28:46 +00:00
hns
4cd1f12700
removed old obsolete check for "prototype" in some user method
2001-08-30 22:26:54 +00:00
hns
cb388203d2
Added method that checks for storage compatibility
...
between DbMappings.
2001-08-30 22:25:10 +00:00
hns
b931f57e42
fix bug where node was registered with wrong key.
...
check for storage compatibility instead of equality in
setNode().
2001-08-30 22:24:38 +00:00
hns
244e7ba779
Repaired brain-dead bug where ESValue was checked for
...
instance of IPathElement instead of ESNode
2001-08-30 20:09:20 +00:00
hns
e6cc8162d0
check for null in Property.getStringValue for
...
Java object property values.
2001-08-30 17:59:51 +00:00
hns
e787abefe7
check for undefined in putProperty.
2001-08-30 17:56:40 +00:00
hns
e7f91063fb
commented out debugging msg
2001-08-30 17:21:46 +00:00
hns
94201d2a8b
adapted to Applications new dual init() and start() method scheme
2001-08-30 12:06:26 +00:00
hns
1367116bf1
Everything works again, thanks to the application object
...
exposing everything through getters.
2001-08-30 12:05:08 +00:00