>> I have read you mail (before writing my comment) :-) ... I see. That was not clear from your email since you did not include any context. ;-)
>> It doesn't do anything. :-) The original purpose was to allow a Form >> skin to show some indication that a field is required, but it was never >> implemented. I actually thought it had been removed. > Yes, so my comment (maybe not so clear): > I agree, it seems that something is not implemented, but this feature is a > common case, so wouldn't it be good to finish it for the 2.0.1 ? Have you > got some hints (if you remember) on what is the missing part ? As I mentioned in my earlier email, the missing part is that TerraFormSkin doesn't do anything with this flag. It could paint some visual indication that the field is required, but at the moment it doesn't. > Inside Form.java, the line with: > Container parent = component.getParent(); > where component in my example is the instance of lastNameTextInput, and here > parent is null ... but shouldn't it already have set all parents in the > hierarchy (or am I missing something) ? > If I'd be able to get (or at least set set by hand) the Form (or the > Form.Section ) as parent maybe something could work with this, right ? Not sure what you are thinking here, but the "required" field was only meant to be used as a visual cue. For validation, applications will obviously need to look at the contents of the actual field component - a simple boolean is not sufficient.
