Em Fri, 06 Mar 2009 13:16:44 -0300, Luther Baker <lutherba...@gmail.com>
escreveu:
Is there a global way to explicitly set or override *html *(non-CSS)
attributes on tapestry components like textfield and textarea?
What you need is to implement a DataTypeAnalyzer, define two "Tapestry
types" (in parenthesis because they're just a name) and provide edition
blocks for them. And contributing your DataTypeAnalyzer to the
DataTypeAnalyzer service:
public static void
contributeDataTypeAnalyzer(OrderedConfiguration<DataTypeAnalyzer>
configuration) {
configuration.add("SomeIdJustUsedForSorting", new
YourDataTypeAnalyzer(), "before:Default");
}
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org