@Override
    protected void onForward(final PageParameter pp) throws Exception {
      super.onForward(pp);

      // 上传
      final SwfUploadBean swfUpload =
          (SwfUploadBean)
              addComponentBean(pp, "AttachmentUploadPage_swf", SwfUploadBean.class)
                  .setMultiFileSelected(true)
                  .setJsCompleteCallback("$Actions['NewsTabAttachPage_tbl']();")
                  .setContainerId("idAttachmentUploadPage_swf")
                  .setHandlerClass(_SwfUploadHandler.class);
      final String attachmentMaxSize = ((INewsWebContext) newsContext).getAttachmentMaxSize();
      if (StringUtils.hasText(attachmentMaxSize)) {
        swfUpload.setFileSizeLimit(attachmentMaxSize);
      }
    }
 public static BbsTopic getTopic(final PageParameter pp) {
   return AbstractTemplatePage.getCacheBean(pp, bbsContext.getTopicService(), "topicId");
 }