Home
The Toolkit for Online Communities
17219 Community Members, 1 member online, 2043 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Heads-up: New Workflow Package : One Message

Forum OpenACS Development: Re: Heads-up: New Workflow Package

Collapse
Posted by Tilmann Singer on
Dan, the only way I can think of is to create the form definition list dynamically, like this:
set form_def {
    item_id:key
    {index_p:integer(hidden)
        {value $index_p}}
}

# here is a comment on an element
lappend form_def {
     name:text(hidden)
}

ad_form -form $form_def
Which seems a bit awkward to me, but propably that's just matter of taste. How does the code you're looking at do that?