I'm new to SEAM so maybe you can give me some hints:
I want to create a generic component (not a component as in SEAM but a component as in "reusable building block")
That works fine but for my likings is too much reapeated code every time you want to display some tables.
I want to create a SEAM component that encapsulates the initial creation of the table and handles all the events (sorting, paging, ..).
The only thing you need to do is just configure it what entity/datasource it should use.
The idea behind is to somehow (is this even possible in SEAM?) create multisple instances and configure them:
<component name="customerTable"> <type class="TableBean"/> <property name="entityName">acme.Customer</property> <property name="propertyNames"> <list> <value>name</value> <value>email</value> </list> </property> <property name="columnTitles"> <list> <value>Cust. Name</value> <value>Email-Address</value> </list> </property> </component>
please help me with that:
* How can I configure multiple "instances" of the same component/ejb
* Can conversations help me manage the state of such a component (currentPage, sortedColumn ..)
Thank you very much!