anchor.diff:      </c:choose>
       <input type="submit" value="Submit" style="display:none" />
     </form>
  -</div>+</div>
  +
  +<view:progressMessage/>
positive.code:               }
                var submitUrl = '<c:url value="/services/documents/${sessionScope.Silverpeas_Attachment_ComponentId}/document/create"/>';
                submitUrl = submitUrl + '/' +encodeURI(filename);
                if ("FormData" in window) {
                  var formData = new FormData($("#add-attachment-form")[0]);
                  $.ajax(submitUrl, {
                  processData: false,
                  contentType: false,
                  type: 'POST',
                  dataType: "json",
                  data: formData,
                  success:function(data) {
                    reloadIncludingPage();
                    $(this).dialog("close");
                  }
                });
              } else {
                $('#add-attachment-form').attr('action', submitUrl);
                $('#add-attachment-form').submit();
              }}, '<fmt:message key="GML.cancel"/>': function() {
                $(this).dialog("close");
              }
            }, close: function() {
            }
          });
  
negative.code:               if( filename !== '') {
                  submitUrl = submitUrl + '/' +encodeURI(filename);
                } else {
                  submitUrl = submitUrl + '/no_file';
                }
                $.progressMessage();
                if ("FormData" in window) {
                  var formData = new FormData($("#update-attachment-form")[0]);
                  $.ajax(submitUrl, {
  