Created
July 7, 2011 09:20
-
-
Save werpu/1069163 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| List retVal = new LinkedList(); | |
| def component = new Component() { | |
| basepackage = "org.apache.myfaces.dojo.custom.form.textarea"; | |
| tagname = "dijitTextarea"; | |
| componentclass = "TextArea"; | |
| tagclass = "TextAreaTag"; | |
| renderclass = "TextAreaRenderer" ; | |
| renderbaseclass = "org.apache.myfaces.dojo.custom.base.DijitInputRenderer"; | |
| tagbaseclass = "org.apache.myfaces.dojo.custom.base.DijitInputTag"; | |
| componentbaseclass = "org.apache.myfaces.dojo.custom.base.DijitInput"; | |
| rendertype = "org.apache.myfaces.dojo.TextAreaRenderer"; | |
| componenttype = "org.apache.myfaces.dojo.TextArea"; | |
| }; | |
| /*now to the component attributes map*/ | |
| component.attributes.add(new Attribute() { | |
| name = "rows"; attrclass = "Integer"; description = "Rows of the component"; | |
| }); | |
| retVal.add(component); | |
| return retVal; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment