You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/12/10 13:36:06 UTC
DO NOT REPLY [Bug 15229] New: -
java.util.Enumeration not supported
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15229>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15229
java.util.Enumeration not supported
Summary: java.util.Enumeration not supported
Product: Velocity
Version: 1.3-rc1
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Build
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: pranas.baliuka@danet.lt
Interfaces:
public class StringTokenizer extends Object implements Enumeration
Controller:
ctx.put("enum", new java.util.StringTokenizer("A B C"));
Template:
<HTML>
<BODY>
#foreach ($item in enum)
<P>$item
#end
</BODY>
</HTML>
Result:
<HTML>
<BODY>
</BODY>
</HTML>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: DO NOT REPLY [Bug 15229] New: - java.util.Enumeration not supported
Posted by Peter Romianowski <me...@gmx.de>.
Works if you change
#foreach ($item in enum)
to
#foreach ($item in $enum)
(Note: it's $enum not only enum.)
Peter
> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Tuesday, December 10, 2002 1:36 PM
> To: velocity-dev@jakarta.apache.org
> Subject: DO NOT REPLY [Bug 15229] New: -
> java.util.Enumeration not supported
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cg> i?id=15229>.
>
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE
> COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15229
java.util.Enumeration not supported
Summary: java.util.Enumeration not supported
Product: Velocity
Version: 1.3-rc1
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Build
AssignedTo: velocity-dev@jakarta.apache.org
ReportedBy: pranas.baliuka@danet.lt
Interfaces:
public class StringTokenizer extends Object implements Enumeration
Controller:
ctx.put("enum", new java.util.StringTokenizer("A B C"));
Template:
<HTML>
<BODY>
#foreach ($item in enum)
<P>$item
#end
</BODY>
</HTML>
Result:
<HTML>
<BODY>
</BODY>
</HTML>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>