Package org.zeroexchange.web.components

Examples of org.zeroexchange.web.components.ValidatableField


        //Title field
        TextField<String> titleInput = new TextField<String>(CKEY_CONTRACT_TITLE);
        titleInput.setEnabled(isEditEditable);
        titleInput.setRequired(true);
        form.add(new ValidatableField("titleMarker").add(titleInput));
       
        //Visibility control field
        DropDownChoice<ViewPolicy> viewPolicySelector = new StyledDropDownChoice<ViewPolicy>(CKEY_CONTRACT_VISIBILITY,
                ViewPolicy.listAll(), new IChoiceRenderer<ViewPolicy>() {
                    private static final long serialVersionUID = 1L;
View Full Code Here


    /**
     * Wraps the specified into the validation marker.
     */
    public static Component createValidatableField(Component field) {
        return new ValidatableField(field.getId()
                + MARKER_POSTFIX).add(field);
    }
View Full Code Here

           
   
        };
        titleInput = new TextField<String>("title");
        titleInput.setRequired(true);
        form.add(new ValidatableField("titleMarker").add(titleInput));
        return form;
    }
View Full Code Here

TOP

Related Classes of org.zeroexchange.web.components.ValidatableField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.