[jboss-user] [JBoss Seam] - Re: Creating components

pete.muir@jboss.org do-not-reply at jboss.com
Fri Oct 12 08:28:11 EDT 2007


You're almost there

<component name="customerTable" class="my.TableBean">
  |   <property name="entityName">acme.Customer</property>
  |   <property name="propertyNames">
  |       <value>name</value>
  |       <value>email</value>
  |    </property>
  |   <property name="columnTitles">
  |        <value>Cust. Name</value>
  |        <value>Email-Address</value>
  |    </property>
  | </component>

and just create many of these in your components.xml keeping the class the same.

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

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



More information about the jboss-user mailing list