if <%= %> works, so should <%=[command]%>, so if you simply create a
procedure that returns your HTML as one string, that should do the trick.

Bas.

Wei Shi said:
> OpenACS tags do not have the flexibility to handle
> variable number of columns.  Besides, column names
> have to be predefined.  That's why I want to look
> into AOLServer's functions.
>
> Wei
>
> --- Tom Jackson <[EMAIL PROTECTED]> wrote:
>> On Sun, 2004-05-23 at 21:47, Wei Shi wrote:
>> > Thanks.  But why I can't use <% tag and
>> ns_adp_puts
>> > function with OpenACS?  The error I get is:
>>
>> If you are using OpenACS for the loop, look into
>> their templating system
>> ATS. There are two looping tags:
>>
>> <multiple name="users">
>>  <li>@users.id@: @users.first_names@
>> </multiple>
>>
>> This assumes a series of arrays:
>> set users:1(id) 1
>> set users:1(first_names) "John M"
>> set users:2(id) ....
>>
>> The other is the list:
>>
>> <list name="mylist">
>>  <li>@mylist:item@
>> </list>
>>
>> Or something similar.
>>
>> You should post your questions at OpenACS.org on the
>> Q&A forum.
>>
>> tom jackson
>>
>>
>> --
>> AOLserver - http://www.aolserver.com/
>>
>> To Remove yourself from this list, simply send an
>> email to <[EMAIL PROTECTED]> with the
>> body of "SIGNOFF AOLSERVER" in the email message.
>> You can leave the Subject: field of your email
> blank.
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Domains � Claim yours for only $14.70/year
> http://smallbusiness.promotions.yahoo.com/offer
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <[EMAIL PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to