<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/html-tmpl-java/feature-requests/</id><updated>2003-07-31T21:59:45Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>clearParams()</title><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/4/" rel="alternate"/><published>2003-07-31T21:59:45Z</published><updated>2003-07-31T21:59:45Z</updated><author><name>Tobias Minich</name><uri>https://sourceforge.net/u/belgabor/</uri></author><id>https://sourceforge.net798df73a05d3c0905ad766b7b94c7c38edf2b442</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Since I reuse the Template objects, I had to patch in a method to clear &lt;br /&gt;
the parameter memory.&lt;/p&gt;
&lt;p&gt;public void clearParams()&lt;br /&gt;
{&lt;br /&gt;
if (!params.isEmpty()) {&lt;br /&gt;
params.clear();&lt;br /&gt;
dirty = true;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Would be nice if this made it into the official source =)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Distribution</title><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/3/" rel="alternate"/><published>2003-06-08T12:35:54Z</published><updated>2003-06-08T12:35:54Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net2b841be61671ccbdf8500b1d57dafcaad083e5a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please could you distribute it as a JAR file?&lt;/p&gt;
&lt;p&gt;This would be the source plus compiled class files,&lt;br /&gt;
plus docs, all in one JAR file.&lt;/p&gt;
&lt;p&gt;There are several advantages:&lt;/p&gt;
&lt;p&gt;1. JAR files have a special system that enables one JAR&lt;br /&gt;
file to reference other JAR files that it requires, and&lt;br /&gt;
automatically include the contents in the Classpath.&lt;br /&gt;
This makes it much easier to deploy - you just download&lt;br /&gt;
the current JAR file, and drop it into the same&lt;br /&gt;
directory as the JAR fiel for your own application.&lt;/p&gt;
&lt;p&gt;2. 99.9% of users will not have any reason to recompile&lt;br /&gt;
the source; providing them with a precompiled version&lt;br /&gt;
makes life a bit easier for many people (make files are&lt;br /&gt;
NOT widely used in java development; perhaps they&lt;br /&gt;
should be, but the fact is they aren't).&lt;/p&gt;
&lt;p&gt;3. The official guidelines from Sun strongly suggest&lt;br /&gt;
(require?) that libraries be distributed as JAR files.&lt;br /&gt;
A small reason perhaps, but why not?&lt;/p&gt;
&lt;p&gt;4. The Main-Class manifest attribute in a JAR file&lt;br /&gt;
enables people to launch the JAR with &amp;amp;quot;java -jar&amp;amp;quot;. The&lt;br /&gt;
classic example of using this in a library is making&lt;br /&gt;
the test-class run automatically. This way, you have a&lt;br /&gt;
self-testing archive!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>global_vars support</title><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/2/" rel="alternate"/><published>2002-09-03T14:50:03Z</published><updated>2002-09-03T14:50:03Z</updated><author><name>Thomas Wabner</name><uri>https://sourceforge.net/u/waffel/</uri></author><id>https://sourceforge.net73b6edd0571b63fc2d4f0bd612a7beb49caee367</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;i try to use following java code fragment:&lt;/p&gt;
&lt;p&gt;.....&lt;br /&gt;
template.setParam(&amp;amp;quot;sessionID&amp;amp;quot;,sessionID);&lt;br /&gt;
template.setParam(&amp;amp;quot;newsloop&amp;amp;quot;,Newsmanager.getNews());&lt;br /&gt;
....&lt;/p&gt;
&lt;p&gt;in html i try following:&lt;br /&gt;
.....&lt;br /&gt;
&amp;amp;lt;tmpl_loop newsloop&amp;amp;gt;&lt;br /&gt;
news: &amp;amp;lt;tmpl_var news&amp;amp;gt;&amp;amp;lt;br&amp;amp;gt;&lt;br /&gt;
sessionID: &amp;amp;lt;tmpl_var sessionID&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/tmpl_loop&amp;amp;gt;&lt;br /&gt;
.....&lt;/p&gt;
&lt;p&gt;the problem is, that the var &amp;amp;quot;news&amp;amp;quot; is correct set&lt;br /&gt;
inside the loop, but the outside of the loop declared&lt;br /&gt;
variable &amp;amp;quot;sessionID&amp;amp;quot; is not set.&lt;/p&gt;
&lt;p&gt;Whats wrong, or how can i access tmpl_vars inside the&lt;br /&gt;
loop, which are not declared in the loop-hashtable?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>html comment version</title><link href="https://sourceforge.net/p/html-tmpl-java/feature-requests/1/" rel="alternate"/><published>2002-03-21T13:27:03Z</published><updated>2002-03-21T13:27:03Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net897a41dc27d9b53c28aedf69167d80e0bd4305bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Reallys needs to include the other form of tmpl_&lt;br /&gt;
quoting mechanism, that of being inside HTML comments&lt;/p&gt;
&lt;p&gt;&amp;amp;lt;!-- TMPL_VAR NAME=fred  --&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;etc,&lt;/p&gt;
&lt;p&gt;so that the HTML can be sucessfully passed through a&lt;br /&gt;
validator.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>