--- Tomasz Wrona <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I've got following problem with Webwork and
> Velocity:
> I'm creating a page with top and link navigation and
> the content. I've got
> the link navigation as template, which is included
> into the page. Problem is
> when in that template I'll use a VTL variable. Then
> template is included as
> static text and the variable is not resolved.
> I've tried to execute an action in template but then
> in result variable I've
> got the action result and not the corresponding
> template output.

Did you #include() or #parse() your template? 
#include() just includes everyting verbatim
withoutlooking inside. 

> How can I make this work? Is it possible to use an
> action in template that
> return corresponding template output?
> 


Action execution returns result ( forward name ). 
If you like to execute action and place result into
template, you got to use #includeservlet() 


regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to