[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    =?iso-8859-1?Q?FW:_Velocity_don=B4t_see_tools?=
From:       "=?iso-8859-1?Q?Marin=F3_A._J=F3nsson?=" <marinoj () centrum ! is>
Date:       2004-05-27 19:40:48
Message-ID: 001701c44422$85d23820$3091d082 () violator
[Download RAW message or body]

for completeness :)

-----Original Message-----
From: Rodrigo Oliveira [mailto:rodrigo.velocity@icorp.com.br] 
Sent: 27. maí 2004 19:37
To: Marinó A. Jónsson
Subject: Re: Velocity don´t see tools


Very thanks!!!

Now it´s Perfect!!!

[]´s

Rodrigo Oliveira

----- Original Message ----- 
From: "Marinó A. Jónsson" <marinoj@centrum.is>
To: "'Velocity Developers List'" <velocity-dev@jakarta.apache.org>;
"'Rodrigo Oliveira'" <rodrigo.velocity@icorp.com.br>
Sent: Thursday, May 27, 2004 4:06 PM
Subject: RE: Velocity don´t see tools


ok start by removing the ToolLoader tool from toolbox.xml and changing the
param-names in web.xml from 'toolbox' to 'org.apache.velocity.toolbox' and
'properties' to 'org.apache.velocity.properties' respectively (without the
quotes of course).

btw. you should direct these kind of questions to the user mailing list (
velocity-user@jakarta.apache.org ) as they have nothing to do with Velocity
development ;)

cheers,
Marinó

> -----Original Message-----
> From: Rodrigo Oliveira [mailto:rodrigo.velocity@icorp.com.br]
> Sent: 27. maí 2004 18:54
> To: 'Velocity Developers List'
> Subject: Re: Velocity don´t see tools
>
>
> Velocity Tools 1.1
>
> velocity-dep.1.3.1
>
> I think this.
>
>
> ----- Original Message -----
> From: "Marinó A. Jónsson" <marinoj@centrum.is>
> To: "'Velocity Developers List'" <velocity-dev@jakarta.apache.org>;
> "'Rodrigo Oliveira'" <rodrigo.velocity@icorp.com.br>
> Sent: Thursday, May 27, 2004 3:42 PM
> Subject: RE: Velocity don´t see tools
>
>
> What version of Velocity Tools are you using?
>
> Marinó
>
> > -----Original Message-----
> > From: Rodrigo Oliveira [mailto:rodrigo.velocity@icorp.com.br]
> > Sent: 27. maí 2004 18:40
> > To: velocity-dev@jakarta.apache.org
> > Subject: Velocity don´t see tools
> >
> >
> > Hi,
> > I am trying to get the Velocity Tool to work but the code
> that i write
> > in .vm file is writed in browser. All JARS are copied to my lib 
> > folder. The code of files is here.
> >
> > Help-me Please!!! :)
> >
> > WEB.XML
> > --------------------------------------------------------------
> > --------------
> >    <servlet>
> >      <servlet-name>velocity</servlet-name>
> >
> > <servlet-class>org.apache.velocity.tools.view.servlet.Velocity
> > ViewServlet</s
> > ervlet-class>
> >      <init-param>
> >         <param-name>toolbox</param-name>
> >         <param-value>/WEB-INF/toolbox.xml</param-value>
> >   </init-param>
> >   <init-param>
> >    <param-name>properties</param-name>
> >    <param-value>/WEB-INF/velocity.properties</param-value>
> >   </init-param>
> >   <load-on-startup>10</load-on-startup>
> >  </servlet>
> > --------------------------------------------------------------
> > --------------
> >
> > TOOLBOX.XML
> > --------------------------------------------------------------
> > --------------
> > <?xml version="1.0"?>
> >
> > <toolbox>
> >   <tool>
> >      <key>toolLoader</key>
> >      <class>org.apache.velocity.tools.tools.ToolLoader</class>
> >   </tool>
> >   <tool>
> >      <key>link</key>
> >      <class>org.apache.velocity.tools.struts.LinkTool</class>
> >   </tool>
> >   <tool>
> >      <key>msg</key>
> >      <class>org.apache.velocity.tools.struts.MessageTool</class>
> >   </tool>
> >   <tool>
> >      <key>errors</key>
> >      <class>org.apache.velocity.tools.struts.ErrorsTool</class>
> >   </tool>
> >   <tool>
> >     <key>form</key>
> >     <scope>request</scope>
> >     <class>org.apache.velocity.tools.struts.FormTool</class>
> >   </tool>
> >   <tool>
> >     <key>date</key>
> >     <scope>application</scope>
> >     <class>org.apache.velocity.tools.generic.DateTool</class>
> >   </tool>
> >   <tool>
> >      <key>math</key>
> >      <class>org.apache.velocity.tools.tools.MathTool</class>
> >   </tool>
> > </toolbox>
> > --------------------------------------------------------------
> > --------------
> >
> >
> >
> > HOME.VM
> > --------------------------------------------------------------
> > --------------
> > <b>Data de Cadastro:</b> $date.medium
> > --------------------------------------------------------------
> > --------------
> >
> > Rodrigo Oliveira
> > rodrigo.velocity@icorp.com.br
> > rodrigope2003@hotmail.com
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>






---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic