what do you mean by "dynamic template"?
On 11/28/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Thanks alot! Is this possible to do with dynamic templates?
I havent seen a way for getting the Template object from a dynamic
template.
Peter Larnholt
-----Original Message-----
From: Nathan Bubna [mailto:[EMAIL PROTECTED]
Sent: den 28 november 2006 17:44
To: Velocity Developers List
Subject: Re: Extracting tokens
http://svn.apache.org/repos/asf/jakarta/velocity/engine/trunk/experiment
al/templatetool/
On 11/28/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm a velocity newbie. We have a portal framework with a propretary
MVC.
> We are thinking of using velocity for rendering the views. In our
> publishing tool we need to extract all defined variables from a
> template. Reading the documentation I cannot find this. A lot of
> information exists to do the other way around (extract objects into
> Context variables).
>
> Anyone that could give me some pointers.
>
> What I'm looking for really is someting like; variables[] =
> Velocity.getTemplate("mytemplate.vm").extractAllPossibleVariableNamesI
> nT
> emplate();
>
> Cheers.
> Peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]