[jboss-user] [JBoss Seam] - Re: @Begin and @End
gavin.king@jboss.com
do-not-reply at jboss.com
Wed Jul 19 14:46:10 EDT 2006
Hmmmmm, I just created a generic ManagedEntity component. Kinda cool, possibly useful. You use it like this:
[core]
com.myapp.User
#{myEntityManager}
#{userId}
[/core]
Or even like this:
[core]
com.myapp.BlogEntry
#{myEntityManager}
#{params['blogEntryId']}
[/core]
And then, whenever the id of the object is available in a context variable or request parameter, we can just inject the correct instance.
Kinda cool, I think....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959290#3959290
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959290
More information about the jboss-user
mailing list