1 Reply Latest reply on Apr 22, 2014 5:01 PM by bleathem

    Need help with Richfaces CDK

    alixey

      Hello, i read this and this articles. But i cannot understand how to write my own component.

      This is description of what i want:

       

      MONDAY: TIME_FROM - TIME_TO

      TUESDAY: TIME_FROM - TIME_TO

      WEDNESDAY: TIME_FROM - TIME_TO

      THURSDAY: TIME_FROM - TIME_TO

      FRIDAY: TIME_FROM - TIME_TO

      SATURDAY: TIME_FROM - TIME_TO

      SUNDAY: TIME_FROM - TIME_TO

       

      TIME_FROM and TIME_TO - it's a text field(input type text) with pattern "\d{2}:\d{2}".

      I created ScheduleRendererBase which extends RendererBase(not javax.faces.component.UIInput as here, because i have 14 text fields and i need custom validator).

      How i can do this? I need examples.