Announcement Announcement Module
Collapse
No announcement yet.
Using Long in velocity templates Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using Long in velocity templates

    I know this is more of a velocity question, but has anyone figured out a good way to deal with Long objects in velocity templates? If you have the following velocity code:

    Code:
    ${myNumber > 0}
    This works if myNumber is an Integer, but I haven't found any way to use greater than or less than with a Long. I am using a Long to represent the PK of objects that model database rows. This seems to be common practice, so I figure there has to be some way to use greater and less than with velocity templates.

  • #2
    Looks like a bug. Can't think of any good reason it wouldn't work.

    Comment

    Working...
    X