KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In pure Java, I could do this: value = (a > b) ? a : b; Whereas in Velocity, the long form would be: #if($a > $b) #set($value = $a) #else #set($value = $b) #end Is there a short form in Velocity? I want to be able to do an if/otherwise inline.
Tags (comma-separated)
Save Edits
Cancel