"jtucker" wrote : My understanding of the current hibernate application 
generation tool (I assume that's the one you are talking about) is that the 
generation happens at build-time, whereas I am talking about runtime 
generation. But perhaps in future the Seam application generator could generate 
this code :)
  | 
  | I think we could still get the information fairly portably at runtime using 
EL and the Seam or JSF VariableResolver.
  | 
  | As an example, something like this might wire up a property to display a 
menu with a list of options from a managed bean.
  | 
  | 
  |   | @UI(type=UIType.SelectOneMenu, items="#{selectItems.propOptions}")
  |   | public String getProperty() {}
  |   | 

How I would approach this is to write a JSF control that can iterate over 
properties of a bean in the same way h:dataTable iterates over elements of a 
list.

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

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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to