[jboss-user] [JBoss Seam] - Re: Component-driven events scope
cavani
do-not-reply at jboss.com
Mon Dec 11 07:13:36 EST 2006
I want suggest a second approach for the same feature:
@Observer(String[] value, boolean create)
Where the "boolean create" indicate if that component should be create when it not exists.
I dig a little on Seam code and conclude that this is very easy to do. This information could be setted on Init.ObserverMethod and Event.raiseEvent() could be changed to consider that.
This is less power than previous approach but is simple too.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992751#3992751
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992751
More information about the jboss-user
mailing list