Hi, I have a project that must be refactored in Wicket. The current project is in Corelet. Bellow I have the basic class that is responsible for sending the messages. In this class we have process method and I need to refactor this class/method to obtain reusable panel. Thank you very much for all your suggestions and help!
Best regards, Rafal public class Communicate extends BaseCorelet { private static final String TITLE = "Information"; /* corelet title*/ private Content _content; public Content getContent() { return _content; } public void setContent(Content content) { this._content = content; } public String getTemplate() { return Communicate.class.getName().replace('.','/')+".z"; } public String getTitle() { return TITLE; } /** * @return */ public void process(CoreletRequest cReq, CoreletResponse cRes) throws IllegalCoreletArgumentException, TemporaryCoreletException, CoreletException { ConnectVB vb = new ConnectVB(); try { setContent(vb.getConnect(this.getConnection("a"))); } catch(SQLException e){ System.err.println("F"); } } } -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en