On 6/17/06, Phillip Rhodes <[EMAIL PROTECTED]> wrote:
I am writing a 3 field date component. The component allows the user to select the month/date/year from select boxes for their birth date. Couple of questions: 1) Has anyone already created such a component? 2) Because I have 3 input fields bound to 3 properties in my component, what would be the interface that gets called when all 3 property values have been set. After all the properties are set within the component, I would like to construct a date object (from the 3 property values) and set the component "date" bound parameter with my constructed date.
if you have a submit button in your component, you can set a listener there. Then set a parameter date for your component. You listener can then retrieve the 3 values with the properties and compute a date object and set it to your date parameter... Thanks, Henri.