velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soriano, Jaume" <JSori...@es.wanadoo.com>
Subject JSP to VTL
Date Wed, 03 Oct 2001 10:12:06 GMT
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello again: 
one 'big' doubt...
I know how to transform a JSP code like 

<%
      repId = yapper.getParticipantId();
%>

to Velocity, but, what about the following?

<%
	yapper.performSomeAction(); //it returns 'void'
	other_var = yapper.afterActionPerformed();
%>

...i mean, is possible to invoke a method from VTL 
that is returning nothing but is needed for subsequent 
code?

Thanks in advance, regards:
	
Jaume

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBO7rlUGA01fRj7GEkEQLKFwCcDZcDuxBFCpHDfEXmbBqVOgsLCikAnjhd
lenR1m7dSa8C2sq4DVcl+ZH8
=n/vq
-----END PGP SIGNATURE-----

Mime
View raw message