BTW: Here is the code from the controller:
def showoccupied
@spaces = Space.get_spaces($current_drawing)
render(:update) do |page|
page.alert(''Show Occupied'')
page.call ''ClearAllPanes''
page.call ''ClickDetailed''
page.call ''InitLayers''
page.call ''ClearInternalList''
page.call ''DefineSpacetypeKey''
@spaces.each {|space|
RAILS_DEFAULT_LOGGER.info space.unq_space_id
if (space.occup_type_cd == "OCC")
page.call ''AddToInternalListRgb'', space.unq_space_id, 0,
255, 0
elsif (space.occup_type_cd == "VNCT")
page.call ''AddToInternalListRgb'', space.unq_space_id, 255,
0, 0
elsif (space.occup_type_cd == "NAPP")
page.call ''AddToInternalListRgb'', space.unq_space_id, 255,
255, 0
elsif (space.occup_type_cd == "DEFT")
page.call ''AddToInternalListRgb'', space.unq_space_id, 0,
255, 255
else
page.call ''AddToInternalListRgb'', space.unq_space_id, 255,
0, 255
end
}
page.call ''HighlightInternalList'', -1
end
end
The expected output is made to the logger, so I know the entire
process is run to completion, but none of the page calls do anything
on this server.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.