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 Bini (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 Bini <ola.bini-sX4i5UfIK9o@public.gmane.org> 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;) -- Alex Polite http://flosspick.org - finding the right open source
On Jul 21, 2006, at 1:32 AM, Ola Bini 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. > > My question is, is there any interest that I package this and make > it available as a plugin, or something like that? > > Regards > -- > Ola Bini (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
Hello, fully agree. Regards, Gedas On 21/07/06, Ezra Zygmuntowicz <ezmobius@gmail.com> wrote:> > On Jul 21, 2006, at 1:32 AM, Ola Bini 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. > > > > My question is, is there any interest that I package this and make > > it available as a plugin, or something like that? > > > > Regards > > -- > > Ola Bini (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 > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- S?km?s! Pagarbiai, Gedas Kucinskas http://gedas.maniakas.com
Ezra Zygmuntowicz wrote:> > On Jul 21, 2006, at 1:32 AM, Ola Bini wrote: >> Hey Ola-> > Yes please make a plugin. I would find it useful. > > Cheers- > -Ezra > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > 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 Bini (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.