def bind_request( component, definition, value, id )
if definition['invoke_action'] then
component.application.element_id = id
end
if action = definition['form_value'] then
if id.repetitions? then
list = component.retrieve_value action
list_id = id.repetitions.last.last
list[list_id] = value.first
else
component.take_value( action, value.first )
end
end
if action = definition['form_values'] then
if id.repetitions? then
list = component.retrieve_value action
list_id = id.repetitions.last.last
list[list_id] = value
else
component.take_value( action, value )
end
end
end