[jboss-user] [JBoss Seam] - How to create reusable Seam components?

Axyd do-not-reply at jboss.com
Thu Jun 14 20:34:57 EDT 2007


Hello!

Can you please tell me where I can found information about how to create reusable Seam components? And is it possible?

For example, I need a 'Forum' component (just a simple forum), which I then can reuse in many pages in an application.
So I first created it in Seam (as usual web app), it consists of a set of *.xhtml and *.java files (backed beans). Is there any way to form it as 'Seam component' and then reuse?

I tried to found such information but failed.

There is ability to form it as 'ui:composition', but the problem is that it contains not only a 'view' part but also a ?business logic? part, and the 'ui:composition' tag encapsulates the view only.

Thanks!
 
P.S. Sorry for my English.


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

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



More information about the jboss-user mailing list