code: protected void updateDialog(CmsPostUploadDialogPanelBean result) {
  
          m_panelData = result;
  
          if (m_dialogData.getResources().size() > 1) {
              if (m_dialogIndex == 0) {
                  m_buttonBack.disable(
                      org.opencms.ade.postupload.client.Messages.get().key(
                          org.opencms.ade.postupload.client.Messages.GUI_DIALOG_INFO_FIRST_RESOURCE_0));
              } else {
                  m_buttonBack.enable();
              }
              if (m_dialogIndex == (m_dialogData.getResources().size() - 1)) {
                  m_buttonNext.disable(
                      org.opencms.ade.postupload.client.Messages.get().key(
                          org.opencms.ade.postupload.client.Messages.GUI_DIALOG_INFO_LAST_RESOURCE_0));
              } else {
                  m_buttonNext.enable();
              }
          }
          m_uploadPropertyPanel = new CmsUploadPropertyPanel(this, m_dialogData, m_panelData);
          m_dialogContent.setWidget(m_uploadPropertyPanel);
          m_frameDialog.setWidth(960);
          if (!m_frameDialog.isShowing()) {
              m_frameDialog.show();
              m_dialogContent.onResizeDescendant();
          }
          m_uploadPropertyPanel.truncate("POST_UPLOAD_DIALOG", 955);
      }
docs: Updates the dialog.<p>
  
  @param result the result