Displaying 2 results from an estimated 2 matches for "edititem".
Did you mean:
edit_item
2005 Nov 14
3
InPlaceEditor question
...%></p>
<script type="text/javascript">
new Ajax.InPlaceEditor(''storyTitle'',
''editBlog.jsp'', {
callback: function(value) { return ''v=edit&user=<%=
customerName %>&story=<%= storyID
%>&editItem=storyTitle&storyTitle='' + value.value;},
});
</script>
The problem I''m having is with the callback function. In the
examples at script.aculo.us, they show assigning parameters the
new form value by simply saying:
"param=" + value;
For some reason h...
2005 Dec 29
5
Model Composition in Rails
I''m struggling understanding the model view of a combined model. Take
the following:
class P4 < ActiveRecord::Base
has_many :p4_priorities
end
I figured out the naming and referencing of the sub models (i.e.
P4.p4_priorities - seems simple enough but I had weird issues related to
it). I''m all ok except that I am having issues with how to reference a