Autocompleting InPlaceEditor

Hi,

I’ve created some extensions to script.aculo.us InPlaceEditor, allowing
the use of either server-driven, or local autocompletion. I’ve also
created new helper methods in Rails for this functionality.

My question is, is there any interest that I package this and make it
available as a plugin, or something like that?

Regards

Ola B. (http://ola-bini.blogspot.com)
JvYAML, RbYAML, JRuby and Jatha contributor
System Developer, Karolinska Institutet (http://www.ki.se)
OLogix Consulting (http://www.ologix.com)

“Yields falsehood when quined” yields falsehood when quined.

On 7/21/06, Ola B. [email protected] wrote:

Hi,

I’ve created some extensions to script.aculo.us InPlaceEditor, allowing
the use of either server-driven, or local autocompletion. I’ve also
created new helper methods in Rails for this functionality.

Yes!!! I’m just working my way through AWDWR and have been looking for
a way to accomplish exactly this. The fact that you’ve implemented
local autocompletion is of great value to me since I’ll be doing
autocompletion on a small (< 50) set of tags.

TIA alex

BTW Beware of Jönsan in the summer;)

On Jul 21, 2006, at 1:32 AM, Ola B. wrote:


Ola B. (http://ola-bini.blogspot.com)
JvYAML, RbYAML, JRuby and Jatha contributor
System Developer, Karolinska Institutet (http://www.ki.se)
OLogix Consulting (http://www.ologix.com)

“Yields falsehood when quined” yields falsehood when quined.

Hey Ola-

Yes please make a plugin. I would find it useful.

Cheers-
-Ezra

Ezra Z. wrote:

On Jul 21, 2006, at 1:32 AM, Ola B. wrote:

Hey Ola-

Yes please make a plugin. I would find it useful.

Cheers-
-Ezra


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Hi, ok, I’ve made a plugin of this, but there is NO documentation yet. I
will make some kind of proper announcement when I’ve done that.
The svn is http://svn.ki.se/rails/plugins/in_place_completer
And you use it by adding this to your head:
<%= javascript_include_tag :defaults %>
<%= in_place_completer_include %>

There is only a helper for the local-completion right now, but the other
will come very soon. The Ajax component is there, though. An example
of using the local completing editor can look like this:

<%= in_place_local_completing_editor_field :person, :name, %w(Ola Ezra
Gedas Steve) %>

Where the params are:
object_name, field_name, completions, tag_options, editor_options,
completer_options

where completions should be an array of values, tag_options are the same
as tag_options for in_place_editor_field, editor_options accept the same
as in_place_editor_field and completer_options the same as
text_field_with_auto_complete.

Enjoy

Ola B. (http://ola-bini.blogspot.com)
JvYAML, RbYAML, JRuby and Jatha contributor
System Developer, Karolinska Institutet (http://www.ki.se)
OLogix Consulting (http://www.ologix.com)

“Yields falsehood when quined” yields falsehood when quined.

Hello,

fully agree.

Regards,
Gedas

On 21/07/06, Ezra Z. [email protected] wrote:

it available as a plugin, or something like that?


SÄ?kmÄ?s!

Pagarbiai,
Gedas K.
http://gedas.maniakas.com