frames in velocity

2005-03-15 Thread Tarun Narang
how do we use frames in velocity?

Re: Problem with null in velocity template

2005-03-21 Thread Tarun Narang
hi barbara u can use $!project instead of using $project if this variable has a null value. Regards Ktarun - Original Message - From: Barbara Baughman [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Saturday, March 19, 2005 12:24 AM Subject: Re: Problem

Re: How to retreive template node value

2005-03-23 Thread tarun Narang
hi to retrieve the value u must have to put that variable value in hidden variable in the VTL page input type=hidden name=name value=$!name and in java file u must have to write name = ((HttpServletRequest) data.getRequest()) .getParameter(name); Regards Tarun - Original

How to run for loop

2005-03-23 Thread tarun Narang
hi I want to run a for loop for a number of times in velocity page how can i Thanks T - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to run for loop

2005-03-23 Thread tarun Narang
, Dimitrios - Original Message - From: tarun Narang [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Wednesday, March 23, 2005 2:06 PM Subject: How to run for loop hi I want to run a for loop for a number of times in velocity page how can i

How to convert string in int

2005-03-23 Thread tarun Narang
Hi Can anyone tell me that how the string can be converted into int in VTL I am recieving the value in count variable through getRequest but this variable has a string value and i have to add some int value in this count variable like $count + 5. #set ($count =

Re: How to run for loop

2005-03-23 Thread tarun Narang
, 2005 8:15 PM Subject: Re: How to run for loop #set($count = 5) #foreach($i in [0..$count]) ##Do your stuff here #end - Original Message - From: tarun Narang [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Wednesday, March 23, 2005 2:42 PM

Re: How to run for loop

2005-03-23 Thread tarun Narang
-Original Message- From: tarun Narang [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 23, 2005 9:42 AM To: Velocity Users List Subject: Re: How to run for loop Thanks but my problem is that i dont want to use the object or ArrayList i want to run the loop like in java as for(int i=0 ;i=5; i

Re: How to convert string in int

2005-03-23 Thread tarun Narang
, March 23, 2005 11:37 PM Subject: Re: How to convert string in int tarun Narang [EMAIL PROTECTED] wrote: Can anyone tell me that how the string can be converted into int in VTL I am recieving the value in count variable through getRequest but this variable has a string value and i have to add

Re: How to convert string in int

2005-03-24 Thread tarun Narang
: ## create an integer instance to be used as a tool #set( $Integer = 0 ) ##... ## retrieve your number string #set( $countString = $!data.getRequest().getParameter(countRow) ) ## convert it to an Integer #set( $count = $Integer.parseInt($countString) ) Cheers, :) Christoph tarun Narang

Re: Embedding an temporary Picture into an Template

2005-03-24 Thread tarun Narang
HI I want to send some id value from one velocity page to another VTL page when the user click on link(SET). Below is the code which i am using i want to set some variable there(in this href) so that i will be able to get that variable value on the next VTL page a

how to send the values

2005-03-24 Thread tarun Narang
HI I want to send some variable value from one velocity page to another VTL page when the user click on link(SET). Below is the code which i am using i want to set some variable there(in this href) so that i will be able to get that variable value on the next VTL page a

RE: how to send the values

2005-03-24 Thread Tarun Narang
again, I don't think I received it. Multi-posting really discourages people from responding. -Original Message- From: tarun Narang [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 4:22 AM To: Velocity Users List Subject: how to send the values HI I want to send

Re: Comparing null...

2005-03-30 Thread tarun Narang
hi shashi try this too #if(!$type) ...statements #end - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Wednesday, March 30, 2005 10:29 PM Subject: Re: Comparing null... Hi Sashi, Can we compare null