velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject parsing a page after a button is clicked
Date Fri, 22 Jul 2005 05:04:36 GMT
I am a newbie so i apologize for any stupidity on my part.
Basically, this is my scenario:
I have a vm file with a tr with some velocity statements, call it tr1...and it 
also contains some  HTMl.
then, in a separte vm file, the user is to click a button, then tr1 will show, 
with the appropriate things happening based on the logic. my understanding of 
the limitations of velocity may not be the best, but i know you cannot execute 
a #parse statement within a script.  
I have tried several things, none of which give the desired result...either 
end up showing the row prematurely or not at all. 
I would appreciate any suggestions or any suggested readings..i have read the 
velocity user guide with no results.
this is the actual code:

vm file #1...this is the first page

<tr id="tr2"  >

<form name="navBarStart">
<input name="start" type="button" value="START"  style='width: 80px;'
OnClick=	"

after i click the button, i should show this:

 ##=============== SET UP QUESTION FORM ================#
 #set($setLink = $link.setAction("Delivery")) 
 #set($setLink = $setLink.setScreen("student,Deliver")) 
 #set($setLink = $setLink.setPage("student,Deliver.vm")) 
 <FORM name="Response" action="$setLink" method="get" autocomplete="off">
  <tr class="tr1" id="tr1" align="center">


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message