velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-velocity Wiki] Trivial Update of "VelocityFAQ" by DavidBoden
Date Wed, 11 Jan 2006 11:09:22 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-velocity Wiki" for change
notification.

The following page has been changed by DavidBoden:
http://wiki.apache.org/jakarta-velocity/VelocityFAQ

------------------------------------------------------------------------------
  <extension name="Shared RCP Framework" href="$context/rcp/RcpSharedWebStart.jsp"/>
  }}}
  
- Backslash escaping like \$$context/rcp/RcpSharedWebStart.jsp doesn't make the initial $
appear.
+ Backslash escaping like \$$context/rcp/!RcpSharedWebStart.jsp doesn't make the initial $
appear.
  
+  * A: Help appreciated.
+ [[BR]]
   * Q: How can conditionals be nested?  For example, in the equivalent of "if($a){ if($b){
b1; } else{ b2; } if($c){ c1; } else { c2; } }", where do the '#end's go?
   * A: Exactly where you put the closing parentheses in java.  So your example would be "#if(
$a )#if( $b ) b1 #else b2 #end #if( $c ) c1 #else c2 #end#end".  Pretty easy.
  [[BR]]

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Mime
View raw message