Create easier way to create specialized text fields for editing specific data 
types
-----------------------------------------------------------------------------------

                 Key: TAP5-1398
                 URL: https://issues.apache.org/jira/browse/TAP5-1398
             Project: Tapestry 5
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.3.0
            Reporter: Howard M. Lewis Ship
            Priority: Minor


I'd like to see a special base class that could be extended to easily provide 
server-side logic for editting a field.

My scenario is a drop down list for selecting a country which Ajax-updates a 
drop down list for a region within a country and a text field for the city name 
(with autocomplete).

City is represented as an entity is my schema; I'd like an easy way to extract 
the city.name property as the initial value of the field when rendered, and 
then have a way to turn the country/region/city name into a City entity when 
the form is submitted.

I've cobbled together a mechanism using mixins, but it is a bit awkward to use. 
This seems to cry out for a simple subclass of AbstractTextField, perhaps 
EditField<T>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to