Displaying 2 results from an estimated 2 matches for "_view".
Did you mean:
view
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
...when a user is over editable text, besides the yellow
background, I want to display next to it a "delete" link. One of the things
I''ve tried is this:
<script language="JavaScript">
new Ajax.InPlaceEditor(''answer_<%= answer[''id''] %>_view'', ''update_answer'',
{rows:2,cols:40,loadTextURL:"getAnswer"},onMouseover:"Element.show
(''delete'')";);
</script>
I''m am a newbie a javascript, so examples are appreciated.
Thanks,
Steve
_______________________________...
2006 Dec 28
2
STI, controllers and views
...to shunt the
data between the models and the views.
Second question. Say I have a view that shows a list of all people in
the db. It shows first name, last name, and a ''show'' link to view that
persons details. For each type I would like to show a specific view,
i.e. the manager_view, the employee_view etc. If I have a single
controller with a show action and I pass it the person as a parameter
how do I get the controller to show the correct view?
Thank you,
Ryan Glover
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You rec...