Castle -- Nvelocity 循环,条件

循环:

#foreach ($i in [1..30])
     statement
  #end

条件:

(1)

#if()

#end

(2)

#if()

#elseif 

#else

#end

posted @ 2010-06-30 14:57  acles  阅读(751)  评论(1编辑  收藏  举报