Fix mindmap expport.

This commit is contained in:
Paulo Gustavo Veiga 2012-04-05 00:01:51 -03:00
parent f52f01a6b1
commit bed005afef
5 changed files with 50 additions and 54 deletions

View File

@ -45,7 +45,7 @@ public abstract class BaseSecurityAdvice {
} }
if (!isAllowed) { if (!isAllowed) {
throw new AccessDeniedSecurityException("User '" + user.getEmail() + "' not allowed to invoke:" + methodInvocation); throw new AccessDeniedSecurityException("User '" + (user != null ? user.getEmail() : "none") + "' not allowed to invoke:" + methodInvocation);
} }
} }

View File

@ -30,7 +30,6 @@
<sec:http pattern="/c/search.htm" security="none"/> <sec:http pattern="/c/search.htm" security="none"/>
<sec:http pattern="/c/keyboard.htm" security="none"/> <sec:http pattern="/c/keyboard.htm" security="none"/>
<sec:http pattern="/c/embeddedview.htm" security="none"/> <sec:http pattern="/c/embeddedview.htm" security="none"/>
<sec:http pattern="/c/export.htm" security="none"/>
<sec:http pattern="/c/publicview.htm" security="none"/> <sec:http pattern="/c/publicview.htm" security="none"/>
<sec:http pattern="/service/transform*" security="none"/> <sec:http pattern="/service/transform*" security="none"/>
@ -45,7 +44,7 @@
<sec:form-login login-page="/c/login.htm" default-target-url='/c/mymaps.htm' <sec:form-login login-page="/c/login.htm" default-target-url='/c/mymaps.htm'
always-use-default-target='true' authentication-failure-url="/c/login.htm?login_error=2" always-use-default-target='true' authentication-failure-url="/c/login.htm?login_error=2"
login-processing-url="/j_spring_security_check"/> login-processing-url="/j_spring_security_check"/>
<sec:remember-me key="rememberMeKey" user-service-ref="userDetailsService"/> <sec:remember-me key="_spring_security_remember_me" user-service-ref="userDetailsService"/>
<sec:logout logout-url="/c/logout.htm" invalidate-session="true" logout-success-url="/c/login.htm"/> <sec:logout logout-url="/c/logout.htm" invalidate-session="true" logout-success-url="/c/login.htm"/>
</sec:http> </sec:http>

View File

@ -1,24 +1,15 @@
<%@ include file="/jsp/init.jsp" %> <%--@elvariable id="isHsql" type="boolean"--%>
<script type="text/javascript">
if(typeof isOldIE != "undefined"){
window.onload = function() {
var simpleButtonGenerator = RUZEE.ShadedBorder.create({ corner:8, border:1 });
simpleButtonGenerator.render('login');
$('submitButton').onclick = displayLoading; <%@ include file="/jsp/init.jsp" %>
};
}
</script>
<div id="loginContent"> <div id="loginContent">
<div id="news" class="sb"> <div id="news" class="sb">
<h1>What is New: </h1> <h1>What is New: </h1>
<ul> <ul>
<li>Links Between Nodes</li> <li>Links Between Nodes</li>
<li>FreeMind 0.9 Update</li> <li>FreeMind 0.9 Update</li>
<li>Improved HTML 5.0 Support</li> <li>Improved HTML 5.0 Support</li>
<li>Firefox 4.0 is officially supported</li> <li>Firefox 6.0 is officially supported</li>
</ul> </ul>
</div> </div>
<div id="login" class="sb"> <div id="login" class="sb">
@ -100,5 +91,10 @@
<c:if test="${isHsql== 'true'}"> <c:if test="${isHsql== 'true'}">
<div style="padding:10px;background-color: #E0EFFF; border-radius: 5px 5px 5px 5px;border-style:solid;border-color:gray"><img src="../images/info.png" style="margin:0px 4px">Note: Although HSQLDB is bundled with WiseMapping by default during the installation, we do not recommend this database for production use. Please consider using MySQL 5.5 instead. You can find more information how to configure MySQL <a href="http://www.wisemapping.org/documentation/configu">here</a>.</div> <div style="padding:10px;background-color: #E0EFFF; border-radius: 5px 5px 5px 5px;border-style:solid;border-color:gray">
<img src="../images/info.png" style="margin:0 4px">Note: Although HSQLDB is bundled with WiseMapping by
default during the installation, we do not recommend this database for production use. Please consider using
MySQL 5.5 instead. You can find more information how to configure MySQL <a
href="http://www.wisemapping.org/documentation/configu">here</a>.
</div>
</c:if> </c:if>

View File

@ -40,6 +40,9 @@
var userOptions = ${mindmap.properties}; var userOptions = ${mindmap.properties};
options.zoom = userOptions.zoom; options.zoom = userOptions.zoom;
// Set map id ...
options.mapId = mapId;
// Build designer ... // Build designer ...
var designer = buildDesigner(options); var designer = buildDesigner(options);

View File

@ -112,8 +112,6 @@
// Finally, submit map ... // Finally, submit map ...
form.submit(); form.submit();
MooDialog.Request.active.close(); MooDialog.Request.active.close();
}); });