You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Fabio Daprile <fa...@wuerth-phoenix.com> on 2002/09/24 09:24:43 UTC

Re: How to use epprs

Hello,

to retrieve your fields simply call the get methods that are implemented 
in the Peers.
for example:

#foreach ($Item in $RaisedVers)
    $Item.getVersions().getDescription()<br>
#end

the beautiful thing is that you can call all the methods that the 
Javaclasses implement from your velocity Template.

Hope this helps.

Greetings

Fabio

apdas wrote:

>Hi friends,
>
>I have extracted all the rows in a particular table using the doSelect
>method and put them in a vector. But when I try to display the string
>using the syntax # foreach($entry in $entries)
>                                       <td> $entry
>					</td>
>					# end
>
>The output I get is like this :
>
>org.iitk.appname.om.Courses@1f
>
>The name of my table is COURSES.
>
>Can anybody tell how to retrieve individual fields ?
>
>Regards,
>A.P.Das.
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>  
>

-- 
Fabio Daprile

Würth Phoenix srl - GmbH
Via Kravoglstrasse 4
39100 Bolzano / Bozen
Tel.  +39 0471 564 111 - (direct 564068)
Fax  + 39 0471 564 122
fabio.daprile@wuerth-phoenix.com

http://www.wuerth-phoenix.com
http://www.wuerth.com

Communication, Technology, Office  -  Medi@ 2002
Besuchen Sie uns auf der Fachmesse Medi@ 2002 (10. - 12. Oktober 2002), Stand 54/A03 auf der Bozner Messe.
Venite a trovarci alla Medi@ 2002 (10. - 12. ottobre 2002) al padiglione 54/A03 presso la Fiera di Bolzano.

info.phoenix@wuerth-phoenix.com

===============================================================================

CONFIDENTIALITY NOTICE:  E-mail may contain confidential information that is 
legally privileged.  Do not read this e-mail if you are not the intended 
recipient. 

This e-mail transmission, and any documents, files or previous e-mail 
messages attached to it may contain confidential information that is legally 
privileged.  If you are not the intended recipient, or a person responsible 
for delivering it to the intended recipient, you are hereby notified that any 
disclosure, copying, distribution or use of any of the information contained 
in or attached to this transmission is STRICTLY PROHIBITED.  If you have 
received this transmission in error, please immediately notify us by reply 
e-mail or by telephone at (+39) 0471-564111, and destroy the original 
transmission and its attachments without reading or saving in any manner.  

Thank you.
===============================================================================




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