r6878 - in dumbhippo/trunk/server/web: . jsp3



Author: marinaz
Date: 2007-11-07 17:03:17 -0600 (Wed, 07 Nov 2007)
New Revision: 6878

Added:
   dumbhippo/trunk/server/web/jsp3/facebook-add.jsp
Modified:
   dumbhippo/trunk/server/web/jsp3/facebook.jsp
   dumbhippo/trunk/server/web/servlet-info.xml
Log:
Add a button for verifying your Mugshot account on the application page on Facebook, and facebook-add.jsp that will handle the verification. 

Added: dumbhippo/trunk/server/web/jsp3/facebook-add.jsp
===================================================================
--- dumbhippo/trunk/server/web/jsp3/facebook-add.jsp	2007-11-07 22:27:52 UTC (rev 6877)
+++ dumbhippo/trunk/server/web/jsp3/facebook-add.jsp	2007-11-07 23:03:17 UTC (rev 6878)
@@ -0,0 +1,30 @@
+<html>
+<%@ page pageEncoding="UTF-8" %>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
+<%@ taglib uri="/jsp/dumbhippo.tld" prefix="dh" %>
+<%@ taglib tagdir="/WEB-INF/tags/2" prefix="dht" %>
+<%@ taglib tagdir="/WEB-INF/tags/3" prefix="dht3" %>
+
+<%-- <dh:bean id="facebookAdd" class="com.dumbhippo.web.pages.FacebookAddPage" scope="page"/> --%>
+
+<c:set var="pageName" value="Mugshot Verification for Facebook" scope="page"/>
+    
+<head>
+    <title><c:out value="${pageName}"/></title>
+	<dht3:stylesheet name="site" iefixes="true"/>			
+	<dht:faviconIncludes/>
+</head>
+<dht3:page currentPageLink="facebook-add">
+    <dht3:shinyBox color="grey">
+        <div class="dh-page-shinybox-title-large">Thank you for trying out Mugshot application for Facebook!</div>
+        <c:choose>
+            <c:when test="${!signin.valid}">
+                <a href="/who-are-you">Log In</a> or <a href="/signup">Sign Up</a>, then try verifying your Mugshot account again on Facebook.   
+            </c:when>
+            <c:otherwise>
+                You are all set! Check your <a href="/account">Mugshot account page</a> to make sure you've added all the services you use. 
+            </c:otherwise>
+        </c:choose>    
+    </dht3:shinyBox>
+</dht3:page>		
+</html>
\ No newline at end of file

Modified: dumbhippo/trunk/server/web/jsp3/facebook.jsp
===================================================================
--- dumbhippo/trunk/server/web/jsp3/facebook.jsp	2007-11-07 22:27:52 UTC (rev 6877)
+++ dumbhippo/trunk/server/web/jsp3/facebook.jsp	2007-11-07 23:03:17 UTC (rev 6878)
@@ -1,4 +1,8 @@
-<!-- this is some code in FBML we'll return for our app page on Facebook --%>
+<!-- this is some code in FBML we'll return for our app page on Facebook -->
+<!-- it intentionally points to my test server for now -->
 <p>
-hello world
-</p>
+You need to be <a href="http://test.marinaz.dumbhippo.com:8080/account"; target="_blank">logged in to Mugshot</a> to be able to verify your Mugshot account.
+<form action="http://test.marinaz.dumbhippo.com:8080/facebook-add"; target="_blank" method="GET">
+<input type="submit" value="Verify My Mugshot Account"/>
+</form>
+</p>
\ No newline at end of file

Modified: dumbhippo/trunk/server/web/servlet-info.xml
===================================================================
--- dumbhippo/trunk/server/web/servlet-info.xml	2007-11-07 22:27:52 UTC (rev 6877)
+++ dumbhippo/trunk/server/web/servlet-info.xml	2007-11-07 23:03:17 UTC (rev 6878)
@@ -299,7 +299,7 @@
            they are listed below for completeness -->
       <init-param>
           <param-name>noSignin</param-name>
-          <param-value>apple-dashboard-content,application,applications,applications-learnmore,badges,busy,buttons,comingsoon,error,facebook,files,flash,google-stacker,google-stacker-spec,google-stacker-content,group-files,licenses,mugshot-eula,public-groups,radar-theme,sharelink,sharelink-inactive,signup,summit,tour,unknownlink,upgrade,user-summary,who-are-you,robots.txt,trademark</param-value>
+          <param-value>apple-dashboard-content,application,applications,applications-learnmore,badges,busy,buttons,comingsoon,error,facebook,facebook-add,files,flash,google-stacker,google-stacker-spec,google-stacker-content,group-files,licenses,mugshot-eula,public-groups,radar-theme,sharelink,sharelink-inactive,signup,summit,tour,unknownlink,upgrade,user-summary,who-are-you,robots.txt,trademark</param-value>
       </init-param>
       <init-param>
           <param-name>requiresSigninStealth</param-name>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]