hi 
   I am very new to Jakarta Velocity.I search for the syntax to include .inc
file  in my .vm file .I try with the following syntax
#include("/base.inc")  .This doesn't works.In my "base.inc" file contain all
javascript variables for validation.so give me any solution for including
this file 
In "base.inc" i have the following code

<fmt:setBundle
basename="wayzup.web.corporate.resources.ApplicationResourcesCompany" />
<script type="text/javascript">
var Thisisarequiredfield="<fmt:message
key="js.error.Thisisarequiredfield"/>";
var Pleaseenteravalidemailaddress="<fmt:message
key="js.error.Pleaseenteravalidemailaddress"/>";
var Thisisarequiredfield="<fmt:message
key="js.error.Thisisarequiredfield"/>";
var Pleaseusenumbersonlyinthisfield="<fmt:message
key="js.error.Pleaseusenumbersonlyinthisfield"/>";
var Pleaseuselettersonlyazinthisfield="<fmt:message
key="js.error.Pleaseuselettersonlyazinthisfield"/>";
</script>
-- 
View this message in context: 
http://www.nabble.com/how-to-include-*.inc-file-in-a-.vm-file-tp18976546p18976546.html
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to