[jboss-user] [JBoss Seam] - Re: Cast Problem I dont understand ... Converter / SelectIte

perwik do-not-reply at jboss.com
Tue Aug 22 11:05:34 EDT 2006


"paper" wrote : 
  | The Lookup Interface:
  | public interface Lookup {
  |   | 	public String getShowName () ;
  |   | 	public String getKey () ;
  |   | }
  | 

I think a better solution would be to use annotations for these two properties, like @SelectItemName and @SelectItemKey. And if @SelectItemKey is missing from the entity the default action could be to use toString() on the @Id property.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966726#3966726

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966726



More information about the jboss-user mailing list