how do we use frames in velocity?
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
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
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]
,
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
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 =
, 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
-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
, 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
:
## 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
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
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
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
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
14 matches
Mail list logo