Proposal Title: [GSoC] create nifty components
Student Name: Pablo Henrique dos Reis
Student E-mail: email@example.com
University: UFMG / Brazil
Organization/Project: Apache Software Foundation / Tapestry 5
Proposal Abstract: Create the components Tapestryh Drag and Drop Palette and SelectWithAutoComplete
Tapestry Drag and Drop Palette
The component will receive all the options in a SelectModel
- The component will receive the selecteds items in a java.util.Collection or java.util.List
The component will receive a ValueEncoder to obtain the client-side value corresponding to a given option.
How the component will be created:
It will have two HTML <divs>.
The first <div> will contain a list of the available options.
The second <div> will contain the selected options.
The user will be able to move one option to or from the selected list.
The Component Class will be an adaptation of the Palette Tapestry component.
Examples of drag and drop using Scriptaculous:
Objective: create a new component, SelectWithAutocomplete, based in the Ajax.AutoCompleter class from Scritaculous. As Select, it will be used to choose a value from a list of options, but it will be selected from an Autocomplete-like menu. SelectWithAutocomplete will be more appopriaate than Select for large numbers of options.
1) The component will receive the selecteds items in a java.util.Collection or java.util.List
2) The component will receive a ValueEncoder to obtain the client-side value corresponding to a given option.
How the component will created:
The template will use one text area. It will show the label of the selected option. A hidden Select will be used to hold the selected option client-side value and an unordered list will show the provided options.
The page class will be adapted from the Select component.
The component will receive all the options by triggering an event and passing what the user has typed as its context, just as the Autocomplete mixin does. The handler method must return a SelectModel containing the appopriate options.
Create the DnDPalette. (April – 15th May)
Create the SelectWithAutocomplete (16th May – 10th July)
Create the App example.(10th July – 16th July)
Tests and improvements. (17th July - 8th August)
Delivery (9th August 2010 )
I am Pablo Henrique dos Reis. I'm currently in the 4th semester of the Information Systems undergratuate course at UFMG (Federal University of Minas Gerais, Belo Horizonte Brazil. I am a Sun Certified Programmer for the Java 2 Platform Standard Edition 5.0 (Janeiro/2009). I have been working full-time as a developer in a project built on Tapestry and Tapestry-IoC since January 2008. I am developer. My roles are the creation of components and general development using Tapestry 5, Hibernate, Spring and JasperReports. Among my activities was being an author of the AutoCompletObjecto, which is similar with the SelectWithObjects proposed above.
Last Modified on: