Hi I''m a newbie in rails, and I was trying to embed dojo-toolkit into
rails,
I keep getting the same readme file on every search i did.
Followed the instructions completely and I still end up with this error:
"No plugin called ''dojo_toolbocks'' - please use the full
name of a
loaded plugin."
this is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Dojo Toolbocks: Slideshow Demo</title>
<%= javascript_include_tag ''dojo'', :plugin =>
''dojo_toolbocks'' %>
<% dojo_require ({:script_tag => true}, "dojo.widget.*",
"dojo.lang.*");%>
<%= dojo_config(:debug => true) %>
</head>
<body>
<img dojoType="SlideShow"
imgUrls="<%= (1..6).map { |n|
image_path("demos/widget/slideshow/#{n}.jpg", :plugin =>
"dojo_toolbocks") }.join('';'') %>"
transitionInterval="700"
delay="7000"
src="<%=
image_path(''demos/widget/slideshow/1.jpg'', :plugin =>
''dojo_toolbocks'') %>"
imgWidth="400" imgHeight="300" />
</body>
</html>
Attachments:
http://www.ruby-forum.com/attachment/2025/README
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---