You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Lester Ward <lw...@tagaudit.com> on 2003/01/16 00:53:32 UTC

RE: [HOWTO] Starting your project and database with TDK 2.2 and M aven

> How about putting this in the Wiki?

Sure. No problem.

Um... what the hell is a Wiki?

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: [HOWTO] Starting your project and database with TDK 2.2 and Maven

Posted by Johnny Quazar <qu...@bitblaster.com>.
I went ahead and formatted it in. The Wiki magic makes it look darn 
spiffy. And the text, well like I said on the TDK page, it looks like 
gold. Thanks Lester!

http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTDK/Starting_Project_With_TDK2.2_And_Maven


At 6:53 PM -0500 1/15/03, Lester Ward wrote:
>  > How about putting this in the Wiki?
>
>Sure. No problem.
>
>Um... what the hell is a Wiki?
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Passing Parameter from Action to .vm file

Posted by Bert Wendler <be...@confuture.com>.
Hi MIchael

if I get you right - you want to add a certain value to the context of the 
template. Maybe you should use the context-Object. This does exactly what one 
could guess by the name.  If you don't know how to use ist read:

http://jakarta.apache.org/turbine/turbine-2/howto/velocity-site-howto.html

Bye,
Bert.

On Friday 17 January 2003 04:25, Eigen Technology Pty Ltd wrote:
> Dear all,
>
> is it possible to pass parameter from an Action.class to a .vm file? Is
> so, how to do it?
>
> regards
> michael

-- 
Bert Wendler
confuture Innovationssysteme GmbH

Tel: 0341 / 55 00 89 - 31
Fax: 0341 / 55 00 89 - 90
Gohliser Strasse 8
04105 Leipzig

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


AW: Passing Parameter from Action to .vm file

Posted by Marc Lustig <ma...@marclustig.com>.
put it to the Velocity-context

in your class:
String object = "test";
context.put("var",object);

in your vm-template:
$var

output is:
test

Check the Howto's for details.

Marc

> -----Ursprüngliche Nachricht-----
> Von: Eigen Technology Pty Ltd [mailto:michael@eigentechnology.com]
> Gesendet: Freitag, 17. Januar 2003 04:26
> An: turbine-user@jakarta.apache.org
> Betreff: Passing Parameter from Action to .vm file
>
>
> Dear all,
>
> is it possible to pass parameter from an Action.class to a .vm file? Is
> so, how to do it?
>
> regards
> michael
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Passing Parameter from Action to .vm file

Posted by Eigen Technology Pty Ltd <mi...@eigentechnology.com>.
Dear all,

is it possible to pass parameter from an Action.class to a .vm file? Is
so, how to do it?

regards
michael




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [HOWTO] Starting your project and database with TDK 2.2 and M aven

Posted by Scott Eade <se...@backstagetech.com.au>.
On 16/01/2003 10:53 AM, "Lester Ward" <lw...@tagaudit.com> wrote:

>> How about putting this in the Wiki?
> 
> Sure. No problem.
> 
> Um... what the hell is a Wiki?
The answer is available in the wiki ;-)

    http://nagoya.apache.org/wiki/apachewiki.cgi?WhatIsAWiki

It is great because it allows everyone (including non-committers) to create
and maintain documentation without having to convert it to xdoc (though once
a document has stabilized it can be good to take this last step and add the
document to the "official" documentation set).

There is a small learning curve, but it is fairly simple.

BTW: Your doc looks pretty good - Now I need to find some time to read it in
detail.

Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
.Mac Chat/AIM: seade at mac dot com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>