when returning a single record from a doSelect for display in a template, 
can anyone suggest a way of making the fields accessible against the 
object.  If using a vector, one would have to use a for each loop to return 
an object to assign input parameters against, or is there an easier 
way?  If there isn't, then instead of returning Vector from a doSelect, 
what would be the alternative?  ie. instead of context.put("clients_list", 
getClients());, I'd like context.put("client", getClient()); - to be 
referenced directly in the template: $client.Name.

thanks
Emile



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to