List Info

Thread: Plugin Return Values




Plugin Return Values
user name
2006-11-28 15:36:38
Thanks, Steven and David... that's what I needed to know. It
works! (and by
that I mean, I see the string "Hello, World!" on
my blog. Whew! On to better
things. 
Thanks,
Dan

> -----Original Message-----
> 
> But, to answer your question, plugins have access to
the context which is
> just a HashMap. All the key/value pairs here are made
available to the
> templates. So if you did something like:
> 
>     context.put("SOME_KEY",
"SOME_VALUE");
> 
> You'd be able to use the following in your template
(e.g. For Velocity):
> 
>     The value of SOME_KEY is: $SOME_KEY.
> 
> That should print:
> 
>     The value of SOME_KEY is: SOME_VALUE.
> 
> 


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )