<input type="hidden" name="<% "$widget|save_selected_id_cb" %>" value="<% $object %>">

<& /widgets/profile/select.mc, 
  name     => $name,
  value    => $sel_id,
  options  => $vals,
  useTable => $useTable,
  width    => $width,
  indent   => $indent,
  disp     => $disp,
  size     => $size,
  req      => $req,
  readOnly => $readOnly,
  localize => $localize,
  js       => $js
  &>

<%args>
$widget
$object
$vals
$width
$indent   => FIELD_INDENT
$disp     => ''
$useTable => 1
$readOnly => 0
$req      => 0
$size     => undef
$js       => undef
$sel_id   => undef
$localize => 1
</%args>

<%init>

my $sub_widget = "$widget.$object";
my $name   = get_state_data($sub_widget, 'form_name');
$sel_id = get_state_data($sub_widget, 'selected_id') unless defined $sel_id;

</%init>
