Author: channa
Date: Sun Jul 20 02:42:41 2008
New Revision: 19661
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19661

Log:
Added error message to submission page, which will only be displayed if the 
submission fails. Message suggests checking the URL and contacting the admin if 
the issue persists (full error details are in log). MASHUP-1005.


Modified:
   trunk/mashup/java/modules/www/openidsubmit.jsp

Modified: trunk/mashup/java/modules/www/openidsubmit.jsp
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/www/openidsubmit.jsp?rev=19661&r1=19660&r2=19661&view=diff
==============================================================================
--- trunk/mashup/java/modules/www/openidsubmit.jsp      (original)
+++ trunk/mashup/java/modules/www/openidsubmit.jsp      Sun Jul 20 02:42:41 2008
@@ -16,4 +16,38 @@
 <%@ page import="org.wso2.mashup.webapp.identity.IdentityHandler" %>
 <%
     IdentityHandler.openIDSubmit(request, response, null, null);
-%>
\ No newline at end of file
+%>
+<html>
+<head>
+    <title>Sorry. An error occured when submitting your authentication 
request.</title>
+    <!-- Required CSS -->
+    <link href="css/styles.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="page">
+    <% String thisPage = "index.jsp"; %>
+    <div id="banner">
+        <table width="100%" border="0" cellpadding="0" cellspacing="0">
+            <tr>
+                <td>
+                    <div class="logo-position">
+                        <img src="/images/wso2_mashup_logo.png"/>
+                        <span class="version">@mashup_version@</span>
+                    </div>
+                </td>
+            </tr>
+        </table>
+    </div>
+    <div id="search"></div>
+    <div id="welcome"></div>
+    <div id="simple-content">
+        <div class="page_title">Authentication request did not succeed.</div>
+    <div>Please make sure you have entered the correct OpenID URL.</div>
+    <br>
+    <div>You can try going back to the <a href="index.jsp">home page</a> and 
starting over. If
+        the problem persists, please contact the administrator for 
assistance.</div>
+    </div>
+    <%@ include file="footer.jsp" %>
+</div>
+</body>
+</html>
\ No newline at end of file

_______________________________________________
Mashup-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to