Displaying 20 results from an estimated 60000 matches similar to: "RJS ....."
2006 Jun 18
5
on change of drop down showing a new textfield
hi,
i have a situation where i have a list of options from which a user selects
his options if its not in the list he/she selects Others/Not Present and a
new textfield should pop up and the data entered there should be considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can be
done using pure rails i.e using some of the RoR apis?.
i would
2006 Jun 18
3
on change of drop down a textfield emerging
hi,
i have a situation where i have a list of options from which a user selects
his options if its not in the list he/she selects Others/Not Present and a
new textfield should pop up and the data entered there should be considered
instead of dropdown.
i have done this using javascript/dhtml but i was wondering how this can be
done using pure rails i.e using some of the RoR apis?.
i would
2006 Jun 29
3
stylesheets
hi,
all
i have been playing around with rails for sometime,
i have seen most not all of the rails sites have similar look and feel (good
one)
i want to know how to use the stylesheets provided by the RoR framework if
any
or is it that we have to define on our own from scratch.
basiclly i need information regarding how can i make my view better
looking(the visuals)
Thanks in advance
warm
2006 Jul 25
2
web services client problem
hi all,
i have been trying to study web services using rails so far i succesful
with server implementations in REST,SOAP,XML-RPC but the client code is
troubling me.
i have done most of the coding as per the rails book agile web development
i.e implementations of the servers and when i invoke them they give result
but when i try to acces them through another controller it gives time out
error
2006 Jul 21
10
why validation on server side
hi,
i have noticed that the validations in RoR happen at server side
mostly what sites do is using javascript they validate user information
there...
whats the point of doing it at the server side
is it that loading of javascript file in a browser makes a response to
client slow
and validation at server side offsets that....?????
any sugeestions????
is it that i am missing something as
2006 Aug 04
0
ajax problem in mozilla
hi all,
i have written an observer for <select> it works fine in IE but in mozilla
it fails to work
i have tested in opera it works
is there any setting or extra thing to be done to make it work in
mozilla???????
thanks in advance
regards
gaurav v bagga
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Nov 04
2
sql query in active record
hi all,
if i want to write a query select * from a,b where a.b_id=b.id in active
record
using joins,condition how can i write that
in docs i found for conditions you do by giving "?" and then the parameter
eg. a.b_id=?
but it takes b.id as string i.e a.b_id=''b.id''
i dont want that
any suggestions
thanks in advance
regards
gaurav
-------------- next
2006 Jul 08
1
Ajax, RJS, and Standard Form Errors
Hi all,
I''m trying to take the standard scaffold and add a bit for ajax to it. I
have a two column page with the list on the left and the right side is
reserved for the create/edit actions. On a successful save my rjs executes
and updates the list view on the left and returns the right side to a "home"
page. However, if one of the model validations fail I use rjs ro
2006 Jul 20
5
RJS where to put helper method?
Hi,
If I want to have helper method for my rjs, where''s the best place to put
it?
so for example:
--- bla.rjs:
page.replace_html ...
page.visual_effect ...
--- somewhere: (currently I put in application_helper.rb)
def replace_with_effect(page)
page.replace_html ...
page.visual_effect ...
end
--- bla.rjs:
replace_with_effect page
and is there a way to define the helper so we
2006 Jun 16
2
RJS replaces JavaScript?
Hi All,
I am currently devleoping a Rails application and I need to do following as
part of client side operations,
1. HTML Form validations
2. AJAX
I am currently calling Javascript methods from views of my application; I
heard about RJS(Remote Javascripts) templates; are the replacing Javascript
altogether? can I use RJS for HTML Form validations and AJAX?
What I believe is that with RJS
2006 Jul 21
20
Struts vs RoR
hi,
I recently attended one of the ruby meetings that we have in my city.
There one of the speaker said that google,amazon .. are working on RoR
but still the performance of RoR is not at par with J2EE others....
he meant that though google,amazon working o it they will not bring it as
front applications only parts
the reason ruby is slow in comparison to other languages....
and in real time
2006 Nov 04
4
live search
hi all,
i have implemented live search using scriptulous and i am getting the list
the problem is that when i select an item from the list white spaces gets
appended in front " item" of the selection in firefox and in opera
front and behind " item "
i printed the value in console and saw it gives "item" but in textbox after
selection whitespaces gets appended
2006 Jun 01
0
Possible RJS Implementation?
Hi there,
I have a question regarding updating elements of a two different divs with
one click. I have two lists. One list holds items that are entered into a
contest, and the other list holds items that aren''t currently in the
contest. One item can only be in one list at a time.
Each list has a partial that renders the items with corresponding actions.
The items in the current contest
2006 Jun 26
1
RJS and Google Maps API
Is there a repository for RJS extensions? Has anyone built some extensions
for RJS that play well with google maps? I''m having a play with using RJS to
power our mapping sites. Anyone experienced?
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060626/1931ed29/attachment.html
2006 Aug 01
6
Getting Started on RJS Templates
I definitely need to use RJS templates for my current application. I''ve
used Google for the past twenty minutes or so, yet I can''t find a good
resource that will get me started and show me what the page object can do.
Any links?
When an Ajax link is clicked, I''m trying to change the background of a
"primary" list item, as well as the background and text of
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs.
_test.rjs : page.alert "test"
test.rhtml: <script><%=render_partial(''test'')%></script>
When I am attempting to view controller/test the page comes as if it was a
text file.
So i am actually seeing:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2006 Mar 29
2
vim syntax highlighting of rjs templates
Are there config files for vim that offer syntax highlighting of rjs
templates?
Charlie Bowman
http://www.recentrambles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060329/486c9d84/attachment.html
2006 Jan 09
2
Using RJS templates with observe_form
Hi there,
I''ve been checking out RJS templates, and have been trying to use them
with the observe_form helper.
However, the form values are no longer being passed in the params (as
soon as I point the action to the non-rjs and add the ''update'' clause
everything is working again). Is this expected?
Cheers,
Dave
-------------- next part --------------
An
2006 Mar 23
4
RJS and Form Validation (Best Practice)
Hello All !
I''ve been using RJS extensively, but haven''t done any form validation with
it until now.
Should I be manually passing the RJS template some models error messages
from the controller.... or
... should I be using error_messages_for in order to do the display ?
I''ve implemented the first approach, but it seems like quite a hack.
Any insight would be greatly
2006 Nov 04
0
RJS not setting form input value correctly
Good day.
I have spent almost 2 days on this issue.
I have asked everyone from my Rails expert to my Javasript expert and we can
not for the life of us figure out the issue with this one form element.
I have a form which contains several readonly/disabled (firefox/ie) form
elements.
ALL elements in the form are updated correctly EXCEPT this one form element.
The form element in the view looks as