Johathon,

I used a sqlprocessor object to grab a connection to the default delegator. I 
could then type in my own sql and add the @@ operator that I need to use.

I tried to just <#list resultset as parts> but got a strange error. Maybe I 
should just convert the resultset to a collection?

Rick

Jonathon -- Improov <[EMAIL PROTECTED]> wrote: Hi Rick,

Just FYI, a ResultSet is ALREADY a... well... result set generated by a 
delegator. So, I'm sure 
you did use a delegator before hitting the .ftl.

The freemarker list tag takes in sequences. I've tested this to work with 
Collection(s). Not sure 
about ListIterator or Iterator or even ResultSet.

Does it throw an error when you put a ResultSet to a list tag?

Jonathon

Rodrigo Souza wrote:
> User delegator to data layer.
> Not use in .ftl files.
> 
> 2007/8/6, Richard Fleming :
>> Hello all-
>>
>> I've put together a bsh script that puts a java.sql.resultset into the 
>> context. How do I create a list tag in my freemarker file to display the 
>> resultset?
>>
>> Thanks
>> Rick
>>
>>
>>
> 
> 


Reply via email to