Try dropping the underscores..

Like this...


#foreach($workque in $workques)

 <tr>

 <td>$workque.wrkqId</td>

 <td>$workque.wrkqWkgpId</td>

 <td>$workque.wrkqWrkrId</td>

 </tr>


#end


This stuff is all documented on the site.



-----Original Message-----
From: brian [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 16, 2003 2:17 PM
To: [EMAIL PROTECTED]
Subject: problem retrieving peer object values


when I try to print the values using:

 

#foreach($workque in $workques)

 <tr>

 <td>$workque.wrkq_id</td>

 <td>$workque.wrkq_wkgp_id</td>

 <td>$workque.wrkq_wrkr_id</td>

 </tr>

 

#end

 

I get:

 

$workque.wrkq_id     $workque.wrkq_wkgp_id        $workque.wrkq_wrkr_id

$workque.wrkq_id     $workque.wrkq_wkgp_id        $workque.wrkq_wrkr_id

  

which tells me that my select method is returning rows(2) but I am
having an issue retrieving the data in the columns.  Should I have a
method in WorkquePeer.java that explicitly asks for the value I need or
can I just use the format above where I just use the column name to
access the value? For example:

 

public class WorkquePeer{

      

   Integer getWorkqueID(){return ID;}

} 

 

 

Brian Allen

 

 

 

 


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

Reply via email to