Re: [PW-dev] Template Toolkit concept
Status: Alpha
Brought to you by:
spadkins
From: Stephen A. <ste...@of...> - 2001-06-12 11:21:48
|
At 10:25 AM 6/11/2001 -0400, you wrote: >> At 11:09 AM 6/6/2001 -0400, Stephen Adkins wrote: >> >At 09:53 AM 6/6/2001 -0400, Jay Lawrence wrote: ... >> In Java I am used to JSPs and we code widgets using taglibs. So the >widgets >> are objects, but then there is a widget taglib that can display a widget. >> >> <widget id='fname'/> >> >> in JSP parlance for example. > >So, for example, with Template Toolkit might we have something like: > > [% WIDGET fname %] > >Which would render the widget in place - and of course you could do things >like [% WIDGET fname.value('Jay') %] if you wanted to set it in your >template code. Jay, Have you written any Template Toolkit specific driver yet to do this? Or is this example just theoretical? Stephen |