Commit graph

  • b931f57e42 fix bug where node was registered with wrong key. check for storage compatibility instead of equality in setNode(). hns 2001-08-30 22:24:38 +00:00
  • 244e7ba779 Repaired brain-dead bug where ESValue was checked for instance of IPathElement instead of ESNode hns 2001-08-30 20:09:20 +00:00
  • e6cc8162d0 check for null in Property.getStringValue for Java object property values. hns 2001-08-30 17:59:51 +00:00
  • e787abefe7 check for undefined in putProperty. hns 2001-08-30 17:56:40 +00:00
  • e7f91063fb commented out debugging msg hns 2001-08-30 17:21:46 +00:00
  • 94201d2a8b adapted to Applications new dual init() and start() method scheme hns 2001-08-30 12:06:26 +00:00
  • 1367116bf1 Everything works again, thanks to the application object exposing everything through getters. hns 2001-08-30 12:05:08 +00:00
  • 8b9722c7cb further tweaking hns 2001-08-30 12:04:39 +00:00
  • 07aef3dff7 internal function calls are only tried if the target object is not the global object or if the global function is defined. hns 2001-08-30 12:04:19 +00:00
  • ddb7ec49a4 created separate init() and start() methods, wrote lots of thread state getters to make this accessible from other packages. hns 2001-08-30 12:03:28 +00:00
  • 9734e347a9 changed check for equals() from ESNode to IPathElement hns 2001-08-29 18:17:44 +00:00
  • 936a9de0e8 moved classes here from helma.framework.* packages. hns 2001-08-29 18:06:37 +00:00
  • dd3cbc45e9 Adapted to other classes moving to the helma.scripting packages hns 2001-08-29 18:04:30 +00:00
  • 6353177656 Optimized the check for updates. Typemanager is now run in an experimental mode without its own thread and being called before a request is evaluated. hns 2001-08-29 18:03:54 +00:00
  • d6e09cae8c Moved files to separate helma/scripting and helma/scripting/fesi packages hns 2001-08-29 18:01:58 +00:00
  • 58b9422d2e wrote some comments hns 2001-08-29 17:57:40 +00:00
  • e0c9630523 must catch Exception hns 2001-08-27 17:56:27 +00:00
  • 02dbec2d07 Do the "catch Throwable" at the right spot so we can generate an error message if the action is called. hns 2001-08-27 17:55:25 +00:00
  • a0715302ae HTTP parameters with multiple values are now translated to an array instead of just setting the first value hns 2001-08-27 17:37:23 +00:00
  • c6d3edf6ae updated to new package of main Server class hns 2001-08-27 16:50:20 +00:00
  • 232f1b37bd initial check in of new helma.main package hns 2001-08-27 16:47:43 +00:00
  • 4dea0349e2 removed or updated references to the old Server class. hns 2001-08-27 16:35:04 +00:00
  • 2bc06b199e The main Server class was moved to the helma.main package, this class remains solely as a very thin redirector to keep backwards compatibility. hns 2001-08-27 16:33:40 +00:00
  • 1f3373a9e0 Moved files to helma.main package. hns 2001-08-27 16:32:31 +00:00
  • 2cb4d8dbc3 removed obsolite IServer import statement. hns 2001-08-27 16:31:41 +00:00
  • 5d50031fe4 added comments, introduced XML-RPC handler name settable via app-properties. hns 2001-08-27 16:31:25 +00:00
  • 9d287e9ddd updated to new location of main Server class hns 2001-08-27 16:30:09 +00:00
  • 027568007e Fixed multipart messages. hns 2001-08-27 16:29:47 +00:00
  • 37a50b548f fixed bug that broke user.cache. hns 2001-08-25 20:33:06 +00:00
  • be10ec1afc fixed bug that broke virtual nodes hns 2001-08-25 20:18:28 +00:00
  • 44ce1c2419 removed obsolete code hns 2001-08-25 20:00:38 +00:00
  • 974407a516 lazy creation of cache node. reintroduced created and lastmodified properities as __internal__ props. hns 2001-08-25 20:00:23 +00:00
  • ca54d3fccc minor documentation enhancement hns 2001-08-25 19:59:07 +00:00
  • 877405495d getNode getProperty now does the right thing for getting collection nodes on transient nodes hns 2001-08-25 19:58:26 +00:00
  • d3bc403bd4 use proper mapping for collections on transient nodes hns 2001-08-25 19:57:29 +00:00
  • b21d575fdf allow ids to be called from transient nodes. introduced simpler internal properties: _id and _parent. removed support for the old created and lastmodified properties. hns 2001-08-25 17:47:29 +00:00
  • fac98332c9 allow IDs to be gotten from transient nodes. If getID is called on a transient node, an ID is generated from the node manager. if the node is later persisted, the same id will be used. hns 2001-08-25 17:46:00 +00:00
  • 43012cfe1d uncommented code that check node into node cache in setNode(). hns 2001-08-25 16:10:54 +00:00
  • abed17f2e9 implemented containsMacro() function hns 2001-08-25 16:10:03 +00:00
  • 6e65ecd242 removed the check that prevented transient nodes from obtaining virtual collection nodes. hns 2001-08-24 15:19:34 +00:00
  • fd9691084e take over filter if subnodes are properties. hns 2001-08-23 19:37:12 +00:00
  • 3cc3e4b534 add some getter methods for code accessing this class from other packages hns 2001-08-23 14:12:31 +00:00
  • e466423826 use getter methods on relation, since the fields are no longer defined as transient hns 2001-08-23 14:11:52 +00:00
  • 6a1aaaea58 Get serious about skin caching hns 2001-08-23 14:02:56 +00:00
  • c2605e72b6 Catch every Throwable in update methods, since FESI may throw Errors at us hns 2001-08-23 14:02:12 +00:00
  • 39a561ff2b use Relation.maxSize for getNodes and countNodes (untested) hns 2001-08-23 14:00:30 +00:00
  • cf4b947efe use raw JDBC Api in getNodeIDs and check for maxSize field in Relation hns 2001-08-22 14:49:29 +00:00
  • 9f3fae9b2f new feature: maxSize to specify maxamal size of a collection. hns 2001-08-22 14:43:48 +00:00
  • 1912cdc6ea Do not set constraints for groupby-constraints, since we don't know if it is the base node or a group node we are being added to. hns 2001-08-22 12:24:01 +00:00
  • 3b0be3f7e6 setConstraint() should now set the right object references, and it should be prudent not to overwrite persistent references with transient ones. hns 2001-08-22 11:43:34 +00:00
  • 8f39946692 Fix bug where object prototypes where stored by lower case prototype name instead of as-is prototype name. some cleanup of prototype object handling. hns 2001-08-22 11:42:18 +00:00
  • c4fa72c66e setConstraints now is safe for transient nodes, since it uses a node property instead of the node id to establish object references. hns 2001-08-22 01:16:19 +00:00
  • 35ac6602bc rearranged addNode method hns 2001-08-22 01:15:00 +00:00
  • 50fa6c0e73 do contains() check for group-by nodes, constraint check for database nodes in getNode(). hns 2001-08-22 00:12:20 +00:00
  • af41c07c8b don't request write lock in constructor for relational objects hns 2001-08-22 00:11:12 +00:00
  • 0ea389b663 in getNodeByRelation, check for manually set subnodeRelation for additional constraints. hns 2001-08-21 22:44:30 +00:00
  • eb0c453cc0 for propertiesAreSubnodes, take over subnode constraints to property relation. hns 2001-08-21 22:43:51 +00:00
  • 9a4fcd1b33 don't include order from type.properties if where clause was set via manual subnoderelation. hns 2001-08-21 22:07:08 +00:00
  • 3ce3e7f54a Fixed SQL Select statement generation. The method that generates the statements in the Relation class now takes two additional parameters and is more flexible. hns 2001-08-21 21:44:52 +00:00
  • 02fb01a55e getNodeIDs always outputs its select statement if logsql=true. Previously the statement was not logged if it contained an error. hns 2001-08-21 14:10:47 +00:00
  • 083bd0fe80 removed property backlinks. subnode backlinks are only created if the node containing the current node is not transient. hns 2001-08-21 13:42:57 +00:00
  • 93b7f729b8 removed unused code removed backlinks for nodes used as property values - properties will simply return null once a node used as value has been deleted. hns 2001-08-21 13:40:54 +00:00
  • 1c66a640a0 fixed /user and /users URL mappings hns 2001-08-21 13:36:02 +00:00
  • 1ac901538b removed unused code hns 2001-08-21 13:35:14 +00:00
  • 78af6c8709 removed import statement for helma.objectmodel.Node hns 2001-08-20 15:18:51 +00:00
  • ed5784800e updated import statement for DbSource hns 2001-08-20 15:18:31 +00:00
  • cf524fa87c removed unnecessary import statements hns 2001-08-20 15:18:03 +00:00
  • f35dab4eeb init methods in this package now call super.init() as they should to initialize default stuff. hns 2001-08-20 14:58:03 +00:00
  • e0f030a63f updated to reflect and use new powerful Relation class. hns 2001-08-20 14:56:25 +00:00
  • 25c76b621e * moved SQL generation to Relation class. * DbKey is againonly used for primary keys. * The Relation class is now able to check its constraints on a parent node and a child node which was found in cache. hns 2001-08-20 14:55:26 +00:00
  • 96cad06996 added import statement for SystemProperties hns 2001-08-20 14:53:12 +00:00
  • 225751ec18 changes to reflact renaming helma.objectmodel.Node to TransientNode hns 2001-08-20 14:49:55 +00:00
  • ea444d4f4a added import statement for DbMapping hns 2001-08-20 14:49:16 +00:00
  • 4174c3ebbd renamed from Node to TransientNode hns 2001-08-20 14:48:38 +00:00
  • c977631ec9 moved from helma.objectmodel to helma.objectmodel.db package hns 2001-08-20 14:46:58 +00:00
  • f0151b149c moved to helma.util package from helma.objectmodel hns 2001-08-20 14:46:04 +00:00
  • b098b8fc1c moved to helma.util package hns 2001-08-20 14:45:26 +00:00
  • 6726baa5a7 moved to helma.objectmodel.db Package hns 2001-08-20 14:44:09 +00:00
  • c43cc32f5e new createImage method for creating an image from an existing image plus an image filter. Kicked out obsolete and unimplemented methods. hns 2001-08-20 14:43:08 +00:00
  • 2a3cfc960c New Image constructor allows to build an image object from an existing image and an instance of java.awt.image.ImageFilter. hns 2001-08-20 14:41:31 +00:00
  • f3b05ef897 small changes to reflect moving SystemProperties to the helma.util package and renaming helma.objectmodel.Node to helma.objectmodel.TransientNode. hns 2001-08-20 14:40:30 +00:00
  • 062b3a4e5f changed import statement for SystemProperties to new helma.util package hns 2001-08-20 14:38:51 +00:00
  • 96abb621ec adopted input statement - SystemProperties moved to helma.util. hns 2001-08-20 14:08:29 +00:00
  • 55e58ab509 making nodes transient that do have child nodes should now work, because loadnodes no longer throws the existing nodes away to see if there are some in the database. dump stack traces on getKey and getID for transient nodes. hns 2001-08-13 17:04:07 +00:00
  • 2b574f11fa This is an Ecmascript wrapper for a generic IPathElement object. hns 2001-08-13 13:53:36 +00:00
  • 7ce2f6f34f registered changes to Evaluator and ESLoader classes hns 2001-08-13 13:48:44 +00:00
  • c5b1f9bee3 Create a special ESWrapper for instances of IPathElement. hns 2001-08-13 13:45:11 +00:00
  • f9bfe75219 Added helma.framework.core.RequestEvaluator field so that ESLoader can construct a wrapper with the right prototype for path elements. hns 2001-08-13 13:36:07 +00:00
  • a2dcc29cec The basic operations now use the IPathElement interface instead of INode: Path resolution in RequestEvaluator, skin rendering, and href() function. Application will check the rootObject property in the app.properties file and try to create a custom root object, if set. hns 2001-08-13 13:10:41 +00:00
  • 1b0c4329e5 INode now extends the pretty simple IPathElement interface. getUrl is now handled in Application where it belongs. hns 2001-08-13 12:45:26 +00:00
  • 3eb484b9a0 Moved to helma/framework and finally being used hns 2001-08-13 12:43:10 +00:00
  • 6fe68fb145 Initial check-in of demo implementation of IPathElement interface hns 2001-08-13 11:03:42 +00:00
  • 961c6ef398 Initial check-in of new IPathElement interface hns 2001-08-13 11:03:19 +00:00
  • 6be5d60594 made sure node is not marked as updated in setNode unless really necessary. hns 2001-08-11 13:45:11 +00:00
  • c7dc65a7ed Rewrote getSkin to be able to handle more than one skin manager. hns 2001-08-10 21:11:36 +00:00
  • ac9db121db dbmapping now knows which of its properties (if any) are to be considered skin managers hns 2001-08-10 21:10:18 +00:00
  • bbfab140a6 notify dbmappings of data change when switching prototypes hns 2001-08-10 18:12:39 +00:00
  • 80a4e366c3 Fixed getSkin to actually walk down prototype path res.skin can now be set to other than global skins, using "prototype.skin" syntax. This is resolved against the request path. hns 2001-08-10 18:11:59 +00:00
  • 29e9f745e1 Fixed a bug where object prototypes were not created with proper parent prototypes hns 2001-08-10 18:10:23 +00:00
  • 4e50a34189 getSkin now walks down the prototype chain the way it should hns 2001-08-10 15:00:58 +00:00