Forum OpenACS Development: attachment form widget!?

Collapse
Posted by Dave Bauer on
Has anyone ever noticed this? Its from 4.6.3.

I have no idea what this widget is for or if its used anywhere. I does not seem to be used anywhere in the code base.

ad_proc -public template::widget::attachment {
element_reference
tag_attributes
} {
Render an attachment input widget.

@param element_reference Reference variable to the form element
@param tag_attributes HTML attributes to add to the tag

@return Form HTML for widget
} {

upvar $element_reference element

set output [input file element $tag_attributes]

set element(name) $element(attach_name)
set element(label) $element(attach_label)
set element(html) $element(attach_html)

append output [submit element $tag_attributes]

return $output
}

Collapse
Posted by Iuri Sampaio on
Yes i saw it once when i debugged acs-templating.
I thought it was about sending emails using acs-templating