Look at what your Workque.java class looks like..  If you can display in
java, then you can display in the .vm template..  If you are display
$workque.wrkq_id, then you must have a class with a method: getWorkq_id()

Eric

> -----Original Message-----
> From: brian [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 16, 2003 10:54 PM
> To: [EMAIL PROTECTED]
> Subject: problem accessing values from Velocity context
>
>
> 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
>
>
>
>
>
>
>
> the values I am trying to access are referring back to the actual
> database column names (workque.<COLUMN NAME>).  Should I have a
> corresponding Workque.java file with methods for getting this info or
> can I access the data in this current form?
>
>
>
>
>
>
>
> Brian Allen
>
>
>
>
>
>
>
> Brian Allen
>
> Software Engineer
>
> Westpole,Inc.
>
> (734)995-6390x19
>
> [EMAIL PROTECTED]
>
>
>
>


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

Reply via email to