Maninder, Singh wrote:
>>From the wiki -
We badly need a downloadable and printable documentation, with a single
entry point.
Alain Ravet
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/m
> Tokenized autocompletion
> new Ajax.Autocompleter('id','upd', '/url/', { tokens: ',' });
In Rails, it translates to
<%= text_field_with_auto_complete :tagz, :list ,{},{:tokens =>
[',', '\n']} %>
Thanks a lot Mandy.
___
Rails-spino
Hi list,
Hi all,
In Google Bookmark and GMail -f.ex.-, autocompletion would help you
enter multiple values in 1 field, separated by commas.
Is there such a solution available somewhere?
This is necessary for the acts_as_taggable plugin, to let people enter
many tags in one file
ex: "rail
Thomas
> This should work (haven't tested it):
It worked fine. Many thanks.
Alain
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Anybody?
How does one call a remote_function with after_update_element ?
Alain
It must be obvious by I can't find my way the new syntax.
With the "old" syntax (patch 3691), I had written code like this :
<%= text_field_with_auto_complete :city, :name, {},
:after_update_element =
> I've added this to the rails trunk, but slightly altered the proposed
> patch, (see the comment on #3691).
It must be obvious by I can't find my way the new syntax.
With the "old" syntax (patch 3691), I had written code like this :
<%= text_field_with_auto_complete :city, :name, {},
There's already a tiny patch in the waiting list that solves that very
problem:
http://dev.rubyonrails.org/ticket/3691
[PATCH] Add frequency and afterupdateelement option to
text_field_with_auto_complete
It justs adds 2 lines in the _auto_complete_field_ method
(java_script_macros_help
Hi everyone,
I need to trigger a Rails action after the autocompletion is completed
(when the user has selected an option).
From the scriptaculous doc, I figured out 'afterUpdateElement' is the
place to be but I wonder if/how and where I can hook my javascript code
to this event in Rails code
This problem can be solved by adding a _handle_ to restrict the part of
the list element that can be used as a handle.
see:
http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo
Alain
I've just added d&d sorting to a list where each item is a link_to ..
Problem: when I drop an
This problem can be used by adding a _handle_ to restrict the part of
the list element that can be used as a handle.
see:
http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo
Alain
As the title says, _sortable list_ doesn't like 'in_place_editor' very
much.
Problem: when
> I think we already have the best of both worlds; a forum that
> posts/displays mailing list messages:
> http://www.ruby-forum.com/
Don't forget gmane, that offers a newgroups facade to the list.
Alain
___
Rails-spinoffs mailing list
Rails-s
Thanks Stevens
There's a great example of how this is done at the wiki:
http://wiki.script.aculo.us/scriptaculous/show/SortableListsDemo
So, in Rails
View:
---
part 1:
<<<- HERE
more stuff here that cannot b
Hi all,
When using sortable lists, a click anywhere in a element will
trigger the "sort_by_dragging" mode, and have the clicked element follow
the mouse. The active area is the entire element.
Is there a way to either :
- limit the active/triggering "area" to a part of the element
(like
Robin
> Yes, use the constraints options of Sortable.create
When I do that (see below) the list is no longer sortable : when I drop
an element, it goes back to its original location, and the associated
actin is not triggered.
(Complete view code is at the bottom of this message. I place
Gregory
> I think making a clickable item draggable is begging for problems.
No, it's just striving for simplicity and obviousness.
With "In place edit" and "sortable list", you can replace 3 pages by 1,
without adding any control or icon or whatever on the page.
What's the alternative: se
As the title says, _sortable list_ doesn't like 'in_place_editor' very much.
Problem: when you click on an editable element, the field editor and the
2 buttons appears - good - , BUT they keep following the mouse - bad -,
and moving, while you're in edit mode.
Alain
___
Another way to ask the question:
"How to make a list of links sortable?"
I read the doc and scratched my head, but I found nothing, not even
dandruff.
Alain
> I've just added d&d sorting to a list where each item is a link_to ..
> Problem: when I drop an item to its new location, the brow
When a 'draggable' element is made 'sortable', it no longer follows the
mouse horizontally when you drag it.
Is there a solution/workaround?
TIA
Alain
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/
Hi all,
I've just added d&d sorting to a list where each item is a link_to ..
Problem: when I drop an item to its new location, the browser think I
clicked, and follows the link.
Any idea?
TIA.
Alain
___
Rails-spinoffs mailing list
Rails-spinoffs@
19 matches
Mail list logo