Commit graph

657 commits

Author SHA1 Message Date
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
9b6f706853 added smtp server property, which is typically be set per
Helma installation.
2001-11-29 17:50:03 +00:00
p3k
22e7f0c95c added hard linebreaks on pos. 70 2001-11-29 15:15:14 +00:00
p3k
0ba6b08469 added line to prevent build.sh from being included twice 2001-11-29 14:56:44 +00:00
p3k
c4d1367570 updated license to new version 1.2 [http://helma.org/rfc/license12/] 2001-11-29 14:21:55 +00:00
hns
43a298b75f Updated to new format, added some explanatory comments. 2001-11-28 15:22:34 +00:00
p3k
79763b9c9a added chmod 755 in tarfileset for build.sh 2001-11-28 14:30:19 +00:00
hns
4476523c67 increased version info 2001-11-28 13:39:12 +00:00
p3k
09fc07cfd2 added chmod 755 for build.sh; updated version number 2001-11-28 13:22:26 +00:00
p3k
3874ff5148 this file is ok with dos linebreaks, you clown! 2001-11-27 17:43:57 +00:00
p3k
dff0c5a77a converted linebreaks to unix (shit, this happens all the time!) 2001-11-27 17:41:10 +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
p3k
a73255d123 initial check-in 2001-11-27 15:54:15 +00:00
hns
e42ce0ae46 Allow access to static fields from javascript. 2001-11-27 15:49:33 +00:00
p3k
40b85a3838 added more example applications 2001-11-27 15:46:10 +00:00
p3k
cde4b29a5b added more example applications for checkout 2001-11-27 15:44:17 +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
p3k
af93d7b66a added application "himp" for check-out 2001-11-16 19:53:47 +00:00
p3k
1d04d1f888 initial check-in 2001-11-15 14:42:18 +00:00