Commit graph

1396 commits

Author SHA1 Message Date
hns
ab349a1c3c Always set evaluator.thread field in invoke(). Otherwise a TimeoutException will
be thrown if invoke() is called before the execution context is entered, which
is the case when resolving request paths via scripted getChildElement() functions.
2002-11-26 13:24:17 +00:00
hns
a6516af320 Rewrote cookie setting to be more flexible and allow setting of path and domain. 2002-11-26 13:22:27 +00:00
hns
c8690f49d3 Renamed evaluator field to eval to avoid abiguities 2002-11-25 13:18:23 +00:00
hns
b57b024082 Re-added getRootHref() method, which was removed because it's not used by
Helma code. Turns out the manage application needs it.
2002-11-25 10:33:07 +00:00
hns
e81bb842c7 Updated version string 2002-11-22 19:33:02 +00:00
hns
452cf28676 Some minor changes in getNodeHref() and getDataRoot() 2002-11-22 19:31:30 +00:00
hns
4757fa93a8 Changed the name of the scripting engine property to scriptingEngine.
Do not print stack trace when an exception is thrown since this is already done
in the scripting engine.
2002-11-22 19:28:35 +00:00
hns
83d997477c Major cleanup all over the helma.objectmodel.db package.
Fixes bug 151.
Some optimization in getElementName().
Removed cases where user prototype was treated as a special case.
2002-11-22 19:26:39 +00:00
hns
b052ee89a7 Removed one unused line 2002-11-22 19:05:29 +00:00
hns
78875ea8e1 Scripting exception can now wrap the original exception. 2002-11-22 19:04:44 +00:00
hns
0ce0f3f0eb Call getChildElement() instead of getSubnode() as fallback in getProperty().
Fixed bug 155.
2002-11-22 14:41:39 +00:00
hns
4babc5c850 * Do not print out exception messages multiple times.
* Create a scripting exception wrapping the original exception.
2002-11-22 14:40:51 +00:00
hns
c1338c3d67 Avoid printing out exception twice in printStackTrace(). 2002-11-22 14:21:43 +00:00
hns
8edec30f84 Fixed type (contructor -> constructor) 2002-11-22 14:01:15 +00:00
hns
16bc1ab07b Do not prepend "Runtime error" in EcmaScriptExceptions. 2002-11-22 14:00:12 +00:00
stefanp
ac03362a52 re-added for use in DocApplication.listFunctions () 2002-11-22 11:37:51 +00:00
stefanp
99b0d50d71 don't add hopobject as a parent prototype to global 2002-11-22 11:37:29 +00:00
stefanp
5bd8b44ee7 added listFunctions() 2002-11-22 11:37:07 +00:00
stefanp
63f3faf811 use app.getCacheUsage() instead of accessing NodeManager 2002-11-22 09:56:40 +00:00
stefanp
1d8329cfde parse DocApplication when it's first accessed.
added getCacheUsage()
2002-11-22 09:55:55 +00:00
stefanp
520a32fe80 some tiny fixes 2002-11-21 18:32:47 +00:00
hns
4372b62ad2 Minor change in log message 2002-11-21 16:03:51 +00:00
hns
a5ed324daf FesiEvaluator was renamed to FesiEngine. 2002-11-21 16:00:31 +00:00
hns
ffbed8751e ScriptingEngine interface got an additonal init() method.
FesiEvaluator was renamed to FesiEngine.
Some naming cleanups.
2002-11-21 15:57:35 +00:00
hns
039ab180be merge in classloader branch 2002-11-21 15:55:32 +00:00
hns
75afb61744 Added getContentType() and getContentLength() methods 2002-11-21 15:47:44 +00:00
hns
c1c7f6af38 Moved auto-ETag generation out of String encoding block so that ETags are
generated for binary responses. Some minor fixes in auto-ETag gen.
2002-11-21 15:46:58 +00:00
hns
8de915b1bb Remove dead code, fix indentation 2002-11-21 15:38:44 +00:00
stefanp
424b2f8021 several bugfixes
added tags deprecated, overrides
DocSkin now only looks for handlers response, request, param, session
2002-11-21 14:27:36 +00:00
hns
b8cf9b2e4c Fetch database records in natural order 2002-11-20 19:31:31 +00:00
hns
79255d217e Call ResultSet.next() when creating an ID from a sequence. 2002-11-20 18:15:23 +00:00
stefanp
9bd47012c5 restructured the whole helma.doc-package.
- implemented latest helma features (function_action for actions etc)
- removed double code, nicer hierarchy, all elements can be used alone
- removed possibility to run from command line, rendering is now only done through
manage application
- streamlined supported tags
2002-11-20 16:00:41 +00:00
hns
b9b7e9988d Encode IP address in session cookie and check if it matches. 2002-11-19 17:12:35 +00:00
hns
1e7dee5c80 Generate launcher.jar. 2002-11-18 16:09:04 +00:00
hns
a077975a28 Initial check in for launcher class/jar 2002-11-18 16:08:04 +00:00
hns
396a2ce634 Backpedal on previous changes. Instead, check if value returned by
ResultSet.getBigDecimal() is null.
2002-11-18 14:58:30 +00:00
hns
b2159e9aef Work around missing functionality in ResultSet implementations. 2002-11-18 14:16:40 +00:00
hns
8c25c9f30b Do not use ResultSet.isLast() since Oracle JDBC driver does not implement it. 2002-11-18 14:11:05 +00:00
hns
0f84163d78 Render format date more often 2002-11-14 17:35:16 +00:00
hns
0030004f37 Use getTableName() in getSelect(). Fixes bug 161. 2002-11-14 17:09:45 +00:00
hns
5123d254d4 Update to Servlet 2.3 API 2002-11-14 16:48:21 +00:00
hns
6945dc3774 Updated to org.mortbay.jetty-jdk1.2.jar from the Jetty 4.1.3 distribution. 2002-11-14 16:43:13 +00:00
hns
09d0bf57b9 Reworked class to actually use itself as propertie container instead of a delegate
properties object.
2002-11-13 16:35:13 +00:00
hns
a41483168a Column names are stored as upper case in the column-to-relation map. 2002-11-11 19:31:46 +00:00
hns
e37d26f94d Do not append "WHERE" when calling Relation.buildQuery() because the relation
may not need a where clause. Also returned to the way things were before when
getting a node using a hand-set subnodeRelation.
2002-11-11 19:20:26 +00:00
hns
667dfb8544 Load additional properties through an instance of SystemProperties so the keys
are transformed to lowercase. Otherwise lookup will not work for keys that contain
upper case characters.
2002-11-11 18:59:57 +00:00
hns
62d38fcef6 Added missing 'order by' to getNodes() 2002-11-09 22:29:21 +00:00
hns
18fc2e8cd2 Check if scriptingEngine is not null in abort(). 2002-11-08 14:19:57 +00:00
hns
59330c9a01 use logEvent() instead of System.err.println() 2002-11-08 14:19:15 +00:00
hns
b90ef71017 Do some real cleanup work at shutdown. Apps are now stopped and Loggers
are flushed and closed. Still to do: Close server ports.
2002-11-06 12:08:49 +00:00