Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

VTL - Can static method be invoked?  RSS feed

 
Zee Ho
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All ranchers:
From OGNL reference book, it supports the syntax like @class@method to do visit the method on class rather than object, is there any way to do the same things in velocity?

For the time being I wrap some static method invocation in to a non-utility class, and visit corresponding method on the object, but it works but looks very stupid, any one can light me in this aspect.
 
Zee Ho
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
up
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know what OGNL reference book is?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!