Displaying 2 results from an estimated 2 matches for "dcwindow".
Did you mean:
_window
2006 Mar 30
1
Passing values to a Partial
...rks,
but when i call setobject it says that @objectname is null in my partial
and it throws an error.
Code follows.
In my index.rhtml I have the following:
<%= render :partial => "properties" %>
with some other code later on in the file
<%= drop_receiving_element "dcwindow",
:update => "items", :url => { :action => "setobject" },
:accept => "products", :hoverclass => "cart-active",
:loading => "Element.show(''indicator'')",
:complete =>
"E...
2006 Mar 29
2
Multiple calls from drop_receiving_element :complete
...nk its fantastic! :o)
I am trying to figure out how I can call multiple functions from the
drop_receiving_element :complete. I have the following code in my
index.rhtml and it works fine. It calls the javascript function
"additem" that is on the page.
<%= drop_receiving_element "dcwindow",
:update => "items", :url => { :action => "add" },
:accept => "products", :hoverclass => "cart-active",
:loading => "Element.show(''indicator'')",
:complete => "additem(...