<?xml version="1.0"?>
<rss version="2.0">
<channel>
<link>http://helma.org/Documentation/Type.properties+Documentation/</link>
<title>helma.org/Documentation/Type.properties Documentation</title>
<description>Updates for Page helma.org/Documentation/Type.properties Documentation</description>
<pubDate>Mon, 21 May 2012 21:13:39 +0000</pubDate>
<item>
<title>Version 35</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=35</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;77&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;=== Property Naming ===&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;78&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;The property naming is case sensitive since Helma 1.7. This means that obj.foo, obj.Foo and obj.FOO no longer point to the same property. Properties starting with &#39;_&#39; are not persistable! If you define a property like &#39;_lastAccess&#39;, Helma will not map it to a database column, even if you define a mapping.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;79&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;86&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;Makes &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Initializes &lt;/span&gt;the property &lt;span class=&#39;diffremoved&#39;&gt;read only and initializes it &lt;/span&gt;with the value from the &lt;span class=&#39;diffadded&#39;&gt;database and will not propagate updates on this property to the &lt;/span&gt;database&lt;span class=&#39;diffadded&#39;&gt;. Please note that the property still can be modified by the application but all changes will be lost after restarting the application or reloading it&#39;s value from the database. If you need to prevent any modification on a property, you have to provide a setter function for it&lt;/span&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Wed, 13 Jan 2010 15:54:36 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 34</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=34</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;73&lt;/td&gt;&lt;td&gt; _children = &lt;span class=&#39;diffremoved&#39;&gt;collection(PrototypeToCollect)&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;collection(SomeHopObject)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 10:01:32 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 33</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=33</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;73&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;span class=&#39;diffremoved&#39;&gt;_children&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;_children = collection(PrototypeToCollect)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;75&lt;/td&gt;&lt;td&gt;It is used to define a HopObject itself as a collection. The keyword _children acts like a normal property, so you can use all of the collection specifications &lt;span class=&#39;diffadded&#39;&gt;(.local, .foreign, .accessname, etc.) &lt;/span&gt;when defining the collection.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 10:01:01 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 32</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=32</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;75&lt;/td&gt;&lt;td&gt;It is used to define a HopObject itself as a collection. The keyword _children acts like a normal property, so you can use all of the collection specifications when defining the collection.&lt;span class=&#39;diffadded&#39;&gt; &amp;lt;tt&amp;gt;_children = collection(PrototypeToCollect)&amp;lt;/tt&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 09:57:16 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 31</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=31</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;75&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;It is used to define a HopObject itself as a collection. The keyword _children acts like a normal property, so you can use all of the collection specifications when defining the collection.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;76&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 09:54:45 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 30</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=30</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;1&lt;/td&gt;&lt;td&gt;To store your HopObjects into a relational database system you need to define a database mapping. This is done in the type.properties files located in the persistent&amp;nbsp; HopObject&#39;s prototype directory (e.g. apps/myApp/MyPrototype). The type.properties files contain no JDBC connection information, which is located in the db.properties file in the Helma installation &lt;span class=&#39;diffadded&#39;&gt;directory or in the application &lt;/span&gt;directory.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 09:38:59 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 29</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=29</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;16&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;Helma can store multiple &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Extended &lt;/span&gt;prototypes &lt;span class=&#39;diffremoved&#39;&gt;into one single database table. This feature could be useful if you extend prototypes for inheritance and if you want to store all sub-prototypes into &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;are usually stored in &lt;/span&gt;the same &lt;span class=&#39;diffadded&#39;&gt;relational database &lt;/span&gt;table. &lt;span class=&#39;diffremoved&#39;&gt;To enable this feature just add &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Thus, Helma needs &lt;/span&gt;a &lt;span class=&#39;diffremoved&#39;&gt;column &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;way &lt;/span&gt;to &lt;span class=&#39;diffadded&#39;&gt;tell which row in &lt;/span&gt;the table &lt;span class=&#39;diffremoved&#39;&gt;where Helma can store the prototype&amp;#8217;s name&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;should be instantiated with which object prototype&lt;/span&gt;. This &lt;span class=&#39;diffremoved&#39;&gt;column &lt;/span&gt;is &lt;span class=&#39;diffremoved&#39;&gt;referenced &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;done using the _prototype entry, specifying a column &lt;/span&gt;in the &lt;span class=&#39;diffremoved&#39;&gt;type.properties &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;table containing the name &lt;/span&gt;of the &lt;span class=&#39;diffremoved&#39;&gt;affected prototype&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;prototype for each row&lt;/span&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 27 Oct 2009 09:35:28 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 28</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=28</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;10&lt;/td&gt;&lt;td&gt; _table = &lt;span class=&#39;diffremoved&#39;&gt;tableName&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;TABLENAME&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;14&lt;/td&gt;&lt;td&gt; _prototype = &lt;span class=&#39;diffremoved&#39;&gt;prototypeColumnName&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;PROTOTYPE_COLUMN_NAME&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;The optional &lt;span class=&#39;diffremoved&#39;&gt;`_name` &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;_name &lt;/span&gt;entry tells Helma which database column to use as object name. This is important for the user prototype, since it defines which column constitutes the user name. &lt;span class=&#39;diffadded&#39;&gt;This field is only used by the session.login(name, pw)/app.registerUser(name, pw) functionality!&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 23 Oct 2009 17:21:19 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 27</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=27</link>
<description>&lt;ul class=&#39;diffproperties&#39;&gt;&lt;li&gt;Set &lt;span class=&#39;diffpropname&#39;&gt;useMarkdown&lt;/span&gt; to &lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;37&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt; _name = NAME_COLUMN&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;38&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;The optional `_name` entry tells Helma which database column to use as object name. This is important for the user prototype, since it defines which column constitutes the user name. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;40&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;41&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 23 Oct 2009 17:18:53 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 26</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=26</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;61&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;If you define &amp;lt;tt&amp;gt;_parent = root&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;The Photographer&#39;s types&lt;/span&gt;.&lt;span class=&#39;diffremoved&#39;&gt;warphotographers, agency, root.photographers&amp;lt;/tt&amp;gt; Helma&amp;#8217;s &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will look first in the war photographers collection and return an URL &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;properties looks &lt;/span&gt;like &lt;span class=&#39;diffremoved&#39;&gt;&amp;lt;tt&amp;gt;/warphotographers/nachtwey&amp;lt;/tt&amp;gt;, if the person is member of this. Now you call &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; on the object Annie Leibovitz. She isn&amp;#8217;t member of warphotographers, her agency property is null, but she is member of root.photographers, so &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will return &amp;lt;tt&amp;gt;/photographers/leibovitz&amp;lt;/tt&amp;gt;.&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;that:&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;62&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;tt&amp;gt;_parent = root.warphotographers, agency, root.photographers&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;63&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;agency = object(Agency)&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;64&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;/tt&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;65&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;66&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;Helma&amp;#8217;s &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will look first in the war photographers collection and return an URL like &amp;lt;tt&amp;gt;/warphotographers/nachtwey&amp;lt;/tt&amp;gt;, if the person is member of this. Now you call &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; on the object Annie Leibovitz. She isn&amp;#8217;t member of warphotographers, her agency property is null, but she is member of root.photographers, so &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will return &amp;lt;tt&amp;gt;/photographers/leibovitz&amp;lt;/tt&amp;gt;.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 10 Mar 2009 14:35:37 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 25</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=25</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;57&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;The _parent entry solves a very specific problem: HopObjects do not know their canonical URLs if you call the href() function, since they can be members of more than one collection.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;58&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;59&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;Example: James Nachtwey, Steve McCurry and Annie Leibovitz are well known photographers. A photographer might work for an agency, so the photographer&amp;#8217;s prototype contains a property acency, but if they don&amp;#8217;t, it&amp;#8217;s null. Nachtwey and McCurry are war photographers, so a root.warphotographers collection cointains both. Leibovitz is neither taking pictures in war zones, nore working for an agency. All photographers are stored in the root&amp;#8217;s photographers collection.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;60&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;61&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;If you define &amp;lt;tt&amp;gt;_parent = root.warphotographers, agency, root.photographers&amp;lt;/tt&amp;gt; Helma&amp;#8217;s &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will look first in the war photographers collection and return an URL like &amp;lt;tt&amp;gt;/warphotographers/nachtwey&amp;lt;/tt&amp;gt;, if the person is member of this. Now you call &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; on the object Annie Leibovitz. She isn&amp;#8217;t member of warphotographers, her agency property is null, but she is member of root.photographers, so &amp;lt;tt&amp;gt;href()&amp;lt;/tt&amp;gt; will return &amp;lt;tt&amp;gt;/photographers/leibovitz&amp;lt;/tt&amp;gt;.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;62&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Tue, 10 Mar 2009 14:04:31 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 24</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=24</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;55&lt;/td&gt;&lt;td&gt;If an entry in the _parent item does not contain a dot, it is interpreted as an object property of the current object that acts as the object&#39;s parent. If an entry contains a dot character, the part after the dot is interpreted as a collection in the parent object in which the current object is contained. &lt;span class=&#39;diffadded&#39;&gt;Alternatively or additionally, a second or third dot separated part may indicate an object reference instead or in addition to a collection or mountpoint. &lt;/span&gt;If the _parent is specified as &amp;quot;root&amp;quot;, it is not interpreted as a property of the current object. Instead, the application&#39;s root object is used as parent object.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 31 Oct 2008 12:15:01 +0000</pubDate>
<author>zumbrunn</author>
</item>
<item>
<title>Version 23</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=23</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;Download &lt;span class=&#39;diffremoved&#39;&gt;this demo-application: &amp;lt;% this.attachment name=&amp;quot;demo_animalfarm.zip&amp;quot; %&amp;gt;&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;the animal demo application:&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;% this.attachments %&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 01 Aug 2008 16:12:42 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 22</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=22</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Download this demo-application: &amp;lt;% this.attachment name&lt;/span&gt;=&lt;span class=&#39;diffremoved&#39;&gt;===&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;quot;demo_animalfarm.zip&amp;quot;&lt;/span&gt;&amp;nbsp;&lt;span class=&#39;diffremoved&#39;&gt;Demo Application ====&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;%&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&amp;lt;% this.attachments %&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 01 Aug 2008 16:12:03 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 21</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=21</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;==== Demo Application ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;% this.attachments %&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;36&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 01 Aug 2008 16:11:10 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 20</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=20</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;26&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;==== Inheritance ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;27&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;28&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt; _extends = Prototype&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;29&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;30&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;The _extends entry engages Helma to inherit properties, functions and skins from another prototype. This can be compared to Java&amp;#8217;s subclassing mechanism.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;31&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;32&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;For example could be a Dog&#39;s _extends value the Animal, which inherits to the Dog prototype basic properties like father or mother, some skins and standard functions like getBiologicalClassification()&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;33&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;==== Inheritance ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;36&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;37&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt; _extends = Prototype&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;38&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;The _extends entry engages Helma to inherit properties, functions and skins from another prototype. This can be compared to Java&amp;#8217;s subclassing mechanism.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;40&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;41&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;For example could be a Dog&#39;s _extends value the Animal, which inherits to the Dog prototype basic properties like father or mother, some skins and standard functions like getBiologicalClassification()&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 01 Aug 2008 15:47:21 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 19</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=19</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt; _extensionId = String or Integer&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;36&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;If you extend a prototype, Helma will use the name of the sub-prototype as value for the _prototype database column. This could slow down the performance. Better would be to choose a numeric value, which result faster index retrievals and queries. You can define this numeric value in the _extensionId property of the sub-prototype.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;37&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;38&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;Example: If Helma needs all cats, the db-layer can filter all animals with the value &#39;260486&#39;. The value &#39;260486&#39; is defined in the cat&amp;#8217;s type.properties as _extensionId! For dogs the _extensionId is set to a &#39;dogu dugu&#39; string. Animals&amp;#8217; type.properties defines no _extensionId, so Helma uses the prototype&amp;#8217;s name, which is &#39;Animal&#39;!&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;40&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;% this.image name=&amp;quot;typeproperties_prototype_extensionid.png&amp;quot; %&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;41&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 01 Aug 2008 15:46:46 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 18</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=18</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;5&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;==== Database related ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;14&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt; _extends = Prototype&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;15&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;16&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;The _extends entry engages Helma to inherit properties, functions and skins from another prototype. This can be compared to Java&amp;#8217;s subclassing mechanism.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;17&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;18&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;For example could be a Dog&#39;s _extends value the Animal, which inherits to the Dog prototype basic properties like father or mother, some skins and standard functions like getBiologicalClassification()&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;19&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;27&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt; _parent &lt;/span&gt;=&lt;span class=&#39;diffadded&#39;&gt;===&lt;/span&gt;&amp;nbsp;&lt;span class=&#39;diffremoved&#39;&gt;localPropertyName, localProperty.parentsCollectionName, root.collectionName&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Inheritance ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;29&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;The _parent entry contains a comma-separated list of properties of objects of this type to be used as parent.&lt;/span&gt;&amp;nbsp;&lt;span class=&#39;diffremoved&#39;&gt;Objects must know their parent in order to generate correct URLs in their href() function.&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;_extends =&lt;/span&gt;&amp;nbsp;&lt;span class=&#39;diffremoved&#39;&gt;If a property in the list is null, Helma will look on the following one to fetch a parent object.&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;Prototype&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;31&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffremoved&#39;&gt;If an &lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;The _extends &lt;/span&gt;entry &lt;span class=&#39;diffremoved&#39;&gt;in the _parent item does not contain a dot&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;engages Helma to inherit properties&lt;/span&gt;, &lt;span class=&#39;diffremoved&#39;&gt;it is interpreted as an object property of the current object that acts as the object&#39;s parent&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;functions and skins from another prototype&lt;/span&gt;. &lt;span class=&#39;diffremoved&#39;&gt;If an entry contains a dot character, the part after the dot is interpreted as a collection in the parent object in which the current object is contained. If the _parent is specified as &amp;quot;root&amp;quot;, it is not interpreted as a property of the current object. Instead, the application&#39;s root object is used as parent object&lt;/span&gt;&lt;span class=&#39;diffadded&#39;&gt;This can be compared to Java&amp;#8217;s subclassing mechanism&lt;/span&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;33&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;For example could be a Dog&#39;s _extends value the Animal, which inherits to the Dog prototype basic properties like father or mother, some skins and standard functions like getBiologicalClassification()&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;34&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;35&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;==== Object Management ====&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;36&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;37&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;38&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt; _parent = localPropertyName, localProperty.parentsCollectionName, root.collectionName&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;40&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;The _parent entry contains a comma-separated list of properties of objects of this type to be used as parent. Objects must know their parent in order to generate correct URLs in their href() function. If a property in the list is null, Helma will look on the following one to fetch a parent object.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;41&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;42&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;If an entry in the _parent item does not contain a dot, it is interpreted as an object property of the current object that acts as the object&#39;s parent. If an entry contains a dot character, the part after the dot is interpreted as a collection in the parent object in which the current object is contained. If the _parent is specified as &amp;quot;root&amp;quot;, it is not interpreted as a property of the current object. Instead, the application&#39;s root object is used as parent object.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Wed, 11 Jun 2008 12:37:26 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 17</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=17</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;39&lt;/td&gt;&lt;td&gt;The _id entry defines the column to use as primary key. Helma requires a single primary key with no other functionality.&lt;span class=&#39;diffadded&#39;&gt; You can read this unique ID from the _id-property of the HopObject.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 06 Jun 2008 15:37:17 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 16</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=16</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;29&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;Note: The Dog&amp;#8217;s type.properties just defines the two new properties. All other stuff will be inherited from the Animal.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;30&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 06 Jun 2008 15:17:17 +0000</pubDate>
<author>Philipp</author>
</item>
<item>
<title>Version 15</title>
<link>http://helma.org/Documentation/Type.properties+Documentation/history.diff?v=15</link>
<description>&lt;div class=&#39;diffbody&#39;&gt;&lt;table&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;27&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&amp;lt;% this.image name=&amp;quot;typeproperties_prototype_helma.png&amp;quot; %&amp;gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;width:2em; color:#999;&quot;&gt;28&lt;/td&gt;&lt;td&gt;&lt;span class=&#39;diffadded&#39;&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;</description>
<pubDate>Fri, 06 Jun 2008 15:15:09 +0000</pubDate>
<author>Philipp</author>
</item>
</channel>
</rss>

