velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@binarix.com>
Subject Re: JSP to VTL
Date Thu, 04 Oct 2001 01:47:07 GMT
"Soriano, Jaume" wrote:
> 
> 
> -----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();
> %>

Void return values will appear in resulting output as nothing. So, this
should be OK:

$yapper.performSomeAction()

Although, if you're using MVC, this should not be in your template.

Bojan

Mime
View raw message