hns
c37d1670d5
Implement protected setName() method to set the property's name
2003-11-18 17:36:46 +00:00
hns
6453f53bd9
Always return our own DbColumns[]. This is needed in order to add/change mappings
...
in extended prototypes.
2003-11-18 17:36:13 +00:00
hns
b97ba99e22
Reworked Mail object contstuctor code:
...
* Do not set smtp host unless it is explicitely set in the properties
* Set message encoding as defined in mail.charset property, defaults to ISO8859-15
* Cache Mail session in Mail object prototype
* Store app properties as Java fields in prototype rather than as JS property in constructor
2003-11-18 15:23:09 +00:00
hns
0ea547488b
Use Session.getInstance() rather than Session.getDefaultInstance(). This creates a new Session for
...
each Mail() object, creating an additional overhead of ~10millis, but it picks up changes in the
properties files, fixing bug 308.
http://www.helma.org/bugs/show_bug.cgi?id=308
2003-11-18 12:29:41 +00:00
hns
7040da5438
Update to JavaMail 1.3.1 FCS
2003-11-18 10:32:14 +00:00
hns
10540b83e3
Remove unused imports
2003-11-14 13:40:01 +00:00
hns
e486bbb9b0
Added experimental res.forward() to forward a request to a local (static) resource.
...
The base resource must be mounted as <app>.protectedStatic in the apps.properties file.
Currently no Content-Type is set on the response.
2003-11-14 13:14:07 +00:00
hns
ea32bc9da4
Added experimental res.forward() to forward a request to a local (static) resource.
...
The base resource must be mounted as <app>.protectedStatic in the apps.properties file.
2003-11-14 13:13:20 +00:00
hns
0c6d25e038
Added two options for apps.properties for directory indices and index pages:
...
<app>.staticIndex = true
<app>.staticHome = index.html, default.htm
Default values are (false) for directory listings and "index.html, index.htm" for index pages.
2003-11-14 13:11:25 +00:00
hns
6f213b481c
Implement query hints as suggested by bug 306
...
http://helma.org/bugs/show_bug.cgi?id=306
2003-11-12 12:47:19 +00:00
hns
ae56944420
Clean up Java-Object JS-constructor mess: get the right
...
constructor and invoke it instead of trying them all.
2003-11-10 16:30:24 +00:00
hns
49b08cc5a7
Update version date
2003-11-06 15:31:08 +00:00
hns
0655b03c60
Simplify property access to only use node or nodeless methods, not both
...
Fix bug in getById() reported by Juerg Lehni
Throw EvaluatorException instead of JavaScript exception
Remove catched exception not anymore thrown by new rhino snapshot
2003-11-06 14:36:18 +00:00
hns
286d522f0d
Adapt to new TokenStream constructor signature from rhino CVS snaphost.
...
Remove unused imports.
2003-11-06 14:33:21 +00:00
hns
e6cd999687
Remove unused import statements
2003-11-06 14:32:42 +00:00
hns
2d23806586
Update to rhino CVS snapshot from 2003/11/04
2003-11-06 14:31:40 +00:00
hns
2c44477ede
Update to Jetty 4.2.14
2003-11-06 14:30:38 +00:00
hns
646ef8f495
Do not wrap primitive property values as objects when retrieving them - as objects
...
they are unusable for many purpuses, e.g. testing for equality via ==.
2003-11-06 12:00:28 +00:00
hns
16621735c6
Cleanup import statements.
2003-11-05 11:56:19 +00:00
hns
87aca52907
Make return values more "JavaScript compatible" (long->double, String[]-> Object)
...
to make them work with recent rhino snapshots.
2003-11-05 11:55:45 +00:00
hns
1e75ca9b90
Cleanup import statements
2003-11-05 11:52:22 +00:00
hns
3a61763cbc
* Cleanup imports
...
* Disable ContentEncoding for compatibility with Jetty 4.2
2003-11-05 11:51:47 +00:00
hns
7b97a1314d
By default use system class path in helma class loader, but allow for
...
-Dhelma.exludeSystemClasses=true switch to exclude it.
2003-11-05 11:50:48 +00:00
hns
b8914ce0fd
Added separate constructor that allows for a parent class loader argument.
...
Use the standard parent class loader in the old (single argument) constructor.
2003-11-05 11:48:57 +00:00
hns
2b3b10e1e1
Remove leading underscore from JOIN_PREFIX since Oracle doesn't like it.
2003-10-29 15:38:16 +00:00
hns
45d32cc2da
Added a comment that tries to make clear the difference between isVirtual() and isCollection()
2003-10-24 15:35:31 +00:00
hns
9e8f04aa4a
Fix bug where collection properties on transient nodes are created over and over again.
...
Use Relation.isVirtual() rather than Relation.isCollection() to find out if a relation is a collection property.
2003-10-24 15:34:56 +00:00
hns
e8fcab410a
Updated version string to 1.3.2-pre1
2003-10-24 12:20:58 +00:00
hns
39d8683b84
Use Relation's additionalTables option when building queries.
...
This activates the additionalTables feature contributed by Juerg Lehni.
2003-10-23 14:35:02 +00:00
hns
e45ef47dee
Commit parsed filter feature contributed by Juerg Lehni.
2003-10-23 14:33:59 +00:00
hns
f08e350367
Renamed invoke methods to make their use clearer. Some minor code cleanup.
2003-10-23 12:53:43 +00:00
hns
c0830be336
DbMapping: Changed most fields visibility to private
...
DbMapping: Change getPropertyRelation visibility to private, always use
getSubnodeRelation from outside instead.
Node: Rewrote getProperty(String) to be simpler and easier to understand.
furthermore, getProperty(String) now also returns child objects (subnodes)
making it unnecessary for calling code to also use getChildElement()
or getSubnode()
Node: Fixed NullPointerException in getElementName() for transient nodes
Node: Use DbMapping.getSubnodeRelation() instead of DbMapping.getPropertyRelation()
NodeManager: Fixes in getNode() methods, which now invoke each other depending on
key/query type
Relation: Removed unused arguments from constructor
Relation: Fixed NullPointerException in createOnDemand()
HopObject: Do not use getChildElement() in jsFunction_get() (see change in
Node.getProperty())
HopObject: Handle case where jsFunction_get() and jsFunction_set() are called with
non-strings that should be handled as string, e.g.
org.mozilla.javascript.NativeString
cosmetic cleanup everywhere (imports, unneeded casts, unused fields etc.)
2003-10-23 12:00:35 +00:00
hns
ccf197aeac
throw EvaluatorException instead of RuntimeException to prevent Rhino exception wrapping
2003-10-23 11:44:58 +00:00
hns
72e12535f6
Cosmetic cleanup: imports, unused code.
2003-10-23 11:44:36 +00:00
hns
0f5abe0028
throw EvaluatorException instead of RuntimeException to prevent Rhino exception wrapping,
...
change to new DatabaseObject constructor signature.
2003-10-23 11:44:13 +00:00
hns
010fef5ee4
Minor cosmetic fixes, changed constructor signature
2003-10-23 11:43:28 +00:00
hns
2efb42922d
Fix import statements and javadoc comments
2003-10-23 11:04:37 +00:00
hns
dac8f7d54c
Fix import statements
2003-10-22 16:53:40 +00:00
hns
33175a07c8
Remove unused import statements.
...
Changed TypeInfo variable name from "info" to "type"
2003-10-22 16:37:03 +00:00
hns
0ca20d5842
Remove unused import statements and updated some javadoc comments
2003-10-22 16:36:24 +00:00
hns
84416e8a43
Remove unused import statements and other unnecessary code
2003-10-22 16:34:06 +00:00
hns
60cbbba73b
Remove unused import statements
2003-10-22 16:31:07 +00:00
hns
822307984b
Performance improvement in HopObject.get() by trying child object first and property afterwards.
2003-10-15 16:55:29 +00:00
hns
3271f940cd
* Make JavaScript HopObject.get() return generic Node properties in addition to child objects.
...
* Added checkNode method() to refresh node in case it has been invalidated.
2003-10-15 16:10:26 +00:00
hns
c1ddf495ca
Implement HopObject.set() function compatible to Helma 1.2
2003-10-15 13:55:10 +00:00
hns
c9efe6d8ea
Implement support for hrefFunction and hrefSkin postprocessing options, fixing bug 292
...
http://helma.org/bugs/show_bug.cgi?id=292
2003-10-15 13:22:04 +00:00
hns
8b8afac449
* Increase default uploadLimit for file upload to 4 MB
2003-10-14 09:48:54 +00:00
hns
710dd12e17
* Moved getSubHeader() method from FileUpload to MimePart and made it public static
...
* Check charset in MimePart.getText()
* Increase default uploadLimit in FileUpload to 4 MB
2003-10-14 09:48:30 +00:00
michi
c55a192d5d
wrapper function Xml.getFromString(str) called Xml.get() instead of Xml.getFromString(str, null)
2003-10-13 17:43:16 +00:00
hns
fa4ce3ed6f
Recognize application/text in getText()
2003-10-10 19:03:07 +00:00