Forum OpenACS Q&A: Re: -edit_buttons and <formwidget>

Collapse
Posted by Claudio Pasolini on
Hi Thomas,

I don't remember if I had trouble using 'template::form get_button', but my program actually simply uses this to check the button pressed:

    if {[info exists new_keep]} {
        # send a new screen with the data just inserted
        ad_returnredirect "lines?item_id=$item_id&keep_id=$line_id"
    }
and works pretty well.