Displaying 7 results from an estimated 7 matches for "codefluency".
2006 Jun 13
5
strange RJS behavior
I used RJS extensively in my last web app with no problem.
I''m just beginning a new one and having a very odd problem.
The called method, get_names, retrieves some values from the database,
then ends:
render :layout => false
the get_names.rjs file is rendered into Javascript, but then is just
dumped as Javascript (text) into the browser:
e.g:
try {
2006 Jul 30
2
how to use remote_function :with option?
I''d like to send some simple info to my controller using the :with
option for remote_function
remote_function :url => url_for(:action => ''my_action''), :with =>
???????
But I don''t know anything about JavaScript. How can I use the :with
option to send a simple parameter to the controller? I''ve tried a few
things, but I haven''t
2006 Jun 07
2
How to send post data with link_to_remote?
Hi,
I''m trying to send a post body with my link_to_remote call.
Prototype supports the ''postBody'' option, but I can''t seem to get
link_to_remote to set that.
Here''s what I''m trying:
link_to_remote ''move up'',
:url => { :controller => ''upload'', :action => ''position_ajax'', :id
2006 Mar 18
0
RTex Plugin
...consist
of a mixture of LaTeX (http://www.latex-project.org/) markup and Ruby
(using ERB). The resulting LaTeX markup is passed through pdflatex to
generate a PDF for the user.
You can find more information on the plugin on the Rails wiki Plugin
page, or at the plugin''s homepage, http://codefluency.com/pages/rtex
Notes:
The RTex Plugin may be broken in any number of ways. At the moment,
there''s no support for escaping content inserted into the LaTeX
document (it up to you to escape &s in the tabular environment, for
instance, protect from inadvertent slash commands, etc). YMMV....
2006 Aug 05
2
Multi-step forms
I need to create a number of multi-step forms for creating models.
Currently i''m looking at http://www.bigbold.com/snippets/posts/show/277
As a solution. Are there any other methods you guys would recommend? Are
there any reusable (dry) methods of creating multiple multi-step forms?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 24
4
pdf on the fly
In my rails app I need to create pdf reports on the fly. I have
installed railspdf, wich is working fine. But, how can I create tables
and paragraphs and stuff? Can I mimic an .rhtml file (using <% for
...%> etc? Or is it wise to use Ruby::PDF directly? Is there anyone out
there with experience in this, and who is willing to share his findings?
Thx
--
Posted via
2006 Jun 23
3
form_remote_tag is not passing form params
I''ve searched and searched and searched again, and I cannot find any
help with this problem. There''s an identical problem on this forum, but
it was never resolved. I''ll try to re-open the subject with a bit more
information.
Problem: The form_remote_tag() method in my "list" view is not passing
the params[] hash of the values stored within my form.