Spring Roo. How to customize input and table row? -
i have 2 simple questions related spring roo ui part.
q.1: how can alter default input size of field:input?
q.2: <table:column property="user" ..>
shows user fields in column. how tell show firtname , lastname fields?
thank you
for need alter applicationconversionfactory class , alter method related class
for example
public converter<windfarm, string> getsomeclasstostringconverter() { homecoming new org.springframework.core.convert.converter.converter<com.domain.someclass, java.lang.string>() { public string convert(someclass someclass) { homecoming new stringbuilder().append(someclass.getname()).tostring(); } }; }
you can alter string builder append field required you.
spring-roo
No comments:
Post a Comment