You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jeremy Cowgar <jc...@cowgar.com> on 2003/05/08 20:56:03 UTC

$page and $link ... where can I find the docs?

Where can I find the docs for the useage of the $page and $link values with 
Velocity? (I am assuming these are generated by Turbine, not velocity).

Thanks,

Jeremy


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


RE: $page and $link ... where can I find the docs?

Posted by Quinton McCombs <qm...@nequalsone.com>.
The class names for these tools are defined in your TR.props.  Look at
the javadocs for the appropriate classes.

--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:qmccombs@NequalsOne.com
http://www.NequalsOne.com 

> -----Original Message-----
> From: Jeremy Cowgar [mailto:jc@cowgar.com] 
> Sent: Thursday, May 08, 2003 1:56 PM
> To: turbine-user@jakarta.apache.org
> Subject: $page and $link ... where can I find the docs?
> 
> 
> Where can I find the docs for the useage of the $page and 
> $link values with 
> Velocity? (I am assuming these are generated by Turbine, not 
> velocity).
> 
> Thanks,
> 
> Jeremy
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> 


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


RE: $page and $link ... where can I find the docs?

Posted by Chris K Chew <ch...@fenetics.com>.
> From: Jeremy Cowgar
> 
> Ah! Thanks for the quick reply. I was searching the 
> TurbineResorces.properties file and found the
> 
> services.VelocityService.default.page = VelocityPage
> 
> So I was trying to figure it out from that, and the VelocityPage has no 
> such attributes as background :)
> 
> Thanks for the help, got it now,

You are welcome.  $page and $link are pull tools, a concept that is incredibly helpful.  You can write your own pull tools and configure them in TR.props alongside $page and $link.

http://jakarta.apache.org/turbine/turbine-2.2.1/howto/pullmodel-howto.html

Chris



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


Re: $page and $link ... where can I find the docs?

Posted by Jeremy Cowgar <jc...@cowgar.com>.
On Thu, 8 May 2003 13:09:29 -0600, Chris K Chew <ch...@fenetics.com> wrote:

> They are Turbine classes configured by the Velocity Service.  Take a look 
> at your TurbineResources.properties for the lines
>
> tool.request.link=
> tool.request.page=
>
> These will tell you the classes that are used for those tools.  The best 
> way to learn about them is by perusing the javadocs and sourcecode:
>
> http://jakarta.apache.org/turbine/turbine-2.2.0/apidocs/
> http://jakarta.apache.org/turbine/turbine-2.2.0/xref/

Ah! Thanks for the quick reply. I was searching the 
TurbineResorces.properties file and found the

services.VelocityService.default.page = VelocityPage

So I was trying to figure it out from that, and the VelocityPage has no 
such attributes as background :)

Thanks for the help, got it now,

Jeremy


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


RE: $page and $link ... where can I find the docs?

Posted by Chris K Chew <ch...@fenetics.com>.
> From: Jeremy Cowgar
> 
> Where can I find the docs for the useage of the $page and $link 
> values with 
> Velocity? (I am assuming these are generated by Turbine, not velocity).

They are Turbine classes configured by the Velocity Service.  Take a look at your TurbineResources.properties for the lines

tool.request.link=
tool.request.page=

These will tell you the classes that are used for those tools.  The best way to learn about them is by perusing the javadocs and sourcecode:

http://jakarta.apache.org/turbine/turbine-2.2.0/apidocs/
http://jakarta.apache.org/turbine/turbine-2.2.0/xref/

Chris

 


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