Package com.dodo.blog.ui.component.input

Examples of com.dodo.blog.ui.component.input.TextArea


        FieldSet fieldSet = new FieldSet( localize( "title.playgroundEdit" ) );
        form.add( fieldSet );

        fieldSet.add( new FormRow( localize( "label.description" ), new TextBox( "description" ).setAutoFocus( true ) ) );
        fieldSet.add( new FormRow( localize( "label.code" ), new TextArea( "code" ) ) );

        form.add( new AjaxSubmitButton( "save", localize( "button.save" ) ) );
        form.add( new Anchor( "cancel", localize( "button.cancel" ), PlaygroundList.class ) );
    }
View Full Code Here


        FieldSet fieldSet = new FieldSet( localize( "title.articleEdit" ) );
        form.add( fieldSet );

        fieldSet.add( new FormRow( localize( "label.name" ), new TextBox( "title" ).setAutoFocus( true ) ) );
        fieldSet.add( new FormRow( localize( "label.content" ), new TextArea( "content" ) ) );
        fieldSet.add( new FormRow( localize( "label.category" ), new Select<Category>( "category", getCategories(), new EntityChoiceRenderer(), true ) ) );

        for ( int i = 1; i <= 5; i++ )
        {
            fieldSet.add( new FormRow( localize( "label.tag" ) + "_" + i, new Select<Tag>( "tag_" + i, getTags(), new EntityChoiceRenderer(), true ) ) );
View Full Code Here

TOP

Related Classes of com.dodo.blog.ui.component.input.TextArea

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.