> > #foreach ($info in $infos)
> > <tr>
> > <td>$info.getCode()</td>
> > <td>$info.getFullName()</td>
> > #end
> >
> > #foreach ($info in $infos)
> > <tr>
> > <td>$info.getFieldByName("code")</td>
> > <td>$info.getFieldByName("fullName")</td>
> > #end
> 
> Also, before you go down the route you are going (which I can 
> see clearly),
> I *highly* suggest that you read my Pull vs. Push document.
> 
> <http://java.apache.org/turbine/pullmodel.html>

Ok, yeah, what I'm proposing fits within your Pull Model.
I hadn't gone that far in my thoughts; my requirements were
born from the fact that my app will have at least one other
family of data services where I MUST access each column by
name, because these services don't provide any torque-like
"get*()" methods. Hence, I thought it would be nice to
provide the template developer with a single way of
accessing fields from the template.

You voted +1, Sean voted +0, I'm (of course) +1. This means
we need one extra +1, right? Anybody? Should I write a more
formal proposal for how this would be implemented?

> -jon


-- 
Gonzalo A. Diethelm
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to