similar to: field sets and unicode

Displaying 20 results from an estimated 200 matches similar to: "field sets and unicode"

2006 Jan 27
1
Search generator and non-latin characters
I installed search generator and it works nice with latin characters in query, but when I use cyrillic it just shows all entities from table. I suppose it shows all the table when nothing appropriate found also. So the question is how to tune it for cyrillic for example and how to ? Thanks, Mikhail
2006 Jul 17
2
IndexedSearchEngine Question
Good evening -- I''m really new to Rails and I was looking for a way to use IndexedSearchEngine with a "get" call instead of the default "post". I have the script by itself on a page /myapp/app/view/search/rhtml and I want to be able to bookmark the query string. I can''t seem to find where in the code the call to form_tag is. This is as likely as not a
2005 Dec 30
4
AJAX Drag and Drop Detecting Drop Coordinates
This one''s kicking me in the *(&#^. All I want to do is create a draggable item and then detect the coordinates where it is dropped. So my first approach was to just use the draggable_element with :revert => false, like so: <%= draggable_element "my_element", :revert => false %> That works great and lets me drag stuff all over the place. In the scriptaculous
2005 Oct 04
2
sorting error "Error: item.id has no properties"
I''ve got some sorting working now, but when the page loads and when I drag, I keep getting this error: "Error: item.id has no properties" My <ul> and <li> elements all have ids. Do child elements all need ids? Here''s the code from dragdrop.js where the error is being thrown ( a few lines from the bottom of the file, line 501--HEAD version) serialize:
2005 Oct 04
3
serialize()
Near the end of the Sortable.serialize() method, there is a split command that splits on an underscore. What is the convention it''s following here and is it documented somewhere? Thanks, Jamie serialize: function(element) { element = $(element); var sortableOptions = this.options(element); var options = Object.extend({ tag: sortableOptions.tag, only:
2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
Hi, I am trying to pass others paramenter to the function InPlaceCollectionEditor, but I think that is not possible I have modified some rows controls.js to line 782 from: ####################### this.editField = this.cached_selectTag; if(this.options.loadTextURL) this.loadExternalText(); this.form.appendChild(this.editField); this.options.callback = function(form, value) {
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype? Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value). For eg - If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2008 Dec 06
9
jQuery Rails Functions
Hi, I was wondering if anybody who used jQuery with rails could help me out. I have a droppable that fires a simple function, shown below: $("#list").droppable({ accept: ".item", hoverClass: ''droppable-hover'', drop: function(ev, ui) { $(this).append("<br>Dropped!"); } }); But how could I get this to fire a Rails funciton in the
2007 Apr 20
2
Double URL Encoding of multiple selects (or any array in toQueryParams)
Hello, It seems that if you call form.serialize on a multiple select, and it double url encodes the values... culprit seems to be (v.1.5.0) line 649/650. It calls encodeURIComponent twice. -jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -
2006 Feb 09
3
Autocompleter Request depends on other field
Hi list, First, I have a textbox "username". I also have an Autocompleter'd textbox called "products". Is there a "built in" way to have the Autocompleter's Ajax Request pass the value in the "username" field ? (I tried adding "parameters: $F('username')" to the Autocompleter's options, but, that grabs the initial username
2007 May 05
2
Problem with escape
Hello, I have a little problem with the escape function. Here is my code: function saveData() { new Ajax.Request("post.php", {method:"post", parameters:''message=''+escape(document.getElementById("shoutitmessage").value) } ); } If I have the escape function in my script I can''t post some characters e.g. ä,ö,ü,ß but if
2008 Jul 17
2
Problem with link_to_remote, RJS and jRails
Hi, everyone, I''m trying to update the content of a div using link_to_remote and RJS template. Everything works fine if I use the default Prototype/Scriptaculous libraries, but I want to use jRails ''coz other parts of my application use a lot of jQuery. Here are the steps I done: 1. inside StatesController.rb I defined the following action: def update_view # do nothing just
2010 Feb 22
10
Error: "ActionController::InvalidAuthenticityToken"
Hi there, I have my first Rails app running and I regularly get the following "logged_exception" error message: "ActionController::InvalidAuthenticityToken" Has anybody an idea what might cause this problem? Could it somehow be a "time out" error (like an "AuthenticityToken" which might expire after a certain time, or something along those lines)? Any
2005 Aug 05
2
Quick Question on Autocompleter Parameters
Hello, Is it possible to send the current value of a second form element with the AJAX request on the Autocompleter? At the moment, I initialise the Autocompleter on page load, so any parameters passed in the constructor are given the value set at page load time. I need to obviously pass in the value of the second form element when the autocompleter is called. Does this function already exist,
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2007 Jun 04
2
Re: Ajax.Request question with JSON return
Do I need something like this: eval(''('' + this.header(''X-JSON'') + '')'') (taken from Cody Swann, http://ajaxian.com/archives/prototype-extension-dynamic-script-pattern-support ). I''m guessing my problem is simpler, and I''m leaving something small out related to the header though. Thanks for any help -Mark 1. evalJSON:
2009 Jun 14
6
Unable to make observe_field work
I can''t make it work. <%= text_field_tag :friend %> <%= observe_field :friend, :url => friendships_url, :on => :click %> <%= javascript_include_tag :defaults %> Raises the error:Can''t find variable Form. The generated html is: <input id="friend" name="friend" type="text" /> <script
2007 Oct 25
4
""throw $continue" is deprecated, use "return" instead"
I am using the firebug plugin to debug my javascript code, and I get the following message while debugging. Anyone familiar with this error? See my code below: <title>My Test </title> <script src="json.js" type="text/javascript"></script> <script src="prototype.js" type="text/javascript"></script>
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi, I''ve downloaded the latest svn trunk and was glad to see that Ajax.InPlaceEditor forms can now be correctly submitted on Safari as well, with the server response being correctly displayed as well. The problem is, however, that clicking again on the same element (after sumbitting it first) will duplicate the submit form. The next attempt will triplicate it etc, etc... Could