on 3/13/01 7:32 AM, "McKenzie, Kevin" <[EMAIL PROTECTED]> wrote:
> I have been looking at Velocity for the last couple of days
> and have got the forumdemo application running.
That's good. All you have to do is download it and run Tomcat. :-)
I'm not running Tomcat. :-)
...
why not:
#if ($listAll.size() > 0)
??????
Good suggestion. I will do this.
...
What does your myCollection.toArray() object look like? Does it have a
getName() method?
It is a Collection of EbiDocument objects, which extends EbiDirectoryEntry:
Method Summary
java.lang.String getID() Get the ID of the Directory Entry.
java.lang.String getKey() Get the key representing this entry in the directory list.
java.lang.String getName() Get the name of the Directory Entry.
java.lang.String getURL(boolean encode) Get the URL of the Directory Entry.
boolean isDirectory() Determine whether the entry is a directory.
void setName(java.lang.String name) Set the name of this entry to a new value.
I searched the mail archives but could not find any relevant
information on debugging.
Can anyone point me in the right direction?
I got my code working, but am still interested in hearing about debugging techniques using Velocity.
Thanks in advance,
Kevin
-jon
--
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>
