[jboss-user] [JBoss Seam] - Re: The method destroy is called twice

deved do-not-reply at jboss.com
Tue Aug 14 09:18:18 EDT 2007


Hi Richards. I try with "tableModel.clean()" and with this:
anonymous wrote : 
  | if(tableModel !=null) {
  |         Component component = Seam.componentForName("tableModel");
  |         component.destroy(tableModel);
  |         //component.callDestroyMethod(tableModel);
  | }
And I have the same result.
When I call @Destroy method this way, Seam doesn't know?
What difference exist between "component.destroy" and "component.callDestroyMethod"?
I can't manually call @Destroy, when I know exactly when should be called?

Thanks Richards.

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

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



More information about the jboss-user mailing list