0 Replies Latest reply on Nov 15, 2011 3:19 AM by omid pourhadi

    making a component value required

    omid pourhadi Newbie

      Hi,

       

      I created a component exactly as the same as CDK,

      the source is available here, but the required attribute does not work although i see the setReuired method is generate i can not find any difference between my component and other rich faces component 

      in what circumstances does required attribute work  ?

       

      what i've done

      public class UIDatePicker extends UIInput
      

       

      .xml

       

      &ui_component_attributes;
      
      &html_events;
      
      &ui_input_attributes;