Hi, Does anyone know of anyone that already done a combobox similar to the one that exists in extJS: http://extjs.com/deploy/dev/examples/form/combos.html I''m looking, obviously, for an implementation based in prototype :) Any ideas? Thanks in advance, alfatek --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I presume it''s compatible with pt and scriptaculous because if you go to the data grid editor, but I haven''t really done a *lot* of looking around http://extjs.com/deploy/dev/examples/grid/edit-grid.html you''ll see a drop down to use different JS libs: jQuery, Yahoo, prototype or stand alone. On Nov 6, 2007 9:17 AM, alfatek <alfatek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > Does anyone know of anyone that already done a combobox similar to the > one that exists in extJS: http://extjs.com/deploy/dev/examples/form/combos.html > > I''m looking, obviously, for an implementation based in prototype :) > > > Any ideas? > > > Thanks in advance, > alfatek > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
It is, but it''s a lot slower than the standalone one (and the speed issues do seem to be related to prototype/scriptaculous, because the other libraries do it a lot better). And it''s a pretty hefty components library just for a combobox (especially if you add prototype/scriptaculous on top of it all) On 06 Nov 2007, at 15:41, Brian Williams wrote:> I presume it''s compatible with pt and scriptaculous because if you go > to the data grid editor, but I haven''t really done a *lot* of looking > around > > http://extjs.com/deploy/dev/examples/grid/edit-grid.html > > you''ll see a drop down to use different JS libs: jQuery, Yahoo, > prototype or stand alone. > > > > On Nov 6, 2007 9:17 AM, alfatek <alfatek-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Hi, >> >> Does anyone know of anyone that already done a combobox similar to >> the >> one that exists in extJS: http://extjs.com/deploy/dev/examples/ >> form/combos.html >> >> I''m looking, obviously, for an implementation based in prototype :)Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I didn''t saw that. But I don''t want to use extJS in my application. I tried to build one custom combox, without luck. It''s a bit tricky to do, and even harder to make it more "general" for a library/toolkit use :) If anyone wants to try to do it, I''ll be glad to use it :) -- alfatek On Nov 6, 2:41 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I presume it''s compatible with pt and scriptaculous because if you go > to the data grid editor, but I haven''t really done a *lot* of looking > around > > http://extjs.com/deploy/dev/examples/grid/edit-grid.html > > you''ll see a drop down to use different JS libs: jQuery, Yahoo, > prototype or stand alone. > > On Nov 6, 2007 9:17 AM, alfatek <alfa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi, > > > Does anyone know of anyone that already done a combobox similar to the > > one that exists in extJS:http://extjs.com/deploy/dev/examples/form/combos.html > > > I''m looking, obviously, for an implementation based in prototype :) > > > Any ideas? > > > Thanks in advance, > > alfatek--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve done a sort of cheater''s combo box before with Prototype. All I do is add an option to the end of a regular select that reads Add new..., and then if that gets selected, I replace the entire select with a same-name text input box. It''s very simple. Let me know if you want it and I''ll dig out the code. Walter On Nov 6, 2007, at 1:25 PM, alfatek wrote:> > I didn''t saw that. But I don''t want to use extJS in my application. > > I tried to build one custom combox, without luck. It''s a bit tricky to > do, and even harder to make it more "general" for a library/toolkit > use :) > > If anyone wants to try to do it, I''ll be glad to use it :) > > -- alfatek > > > On Nov 6, 2:41 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> I presume it''s compatible with pt and scriptaculous because if you go >> to the data grid editor, but I haven''t really done a *lot* of looking >> around >> >> http://extjs.com/deploy/dev/examples/grid/edit-grid.html >> >> you''ll see a drop down to use different JS libs: jQuery, Yahoo, >> prototype or stand alone. >> >> On Nov 6, 2007 9:17 AM, alfatek <alfa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> >> >>> Hi, >> >>> Does anyone know of anyone that already done a combobox similar >>> to the >>> one that exists in extJS:http://extjs.com/deploy/dev/examples/ >>> form/combos.html >> >>> I''m looking, obviously, for an implementation based in prototype :) >> >>> Any ideas? >> >>> Thanks in advance, >>> alfatek > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
What I want... Is a library of these sort of controls, implemented purely for prototype. I read about a library on ajaxian which was starting down this path http://ajaxian.com/archives/new-ui-library-for-prototype-in-the-works http://blog.xilinus.com/2007/11/4/prototype-ui-beta-version-pwc-reloaded But I''m not sure how complete it is and what''s going to make the cut? It seems at the moment with carousel, window, and dock (i''m not including shadow here) that they are quite high level controls and would only have a few uses within a big site. I''m thinking more on a lower level - grouping tickboxes is a good example, autocompleting select box, tree view etc. extjs is fine, but when you have the overhead of prototype and scripty already, having something as *flexible* as extjs pushes the size up, simply because it supports all the base libraries via adapters. A site I just finished working on (internal use but internet hosted) has nearly 500k of javascript, not including individual page javascript, I wouldn''t want to include extjs with this as well. fastinit, sortabletable, plotr, my form library, prototype 1.6, scriptaculous, excanvas (for plotr), prototype 1.5 (for plotr).. That said, i love some of the ui elements extjs has. In particular, the tree view and the autocompleting combo are really quite powerful. Often I have a need for some quite simple numeric-only inputs, and I wrote some validation code for this that works on keypress (i''m not sure where it is right now) Anyway, it''d almost be worth collecting what we have collectively developed as ''base'' controls and packaging them up, having someone maintain them and get all the code styling the same... to go with scripty (effects) and prototype (core). I know you''re about to say, "well why don''t you volunteer?" I would be happy to assist but I am a little bit overloaded as it is at the moment without trying to manage a community project as well :) It could almost have autocompleter and inplaceeditor etc, from scripty moved over so scriptaculous becomes effects & sound... What are people''s thoughts on this? If done properly, you''d need to decide on what was and wasnt going to be included. Gareth Evans Sniper Systems Ltd http://www.snipersystems.co.nz On Nov 7, 2007 4:08 PM, Walter Lee Davis <waltd-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> > I''ve done a sort of cheater''s combo box before with Prototype. All I > do is add an option to the end of a regular select that reads Add > new..., and then if that gets selected, I replace the entire select > with a same-name text input box. It''s very simple. Let me know if you > want it and I''ll dig out the code. > > Walter > > > On Nov 6, 2007, at 1:25 PM, alfatek wrote: > > > > > I didn''t saw that. But I don''t want to use extJS in my application. > > > > I tried to build one custom combox, without luck. It''s a bit tricky to > > do, and even harder to make it more "general" for a library/toolkit > > use :) > > > > If anyone wants to try to do it, I''ll be glad to use it :) > > > > -- alfatek > > > > > > On Nov 6, 2:41 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> I presume it''s compatible with pt and scriptaculous because if you go > >> to the data grid editor, but I haven''t really done a *lot* of looking > >> around > >> > >> http://extjs.com/deploy/dev/examples/grid/edit-grid.html > >> > >> you''ll see a drop down to use different JS libs: jQuery, Yahoo, > >> prototype or stand alone. > >> > >> On Nov 6, 2007 9:17 AM, alfatek <alfa...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> > >> > >> > >>> Hi, > >> > >>> Does anyone know of anyone that already done a combobox similar > >>> to the > >>> one that exists in extJS:http://extjs.com/deploy/dev/examples/ > >>> form/combos.html > >> > >>> I''m looking, obviously, for an implementation based in prototype :) > >> > >>> Any ideas? > >> > >>> Thanks in advance, > >>> alfatek > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, Nov 08, 2007 at 01:04:01PM +1300, Gareth Evans wrote:> What I want... > > Is a library of these sort of controls, implemented purely for prototype.[...] I''ve been working on such a thing for use at my new (as of 6 weeks ago) job. I''ve been calling them Behaviours in honor of (what I believe to be) the first foray into the idea of unobtrusive JavaScript at <http://bennolan.com/behaviour/>. While the initial idea of behaviours was fairly simplistic (though very flexible), what I''ve put together allows decorating a normal HTML page with specially formed CSS class names that identify and configure desired behaviours.> Often I have a need for some quite simple numeric-only inputs, and I wrote > some validation code for this that works on keypress (i''m not sure where it > is right now)[...] Yup, I implemented that recently. Also a similar one for dollar value entry that allows a single period and reformats to two decimal places on blur. Also a list-to-list (i.e. list on the left of available choices, list on the right of selected choices, buttons between to move choices from one to the other). Also a couple of other useful ones, and I expect to keep expanding it.> I know you''re about to say, "well why don''t you volunteer?" > I would be happy to assist but I am a little bit overloaded as it is at the > moment without trying to manage a community project as well :)[...] I would very much like to open source this, but two things need to happen first: 1) convert to Prototype 1.6 from 1.5 (particularly vital due to the revamp of the Hash API) 2) permission from my employer to do so, since they own it; this is plausible, but I don''t know how likely> What are people''s thoughts on this? > If done properly, you''d need to decide on what was and wasnt going to be > included.I think you just need an website that makes it easy to select a set of behaviours and download them in a convenient tarball/zipfile.> Gareth Evans--Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Gareth, We have just released <a href="http://scripteka.com">scripteka</a> (prototype extensions library) - simple repository of all prototype- based scripts ever released. The idea is to be able to choose over a great variety of open source extensions/widgets in a convenient manner. User-based rating system, tag filtering and content submission should make it possible to choose the best tool for the job as quickly as possible. I think this is something the entire community have been waiting for for quite a while and we are really happy to finally make it happen. The initial release is featuring a minimal set of functionality, but upcoming versions will definitely have more features. I also want to clarify on Prototype UI. The idea behind this project is to create an extensible set of high- quality modules with accessibility and usability in mind. We are following the best standards and techniques, carefully choosing naming conventions and documenting every Class/method thoroughly. Class based approach really does wonders: when my Proto.Menu (context menu) script was ported into Prototype UI, it only took few minutes to extend it with completely functional shadow. Such modularity might lead to what you are talking about - having a set of easy to use extensions which would play nicely with each other. best, kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
mendjeli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Nov-08 12:05 UTC
Re: implementation of combobox similar to extjs?
I think the kangax initiative with prototype UI is really what need to be done if we want prototype/scriptaculous being push up. Actually ExtJS seems to be a lot in advance in the place of rich JS UI (i think they are probably going to beat DOJO). I am using prototype/scriptaculous and have created some simples UI based on prototype (buttons, toolbar, icons, menu etc..) But I needed more UI like Layout, tabs etc.. so i use ExtJS (with prototype support) for some of them because they are really well done. Most of the script we can find on the web, based on prototype are single man initiative, so everybody follow is own rule to developp them, and that''s the problem! We need to create a really strong community of developpers for prototype/scriptaculous. it means create strict rules for developping components and maintain them etc.. and what is starting with Sébastien Gruhier, Samuel Lebeau, Juriy Zaytsev (kangax) and Vincent Le Moign is the best thing that have be done. I have created a full virtual desktop (and not WebOS) (not yet online but soon) based on prototype/scriptaculous (and a little of prototype/ ExtJS), I hope i will be able to drop the full JS toolkit i have created (or modified from existing prototype script) in Open source for the community as soon as a documented and clean version will be avalaibe. The toolkit have a JS engine to create simple UI from XML (i choose this method because XML is really cool to create UI cf the XUL initiative) example: create a window with a toolbar and a button menu: <window id="x" width="x" height="x" ...> <toolbar> <button type="menu"> <menuitem>item1</menuitem> <menuitem>item2</menuitem> </button> </toolbar> </window> etc... Hope the prototype UI initiative will grow up. MM On Nov 8, 2:35 am, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Gareth, > > We have just released <a href="http://scripteka.com">scripteka</a> > (prototype extensions library) - simple repository of all prototype- > based scripts ever released. > The idea is to be able to choose over a great variety of open source > extensions/widgets in a convenient manner. > User-based rating system, tag filtering and content submission should > make it possible to choose the best tool for the job as quickly as > possible. > I think this is something the entire community have been waiting for > for quite a while and we are really happy to finally make it happen. > The initial release is featuring a minimal set of functionality, but > upcoming versions will definitely have more features. > > I also want to clarify on Prototype UI. > The idea behind this project is to create an extensible set of high- > quality modules with accessibility and usability in mind. > We are following the best standards and techniques, carefully choosing > naming conventions and documenting every Class/method thoroughly. > Class based approach really does wonders: when my Proto.Menu (context > menu) script was ported into Prototype UI, it only took few minutes to > extend it with completely functional shadow. > Such modularity might lead to what you are talking about - having a > set of easy to use extensions which would play nicely with each other. > > best, > kangax--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I really hope prototype can have in the near future a very good UI initiative. There are already good stuff laying around, like this: http://livepipe.net/projects/control_suite/ scripteka is good, but from a developer''s point of view what I really need is one UI package with several common components (extJS is a good start), or at least a common repository of components that can work together. As for my combobox similar to extjs, I couldn''t do it very well, that''s why I''m not releasing now. I just don''t know if I know how to do it in a more "library way" so that other people could use it easily :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---