[jboss-user] [JBoss Seam] - Re: error : In attribute requires value for component , why

EddieLee do-not-reply at jboss.com
Sat Oct 28 02:21:46 EDT 2006


"monkeyden" wrote : @ In(required=false)
  |   | private ContentDaoImpl contentDaoImpl;
  | 
  | OR
  | 
  | @In
  |   | private ContentDaoImpl contentDaoImpl;
  |   | 
  |   | @Factory("contentDaoImpl")
  |   | public void loadContentDaoImpl(){
  |   |   //create it
  |   |   //save it to some context
  |   | }

sorry , I'm don't understand.

@Factory("contentDaoImpl")
  | public void loadContentDaoImpl(){
  |   //create it
  |   //save it to some context
  | }

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

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



More information about the jboss-user mailing list