, Gregory
Sent: Monday, July 12, 2004 3:08 PM
To: Velocity Developers List
Subject: RE: template initialization throwing error on
runtime.interpolate.string.literals property
still no luck. same old response.
-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday
Looked into this briefly. Seems very strange.
-- What version of Velocity?
-- Do you have multiple velocity jars in the classpath? Maybe one at the
app server level and one in your webapp?
--When you uncomment the line runtime.interpolate.string.literals does it
work?
--Is there anything
jar and it's the same one being deployed
both instances, no change.
-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 1:13 PM
To: Velocity Developers List
Subject: Re: template initialization throwing error on
runtime.interpolate.string.literals
To be honest, I've always thought the primary reason the Tools and
Velocity Core are separate had to do with access control, release
schedule, and quality control.
Geir and the few other Velocity committers have kept tight control over the
source control for Velocity, with an articulated goal of
Yeah, bad news about the collarbone. Guess that must kill the biking for a
while. (I'm feeling a little abashed in that I wrote my email before my
morning coffee, didn't have the attention-span for social niceties).
I kinda like JSTL, by the way. (heresy here, I know). With a good MVC
I reference local help for Velocity and similar projects from time to time
(train plane time, for example).
There must be some way of extracting the Wiki. Hibernate does this for
example. (Wiki docs, but they all are included in the download). Not the
same software, I know, but perhaps we
This should work (as long as $var is an integer)
#set ($range = [1..$var])
#foreach ($i in $range)
#end
WILL
- Original Message -
From: Thiago Souza [EMAIL PROTECTED]
To: 'Velocity Developers List' [EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 8:56 PM
Subject: RE: Custom
Interesting. The issue didn't come up even during the 6 month release
candidate period. Maybe there's no substitute for actual release to get the
tool out into the user community and be fully tested. :-)
There's a bunch of feature requests and patches out there. I'm using some
of them in a
. Documentation (aimed at the template writer) is here:
http://www.forio.com/broadcastdocs/creating_interfaces/lists.htm#paged_lists
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
Bubna [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Wednesday, May 05, 2004 5:19 PM
Subject: Re: paged list tool?
Will Glass-Husain said:
As long as you're thinking about list wrappers and new tools,
any interest in a tool for doing paged lists?
yep.
http
Use my event handler patch and build a IncludeEventHandler.
Then resources loaded in via #include or #parse can be selected as needed
according to the context.
WILL
- Original Message -
From: Konstantin Priblouda [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent:
Yes, I've struggled with this too. But the modulo approach can be used with
a list of any size like this:
#set ($colorlist = [#E,#FF]
#foreach($item in $list)
#set($color = $colorlist.get($velocityCount % $colorlist.length())
tr bgcolor=$colortd$item/td/tr
#end
Not much more
architecture as you guys - I
just want to get something that works.
Matt
On Apr 29, 2004, at 5:30 PM, Will Glass-Husain wrote:
Hi Geir,
Not sure what your specific objection is. My proposed patch adds some
flexibility to the resource loaders by allowing an instance to be
passed
Hi Konstantin,
Seems like a good idea to me. Geir's an IOC fan, maybe we can get him to
commit this.
Can you file the request in Bugzilla? Then there will be a record of this
request.
http://nagoya.apache.org/bugzilla
WILL
- Original Message -
From: Konstantin Priblouda [EMAIL
List [EMAIL PROTECTED]
Sent: Thursday, April 29, 2004 3:50 PM
Subject: Re: VelocityEngine enhancement proposal
On Apr 29, 2004, at 6:48 PM, Geir Magnusson Jr wrote:
On Apr 29, 2004, at 4:37 PM, Will Glass-Husain wrote:
Hi Konstantin,
Seems like a good idea to me. Geir's an IOC fan, maybe we
rather see us fix the DatasourceResourceLoader
On Apr 27, 2004, at 2:38 PM, Will Glass-Husain wrote:
Hi,
I'd like to address this issue. Any comments on my suggested approach?
Specifically, I thought we could allow RuntimeInstance to take a live
instance of a resource loader
does not depend on a JNDI connection.
The main problem is how to manage a ResourceLoader with Spring and then
set it declaratively on its
VelocityEngine - rather than via properties.
suggested patch from Will Glass-Husain
Does this mean that you'd need to pass in an instance of a resource
Hi Jorge,
Try posting this to the list [EMAIL PROTECTED] That list is
devoted to answering user questions. This one is more oriented towards the
developers of Velocity (e.g. those creating the component, not the
developers using the component).
With your code example, you can set the
for just sending email, but a nice how-to about combining
Velocity and Spring.
http://theserverside.com/news/thread.tss?thread_id=24984
WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
oh, god.
Umm... let's just say this issue is surprisingly contentious. Check the
archives for two bouts of past vocal discussion.
WILL
- Original Message -
From: Inger, Matthew [EMAIL PROTECTED]
To: 'Velocity Developers List' [EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 8:20 AM
and recompilation of user code. (I think this is worth it). All
tests (old and new) work.
Best regards,
WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
, WILL
- Original Message -
From: Geir Magnusson Jr [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 12:15 PM
Subject: Re: Event Handler patch
On Apr 14, 2004, at 1:42 PM, Will Glass-Husain wrote:
Hi,
I've just posted
Fabulous. (and much needed).
Look forward to trying it out.
WILL
- Original Message -
From: Jason Gill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 13, 2004 8:17 AM
Subject: Velocity Dreamweaver Extension
I have created an extension for Macromedia Dreamweaver that
The patch might be out of date. I wrote it against CVS head at the time,
but there may have been a few changes since. It worked for me at the time
(I think I wrote some test code).
Can't comment on the timing; that's up to the committer.
WILL
- Original Message -
From: Luis Antonio
But looks like ASTStop (org.apache.velocity.runtime.parser.node)
is missing.
oops. Look like I left it out of the upload. I don't have it any more,
either. It was pretty basic, though.
Let me put a new patch together in the next few days.
WILL
- Original Message -
From: Luis
]
Sent: Monday, April 05, 2004 6:36 PM
Subject: Re: #stop will be fixed?
On Apr 5, 2004, at 3:59 PM, Will Glass-Husain wrote:
But looks like ASTStop (org.apache.velocity.runtime.parser.node)
is missing.
oops. Look like I left it out of the upload. I don't have it any
more,
either
Just a quick note. I thought JNI could do this. It's been 2 years since I
last coded this, though, so I might be wrong. lNo need to get into a
detailed discussion on this point. I recommend the Sun book for the
definitive how-to on JNI (Java(TM) Native Interface: Programmer's Guide and
Hi,
I just wanted to note that we've been using the decimal patch internally for the last
few weeks (with a slight change to integer division per the recent discussion), and it
seems to be holding up well. I found one bug so far, which I've just included in
Bugzilla.
Anyone else have a
Hmm... interesting exchange, and not entirely a repeat of the previous one.
Three quick thoughts. Maybe this is an opportunity for consensus?
(1) Seems to me that automatic discovery of C-L would be a good compromise.
(2) It'd be nice if the docs had a clear recipe for setting up a log for
those
it doesn't already exist
if (session.getAttribute(SESSION_MUTEX_ATTRIBUTE) == null)
session.setAttribute(SESSION_MUTEX_ATTRIBUTE , new Object( ));
}
There is no performance drawback at all.
- Original Message -
From: Will Glass-Husain [EMAIL PROTECTED
Hi,
Ignore that last email please, my mailer's apparently messed up. (the
message is a few days old and is out of order).
Thanks,
WILL
- Original Message -
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Friday, January 30, 2004 7:44 AM
Nice. Elegant little bit of code. I'll have to update my version.
WILL
- Original Message -
From: Nathan Bubna [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Friday, January 30, 2004 7:51 AM
Subject: Re: [veltools] session tool init and synchronization
Hi Nathan,
I can't comment on whether or not the synchronization should occur (not
being a regular Tools user), but I hit this problem in a project and got
stung when I falsely assumed you could synchronize using the session object.
This was a particular concern for me with web apps using frames,
.
WILL
- Original Message -
From: Nathan Bubna [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 4:12 PM
Subject: Re: [veltools] session tool init and synchronization
Will Glass-Husain said:
I can't comment on whether
Seems great. Glad to see some momentum.
How about considering other mostly backwards compatible changes to syntax
for 2.0.
(1) optional braces around directives, e.g. #{else}
Which removes the problem of
#if($test)something#elsesomethingdifferent#end
patch available:
Whoa, slow down
Is this really necessary? I thought we were all committed to bringing
floating point math into Velocity? Should we rehash all the arguments
for/against? Basic argument... anything you can do with integers, you
should be able to do with floating point numbers. Many of us
[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 12:19 AM
Subject: Re: integer division... some data
Dave Newton said:
On Tue, 2004-01-06 at 01:26, Will Glass-Husain wrote:
(a) division is a useful technique for calculating column widths
(this
was
the only use)
(b) this type of division
As the main advocate (and author) of TemplateNumber, this is ok with me.
I'd still like it, but it's more important to get consensus and a commit on
the basic f.p. functionaility.
WILL
- Original Message -
From: Nathan Bubna [EMAIL PROTECTED]
lastly, the TemplateNumber stuff is
Ilkka:
IMO, it's easier to justify template authors why to use 2.0 to get a
certain mathematical result than to tell them to use $result.intValue()
to make a successful method call.
Doesn't Peter's patch handle this automagically?
WILL
- Original Message -
From: Ilkka Priha [EMAIL
Hi,
Tim suggested the following:
Maybe Will could parse a whole bunch of his users *.vm files to get
stats on / usage and use cases? Might help to see if #1 would truly
break anything or maybe not.
Well, I did a grep through about 50 Velocity based apps, and to my surprise
I have three
of issues before. Anyone else
ever play with this?
Best,
WILL
- Original Message -
From: Will Glass-Husain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 05, 2004 10:26 PM
Subject: integer division... some data
Hi,
Tim suggested the following:
Maybe Will could
.
WILL
- Original Message -
From: Geir Magnusson Jr [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 5:32 AM
Subject: Re: improving ease of use for template writers
On Jan 3, 2004, at 2:26 PM, Will Glass-Husain wrote:
Hi,
I've been thinking
Hi,
I was flipping through the recent discussion now and this past summer (June
to July) on the integer division issue. I think the issue is fairly clear
cut, a decision just needs to be made, Here's a summary of the options.
Does this seem fair?
(1) Make the / operator mean a
Actually, there are a lot of real world situations involving integer
division. How about a card game in which you deal 52 cards to 5 players?
(or remember King Solomon, the two women and the child). Although I suspect
most people think of calculator-style division first.
But before we get into
: Jonathan Revusky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 04, 2004 1:10 PM
Subject: Re: integer division issue
Will Glass-Husain wrote:
Actually, there are a lot of real world situations involving integer
division. How about a card game in which you deal 52 cards to 5
not like this will hold anyone back. And to make it fair, half
way through the test we switch to 5/2 = 2.5 as to give that a fair
shake.
geir
Regards
Peter
geir
On Jan 4, 2004, at 2:26 PM, Will Glass-Husain wrote:
Hi,
I was flipping through the recent discussion now
,
finally we got it together - the infamous decimal number patch
evolved
and here is the (hopefully) final patch to enable decimal numbers (and
byte, short, long and BigInteger btw.) in velocity. This patch
contains:
- Decimal literals (by Will Glass-Husain)
Now you can type things
, 2004 9:41 AM
Subject: Re: [PATCH] New Arithmetic Engine
On Jan 3, 2004, at 12:29 PM, Will Glass-Husain wrote:
Woo-hoo! That's really great, Peter. Thanks for doing this.
The purpose of the TemplateNumber interface is to allow other objects
to be
treated as Number in arithmetic
You can't implement Number, it's an abstract class. You could extend it, I
guess. But I think interfaces are much preferable to extending a base
class.
WILL
- Original Message -
From: Nathan Bubna [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Saturday,
Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
What about NOT for ! ?
WILL
- Original Message -
From: Geir Magnusson Jr [EMAIL PROTECTED]
To: Velocity Developer's List List [EMAIL PROTECTED];
Velocity Users List [EMAIL PROTECTED]
Sent: Tuesday, December 30, 2003 4:33 AM
Subject: More changes for comment : alternatives for || etc
Great. This really makes the Velocity tool much more usable for template
designers. Particularly those who use automated tools (such as DreamWeaver)
which tend to insert newlines more or less indiscriminately.
WILL
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
) and UberspectImpl.VelMethodImpl
(to adapt parameter values) would make this work. But before I changed this
code, I thought I'd stop and ask for comments.
Best, WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
2.3pre14 is out!
- robert
On 12 Nov 2003, at 00:12, Will Glass-Husain wrote:
I suggest you put it into Bugzilla. If its in the system, someone (I'm
sure) will fix it eventually.
:-)
WILL
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Velocity
I suggest you put it into Bugzilla. If its in the system, someone (I'm
sure) will fix it eventually.
:-)
WILL
- Original Message -
From: Dave Newton [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 3:48 PM
Subject: Minor bitch about
Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sounds good. As an aside, I'd be glad to help with the docs, probably when
it's closer to release time and we know what features are to be included.
WILL
- Original Message -
From: Geir Magnusson Jr. [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Sunday,
]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Sunday, November 09, 2003 2:36 PM
Subject: Re: VelocityServlet deprecated?
On Sunday, November 9, 2003, at 05:03 PM, Will Glass-Husain wrote:
Sounds good. As an aside, I'd be glad to help with the docs, probably
when
it's closer
, at 01:46 PM, Will Glass-Husain wrote:
Hi Geir,
Sorry if I'm a little inexperienced with the bugzilla policies. As I
understand you, it's not sufficient to test bugs against CVS head, but
they
should be tested against a past release? Do we intend to issue another
version for 1.3
Hi Geir,
Sorry if I'm a little inexperienced with the bugzilla policies. As I
understand you, it's not sufficient to test bugs against CVS head, but they
should be tested against a past release? Do we intend to issue another
version for 1.3? In any case, wouldn't it make more sense to test
Thanks, Nathan. (replying to the dev list)
Hadn't thought about this, but you're right same issue would also apply to
#stop and #end. (The other directives without a ( following). For some
reason I always get questions about #else, though.
Optional braces around directives do seem a bit
?
WILL
- Original Message -
From: Geir Magnusson Jr. [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 3:51 AM
Subject: Re: patch requests
On Sunday, October 26, 2003, at 12:33 AM, Will Glass-Husain wrote:
http://nagoya.apache.org/bugzilla
, 2003 8:49 AM
Subject: Re: input event cartridge
On Tuesday, October 28, 2003, at 09:05 AM, Will Glass-Husain wrote:
Yay! I've been using this patch on my private build for some time
now, and
find it quite useful.
What are you thinking regarding your comment on configuring an event
hand raised
I use multiple Velocity instances in the same VM. I have a turbine based
web app that uses Velocity to present web pages. In some of the actions
(e.g. Create Account), the app uses a second instance of Velocity Engine
to pre-process textual information (e.g. default account
/show_bug.cgi?id=22419
Fixes bug in ClassPathResourceLoader
WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
the whole floating point stuff got
rolling. Some people (me included and mostly Will Glass-Husain)
discussed about the implementation details. What we have until now:
- My (old) Numbers-Patch
- Will's decimal literals
- many ideas ;)
I'd like to put it all together (including a nicer implementation
If you've a love/hate with Wiki, write a document in xdoc format, then use
my nifty xdoc-to-wiki converter!
Available (where else)
http://nagoya.apache.org/wiki/apachewiki.cgi?AnakiaWikiStyleSheet
WILL
- Original Message -
From: Geir Magnusson Jr. [EMAIL PROTECTED]
To: Velocity Users
Geir,
Glad you're doing better.
What's new in the proposed 1.4 release? I know there's been some
refactoring of the introspector; has there been any significant changes from
the user perspective?
Maybe we should get Peter's number patch in (almost ready, last I heard),
and James map patch in
PROTECTED]
Sent: Thursday, July 24, 2003 12:47 AM
Subject: Re: quiet lately
Will Glass-Husain [EMAIL PROTECTED] writes:
I remain interested in helping to get the number patch in and maybe fix
some
of the stuff on Bugzilla. But I'm off on a business trip and vacation
for 2
weeks. When I get
fix some
of the stuff on Bugzilla. But I'm off on a business trip and vacation for 2
weeks. When I get back, I'll ask again if there's anything I can do to help
get the number patch ready.
Best, WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL
I agree, it seems odd not to have this capability. I'm generally against
property configuration of the language, we should probably just implement it
at some point.
I added the text of this email to bugzilla #20999, as it seemed to be
relevant.
Best, WILL
- Original Message -
From:
Hi Peter,
Thanks for your contribution!
Your best bet is to create a bugzilla report, and attach the patch.
(remember to do it in diff -u format). This way it will be publically
available and others can look at it and comment as well. If you've got any
questions about how to do this, please
would be a morale booster for the list. (probably even a
negative would be helpful, as we could then talk about other options).
Best, WILL
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
repository
but aside from the grab doesn't do much else.
Is there anything else you can suggest to generate the diff package or
post it
another way?
Thanks again,
Peter
On Tue, 8 Jul 2003 10:34:50 -0700, Will Glass-Husain wrote:
Hi Peter,
Thanks for your contribution!
Your best
to generate the diff package or
post it
another way?
Thanks again,
Peter
On Tue, 8 Jul 2003 10:34:50 -0700, Will Glass-Husain wrote:
Hi Peter,
Thanks for your contribution!
Your best bet is to create a bugzilla report, and attach the patch.
(remember to do it in diff -u format
Hi,
If you put a patch on the wiki, remember to bracket it with nowiki
/nowiki so it doesn't get interpreted. You might want to use a PRE tag
as well.
WILL
- Original Message -
From: Tim Colson [EMAIL PROTECTED]
To: 'Velocity Developers List' [EMAIL PROTECTED]
Sent: Thursday, July
: Thursday, July 03, 2003 9:45 AM
Subject: Re: Velocity Numerics [PATCH]
Will Glass-Husain wrote:
I'm not sure I see a downside to including this (ability to compare
numbers
and Strings). Template designers are not programmers. When they hit
problems (particularly those involving types), it'd
in fantastic ways. It's
lateral, but the way it renders is very nice. It gets my personal seal of
approval.
Too Much Innovation
editorial by Joseph Ettinger
http://www.sys-con.com/java/article.cfm?id=2044
Best,
WILL
___
Forio Business Simulations
Will Glass
of adding better whitespace handling to Velocity. Getting
rid of excess carriage returns made the Wiki stylesheet almost unreadable in
part!
___
Forio Business Simulations
Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com
Hi,
It might be a little forward of me, but I went ahead and typed a short note
for the newsletter.
If any of the other Velocity developers have an objection, or have anything
to add, please go and edit the Wiki.
Nathan-- perhaps you want to add a little about Velocity Tools?
Cheers,
WILL
Hi Claude,
Thanks for the thought, and appreciate your input.
I think making 5 / 2 == 2 is a big mistake. It may make sense to
programmers. But the whole rationale behind this patch is that the typical
template designer is not a programmer, and makes no distinction between 5
and 5.0.
Hi Timo,
As I just delved into the parser code and it's fresh in my mind, let me
throw out two ideas...
(1) Write a custom directive #IfBoolean that would operate as described.
The benefit is that you could use the official version of Velocity,
updating as new releases come out.
(2) Alter the
Matias,
Thanks for your input. I'll revise the syntax to include an optional
initial +. I like the syntax // for div, personally.
The problem with Matias floating point syntax suggestion is that it doesn't
distinguish between a float and an integer. The reason we need to separate
these is
Hi Tim,
Here's a link to JavaCC.
http://javacc.dev.java.net/
I just learned how to modify the core language syntax recently. Here's a
quick set of steps. Maybe one of us should write a how-to for new
Velocity developers.
(1) Modify Parser.jjt to change the syntax of the language
(2) Use
[EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 4:11 PM
Subject: Re: Velocity Numerics: Floating Point Literals
Will Glass-Husain wrote:
Hi,
I put all the number patches together and installed it on our dev server
so
my colleagues could try
, WILL
- Original Message -
From: Peter Romianowski [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Saturday, June 28, 2003 4:11 PM
Subject: Re: Velocity Numerics: Floating Point Literals
Will Glass-Husain wrote:
Hi,
I put all the number patches
,
despite the conflict with the subtract operator - so I see this as
similar.
WILL
- Original Message -
From: Will Glass-Husain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 27, 2003 3:41 PM
Subject: Re: Velocity Numerics: Floating Point Literals
Hi,
Here's some code
Bubna wrote:
James Taylor said:
On Thu, 2003-06-26 at 18:08, Will Glass-Husain wrote:
...
For div I think we have these options
5 \ 2
5 div 2
div (5,2)
Another option, python uses 5 // 2 for floor division.
+1
of the suggestions so far, i like that one best
Hi,
Just a quick note. If anyone tries to install the patch for TemplateNumber,
be sure to use the -R option as I messed up did it backwards!
Have a great weekend, everyone.
WILL
- Original Message -
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL
I'm not sure I see a downside to including this (ability to compare numbers
and Strings). Template designers are not programmers. When they hit
problems (particularly those involving types), it'd be nice if most things
just worked.
I can see a few counter points. It won't work well for
]
Sent: Thursday, June 26, 2003 11:47 AM
Subject: RE: Velocity Numerics [PATCH]
Will Glass-Husain said:
I'm not sure I see a downside to including this (ability to compare
numbers and Strings).
-1
Hmm... I'm fond of Perl, but string to number comparisons would, imho,
increase
the operators work with Strings and Dates by
default, which will be nice.
WILL
- Original Message -
From: Peter Romianowski [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 12:32 PM
Subject: Re: Velocity Numerics [PATCH]
Will Glass-Husain
Nathan:
I agree with you in principle, but Peter's already modifying the relevant
classes (ATGTNode, etc). I suspect this will fit right in with little addtl
effort. (as did my TemplateNumber patch). Seems appropriate to revisit the
comparison and arithmetic operators in general, as long as we
Peter,
I agree with you on the BigDecimals. Get it working with the right
functionality, and refactor the implementation later.
What do we need to do with the numerics patch to have it be good enough to
submit officially for CVS access? It'd be nice if the addition was
comprehensive enough
Subject: Re: Velocity Numerics [PATCH]
Will Glass-Husain wrote:
Peter,
I agree with you on the BigDecimals. Get it working with the right
functionality, and refactor the implementation later.
What do we need to do with the numerics patch to have it be good
enough to
submit officially
colleagues were so annoyed).
WILL
- Original Message -
From: Peter Romianowski [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 2:52 PM
Subject: Re: Velocity Numerics [PATCH]
Will Glass-Husain wrote:
Peter,
Sounds good on the items listed
John,
Wow-- thanks for the head start!
I agree, no for hex and octal literals (for the moment at least). Adds
complexity and there's just not the same compelling need by the typical
template writer.
WILL
- Original Message -
From: John J. Allison [EMAIL PROTECTED]
To: [EMAIL
: Wednesday, June 25, 2003 9:28 AM
Subject: Re: Velocity Numerics
Will Glass-Husain wrote:
Hi,
Another suggestion for the number patch -- allow comparison between
Numbers
and other objects (e.g. Strings). It's transparent to the user,
simplifies
template writing, and would fit right
Peter,
I'm still playing with the numerics patch. Is there a reason that you left
out not equals (ASTNENode.java) or was it just an oversight?
Best,
WILL
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
No problem. Took me 5 minutes to add it in, cutting pasting your previous
code.
WILL
- Original Message -
From: Peter Romianowski [EMAIL PROTECTED]
To: Velocity Developers List [EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:24 AM
Subject: Re: Velocity Numerics
Peter,
I'm
701 - 800 of 822 matches
Mail list logo