Commit caedaa576ac30524573721d459779736ccb1b4d1

upgrade to spring-mobile-device latest snapshot in prep for 1.0.0.m1 of that project
.settings/org.eclipse.ajdt.core.prefs
(43 / 0)
  
1#Fri Nov 12 09:21:07 EST 2010
2eclipse.preferences.version=1
3org.aspectj.ajdt.core.compiler.BuildOptions.showweavemessages=false
4org.aspectj.ajdt.core.compiler.lint.BrokeSerialVersionCompatibility=ignore
5org.aspectj.ajdt.core.compiler.lint.CannotImplementLazyTJP=ignore
6org.aspectj.ajdt.core.compiler.lint.InvalidAbsoluteTypeName=warning
7org.aspectj.ajdt.core.compiler.lint.NeedSerialVersionUIDField=ignore
8org.aspectj.ajdt.core.compiler.lint.NoInterfaceCtorJoinpoint=warning
9org.aspectj.ajdt.core.compiler.lint.ShadowNotInStructure=ignore
10org.aspectj.ajdt.core.compiler.lint.TypeNotExposedToWeaver=warning
11org.aspectj.ajdt.core.compiler.lint.UnresolvableMember=warning
12org.aspectj.ajdt.core.compiler.lint.WildcardTypeName=ignore
13org.aspectj.ajdt.core.compiler.lint.adviceDidNotMatch=warning
14org.aspectj.ajdt.core.compiler.lint.annotationAsTargetForDecpIgnored=warning
15org.aspectj.ajdt.core.compiler.lint.calculatingSerialVersionUID=ignore
16org.aspectj.ajdt.core.compiler.lint.cantFindType=error
17org.aspectj.ajdt.core.compiler.lint.cantFindTypeAffectingJPMatch=warning
18org.aspectj.ajdt.core.compiler.lint.cantMatchArrayTypeOnVarargs=ignore
19org.aspectj.ajdt.core.compiler.lint.elementAlreadyAnnotated=warning
20org.aspectj.ajdt.core.compiler.lint.enumAsTargetForDecpIgnored=warning
21org.aspectj.ajdt.core.compiler.lint.invalidTargetForAnnotation=warning
22org.aspectj.ajdt.core.compiler.lint.multipleAdviceStoppingLazyTjp=ignore
23org.aspectj.ajdt.core.compiler.lint.noExplicitConstructorCall=warning
24org.aspectj.ajdt.core.compiler.lint.noGuardForLazyTjp=ignore
25org.aspectj.ajdt.core.compiler.lint.noJoinpointsForBridgeMethods=warning
26org.aspectj.ajdt.core.compiler.lint.runtimeExceptionNotSoftened=warning
27org.aspectj.ajdt.core.compiler.lint.swallowedExceptionInCatchBlock=ignore
28org.aspectj.ajdt.core.compiler.lint.uncheckedAdviceConversion=warning
29org.aspectj.ajdt.core.compiler.lint.uncheckedArgument=warning
30org.aspectj.ajdt.core.compiler.lint.unmatchedTargetKind=warning
31org.aspectj.ajdt.core.compiler.lint.unorderedAdviceAtShadow=ignore
32org.aspectj.ajdt.core.compiler.list.UnmatchedSuperTypeInCall=warning
33org.aspectj.ajdt.core.compiler.weaver.XHasMember=false
34org.aspectj.ajdt.core.compiler.weaver.XNoInline=false
35org.aspectj.ajdt.core.compiler.weaver.XNotReweavable=false
36org.aspectj.ajdt.core.compiler.weaver.XSerializableAspects=false
37org.aspectj.ajdt.core.compiler.weaver.outxml=true
38org.aspectj.ajdt.core.compiler.weaver.timers=false
39org.aspectj.ajdt.core.compiler.weaver.verbose=false
40org.aspectj.ajdt.core.complier.lint.aspectExcludedByConfiguration=ignore
41org.eclipse.ajdt.core.builder.incrementalCompilationOptimizations=true
42org.eclipse.ajdt.core.compiler.nonStandardOptions=
43org.eclipse.ajdt.core.compiler.useProjectSettings=true
pom.xml
(6 / 1)
  
114114 </dependency>
115115 <dependency>
116116 <groupId>org.springframework.mobile</groupId>
117 <artifactId>spring-mobile</artifactId>
117 <artifactId>spring-mobile-device</artifactId>
118118 <version>1.0.0.BUILD-SNAPSHOT</version>
119 </dependency>
120 <dependency>
121 <groupId>net.sourceforge.wurfl</groupId>
122 <artifactId>wurfl</artifactId>
123 <version>1.2</version>
119124 </dependency>
120125
121126 <!-- Aspect J -->
src/main/java/com/springsource/greenhouse/config/AnnotationMethodHandlerAdapterPostProcessor.java
(1 / 1)
  
2121import org.springframework.beans.factory.config.BeanPostProcessor;
2222import org.springframework.core.MethodParameter;
2323import org.springframework.format.datetime.joda.JodaTimeContextHolder;
24import org.springframework.mobile.mvc.DeviceWebArgumentResolver;
24import org.springframework.mobile.device.mvc.DeviceWebArgumentResolver;
2525import org.springframework.security.core.Authentication;
2626import org.springframework.social.facebook.FacebookWebArgumentResolver;
2727import org.springframework.web.bind.support.WebArgumentResolver;
src/main/java/com/springsource/greenhouse/home/DateTimeZoneHandlerInterceptor.java
(1 / 1)
  
4848 }
4949
5050 public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception {
51 JodaTimeContextHolder.setJodaTimeContext(null);
51 JodaTimeContextHolder.resetJodaTimeContext();
5252 }
5353
5454 // interna helpers
src/main/resources/com/springsource/greenhouse/config/greenhouse-1.0.xsd
(0 / 47)
  
88 <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" />
99 <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-3.0.xsd" />
1010
11 <xsd:element name="environment-bean">
12 <xsd:annotation>
13 <xsd:documentation><![CDATA[
14
15 ]]></xsd:documentation>
16 </xsd:annotation>
17 <xsd:complexType>
18 <xsd:complexContent>
19 <xsd:extension base="beans:identifiedType">
20 <xsd:sequence>
21 <xsd:element name="when">
22 <xsd:annotation>
23 <xsd:documentation><![CDATA[
24
25 ]]></xsd:documentation>
26 </xsd:annotation>
27 <xsd:complexType>
28 <xsd:choice>
29 <xsd:any />
30 </xsd:choice>
31 <xsd:attribute name="environment" type="xsd:string" use="required">
32 <xsd:annotation>
33 <xsd:documentation><![CDATA[
34
35 ]]></xsd:documentation>
36 </xsd:annotation>
37 </xsd:attribute>
38 </xsd:complexType>
39 </xsd:element>
40 <xsd:element name="otherwise">
41 <xsd:annotation>
42 <xsd:documentation><![CDATA[
43
44 ]]></xsd:documentation>
45 </xsd:annotation>
46 <xsd:complexType>
47 <xsd:choice>
48 <xsd:any />
49 </xsd:choice>
50 </xsd:complexType>
51 </xsd:element>
52 </xsd:sequence>
53 </xsd:extension>
54 </xsd:complexContent>
55 </xsd:complexType>
56 </xsd:element>
57
5811</xsd:schema>
src/main/resources/com/springsource/greenhouse/database/install/embedded/test-data.sql
(90 / 7)
  
4848insert into EventTrack (event, code, name, description, chair) values (1, 'grf', 'Grails and Griffon', 'Combining Griffon and Grails for rapid desktop development', 1);
4949
5050insert into Leader (name) values ('Rod Johnson');
51
5251insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (1, 1, 'Opening Keynote', '2011-10-20 00:30:00Z', '2011-10-20 01:45:00Z',
5352 'Rod kicks off #s2gx with a bang.', '#opener', null, 1, 10);
5453insert into EventSessionLeader (event, session, leader) values (1, 1, 1);
5554
5655
5756insert into Leader (name) values ('Juergen Hoeller');
58
5957insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (1, 2, 'What''s new in Spring Framework 3.1?', '2011-10-20 13:30:00Z', '2011-10-20 15:00:00Z',
6058 'Spring 3.0 established itself as a powerful basis for next-generation application design. Spring 3.1 adds dedicated conversation management facilities and many further improvements in Spring MVC, as well as explicit support for Servlet 3.0 and Tomcat 7 features. In this session, we will focus on selected key themes of Spring 3.1 in the context of modern web applications.',
6159 '#spr3.1', 'spr', 1, 3);
859859insert into VenueRoom (venue, id, name, capacity, locationHint) values (2, 4, 'Room 9', 500, '');
860860insert into VenueRoom (venue, id, name, capacity, locationHint) values (2, 5, 'BOF 1', 70, '');
861861insert into VenueRoom (venue, id, name, capacity, locationHint) values (2, 6, 'BOF 2', 70, '');
862insert into VenueRoom (venue, id, name, capacity, locationHint) values (2, 7, 'Room 6', 500, '');
862863
863insert into MemberGroup (name, slug, description, hashtag, leader) values ('Devoxx', 'devoxx', 'Premier European Java conference series', '#devoxx', 1);
864insert into MemberGroup (name, slug, description, hashtag, leader) values ('Devoxx', 'devoxx', 'Premier European Java conference series.', '#devoxx', 1);
864865
865insert into Event (title, timeZone, startTime, endTime, slug, description, memberGroup) values ('Devoxx 2010', 'CET', '2010-11-15 9:00:00Z', '2010-11-19 13:50:00Z', 'javaholics', 'The conference for Javaholics', 2);
866insert into Event (title, timeZone, startTime, endTime, slug, description, memberGroup) values ('Devoxx 2010', 'CET', '2010-11-15 7:00:00Z', '2010-11-19 11:50:00Z', 'javaholics', 'The conference for Javaholics.', 2);
866867insert into EventVenue (event, venue) values (2, 2);
867868
868869insert into EventTrack (event, code, name, chair) values (2, 'core', 'Java Core (SE/EE)', 1);
869870insert into EventTrack (event, code, name, chair) values (2, 'web', 'Web Frameworks', 1);
871insert into EventTrack (event, code, name, chair) values (2, 'sec', 'Architecture/Security', 1);
870872insert into EventTrack (event, code, name, chair) values (2, 'lang', 'New Languages on the JVM', 1);
871873insert into EventTrack (event, code, name, chair) values (2, 'met', 'Methodology', 1);
874insert into EventTrack (event, code, name, chair) values (2, 'part', 'Partner', 1);
872875
873876insert into Leader (name) values ('Ben Alex');
874877insert into Leader (name) values ('Matt Raible');
879879
880880insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 1, 'Extreme Productivity with Spring Roo', '2010-11-15 12:30:00Z', '2010-11-15 15:30:00Z',
881881 'Delight your customers and impress your colleagues by delivering enterprise Spring applications faster than ever before. In this session we''ll introduce Spring Roo, an open source tool that makes it easy to build applications using the Java language, standards and technologies you already know.',
882 '#roo', 'web', 2, 3);
883insert into EventSessionLeader (event, session, leader) values (2, 1, 86);
884insert into EventSessionLeader (event, session, leader) values (2, 1, 20);
882 '#spring', 'web', 2, 3);
883insert into EventSessionLeader (event, session, leader, rank) values (2, 1, 86, 1);
884insert into EventSessionLeader (event, session, leader, rank) values (2, 1, 20, 2);
885
886insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 2, 'Groovy Update, Ecosystem, and Skyrocketing to the Cloud with AppEngine and Gaelyk!', '2010-11-15 12:30:00Z', '2010-11-15 15:30:00Z',
887 'Guillaume Laforge, the Groovy project lead, will guide you through all the latest and greatest innovations in the language: new AST transformations, new APIs, and more, to make you a more productive Java developer. Some glimpses of what the future holds for Groovy will also be unveiled. Then, Guillaume will update you about the great active and rich ecosystem around Groovy, with many useful libraries for testing, build, code quality, and for building desktop and web applications. And we''ll finish our whirlwind tour of the Groovy world diving into a gem in this ecosystem: Gaelyk, or how to skyrocket Groovy into the cloud, on Google App Engine!',
888 '#groovy', 'lang', 2, 2);
889insert into EventSessionLeader (event, session, leader) values (2, 2, 8);
890
891insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 3, 'Spring Developer Tools to Push your Productivity', '2010-11-15 15:45:00Z', '2010-11-15 16:15:00Z',
892 'Spring started off to greatly increase the developer productivity; and as you all know successfully delivered on that promise. But there is more SpringSource can do to make your life as a developer more productive. In this session, we will demo current state-of-art developer tools for Spring such as Spring Roo, Spring IDE and Spring Insight. We will explain how these free tools can help you along the build-run-manage lifecycle of your application and prepare you for the cloud adventure.',
893 '#spring', 'core', 2, 3);
894insert into EventSessionLeader (event, session, leader) values (2, 3, 30);
895
896insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 4, 'Increasing Developer Productivity with Mylyn', '2010-11-15 16:25:00Z', '2010-11-15 16:55:00Z',
897 'The Mylyn plugin is contained in a lot of Eclipse distributions but quite undiscovered amongst developers nevertheless. Having that said there is an enormous amount of productivity gain to be discovered in this area to free developers from technical and organizational bonds and thus make every single individual more productive. The talk presents key advantages using Mylyn demoing the tool and focuses on the main topics of Mylyn: task orientation, productivity and traceability.',
898 '#myln', 'met', 2, 1);
899insert into EventSessionLeader (event, session, leader) values (2, 4, 88);
900
901insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 5, 'Groovy/Grails Get Together', '2010-11-15 18:00:00Z', '2010-11-15 19:00:00Z',
902 'Get together for the Groovy and Grails developers.',
903 '#groovy', 'lang', 2, 5);
904insert into EventSessionLeader (event, session, leader, rank) values (2, 5, 8, 1);
905insert into EventSessionLeader (event, session, leader, rank) values (2, 5, 42, 2);
906
907insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 6, 'Spring BOF', '2010-11-15 19:00:00Z', '2010-11-15 20:00:00Z',
908 'The informal Spring BOF.',
909 '#spring', 'core', 2, 5);
910insert into EventSessionLeader (event, session, leader, rank) values (2, 6, 86, 1);
911insert into EventSessionLeader (event, session, leader, rank) values (2, 6, 30, 2);
912insert into EventSessionLeader (event, session, leader, rank) values (2, 6, 20, 3);
913
914
915insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 7, 'Groovy/Grails Development in Eclipse', '2010-11-16 15:45:00Z', '2010-11-16 16:15:00Z',
916 'Come and see the latest developments in Groovy and Grails tooling for Eclipse. We''ll look at the great Groovy editing experience based around a sophisticated inferencing engine, and also how support is now in place for many of the standard Eclipse features that developers are so used to when working with their Java code: formatting, refactoring, javadoc, task tags, debugging (incl. hotswap). Building on Groovy we''ll then look at the latest Grails development features (including plugin management, navigation, gsp editing, local plugin support).',
917 '#groovy', 'lang', 2, 2);
918insert into EventSessionLeader (event, session, leader) values (2, 7, 30);
919
920
921insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 8, 'Spring 3 Java Config', '2010-11-17 12:15:00Z', '2010-11-17 12:30:00Z',
922 'Part of Spring 3, JavaConfig provides a flexible, non-invasive option for configuring applications inside the Spring IoC container using JVM-based languages such as Java or Groovy. This session will explore the features offered by JavaConfig, what makes it stand out from other annotation-based configurations and what it takes to integrate it immediately into an existing application whether for wiring up one''s own components, custom APIs or third-party libraries.',
923 '#spring', 'sec', 2, 3);
924insert into EventSessionLeader (event, session, leader) values (2, 8, 24);
925
926insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 9, 'Groovy Code Generation', '2010-11-17 12:15:00Z', '2010-11-17 12:30:00Z',
927 'This talk is about why AST transformations are important, what you can do with them, and where the language world is headed. We''ll dive into some of the useful Groovy annotations and libraries being written that harness AST transformations, such as the Spock Testing framework, GContracts for Design by Contract in Groovy, and the new Groovy 1.8 features.',
928 '#groovy', 'lang', 2, 4);
929insert into EventSessionLeader (event, session, leader) values (2, 9, 17);
930
931insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 10, 'Spring 3.1 Themes and Trends', '2010-11-17 15:40:00Z', '2010-11-17 16:40:00Z',
932 'Spring 3.1 continues Spring''s mission with a focus on next-generation web applications. The key themes include conversation management and comprehensive support for Servlet 3.0 and JSF 2.0. This talk presents Spring 3 as a modern annotation-oriented application framework in the world of Java EE 6 and RIA. General component model trends will be discussed along with selected Spring 3.1 feature highlights in the web space.',
933 '#spring', 'core', 2, 3);
934insert into EventSessionLeader (event, session, leader) values (2, 10, 2);
935
936insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 11, 'Improve the Performance of your Spring App', '2010-11-17 16:50:00Z', '2010-11-17 17:50:00Z',
937 'A pragmatic look on how to achieve easy gains in a Spring application through caching. This session will analyze the usual bottlenecks found in common application stacks and ways to address them. Various caching patterns will be discussed, with focus not just on performance but also scalability.',
938 '#spring', 'core', 2, 3);
939insert into EventSessionLeader (event, session, leader) values (2, 11, 24);
940
941
942insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 12, 'Comparing JVM Web Frameworks', '2010-11-18 9:50:00Z', '2010-11-18 10:50:00Z',
943 'The rise of Java Web Frameworks has come and gone, yet many are still widely used today. This session looks at the top JVM web frameworks and compares their pros and cons. Frameworks included: Struts 2, Spring MVC, Wicket, JSF, Tapestry, GWT, Grails and Rails.',
944 '#web', 'web', 2, 3);
945insert into EventSessionLeader (event, session, leader) values (2, 12, 87);
946
947insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 13, 'Grails 1.3 Update', '2010-11-18 11:00:00Z', '2010-11-18 12:00:00Z',
948 'Grails provides a dynamic and agile development framework for web applications that is based on the most stable and productive open source libraries, including the Spring framework. This session will describe the latest features available in the new Grails 1.3 release and will describe the roadmap for upcoming releases.',
949 '#grails', 'web', 2, 3);
950insert into EventSessionLeader (event, session, leader) values (2, 13, 42);
951
952insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 14, 'Standard DI with @Inject and JSR-330', '2010-11-18 12:15:00Z', '2010-11-18 12:30:00Z',
953 'Backed by the authors of popular DI frameworks such as Google Guice, Spring and Pico container, JSR-330 or "Dependency Injection for Java" standardizes a set of annotations and a type-safe API to make injectable classes portable across frameworks. This presentation will give attendees a quick tour of the new javax.inject package and an overview of its usage in both Java EE 6 (of which it is a part of) and Java SE.',
954 '#inject', 'sec', 2, 3);
955insert into EventSessionLeader (event, session, leader) values (2, 14, 24);
956
957insert into EventSession (event, id, title, startTime, endTime, description, hashtag, track, venue, room) values (2, 15, 'Modern Application Development with Spring Incorporating Social, Mobile and Cloud', '2010-11-18 14:10:00Z', '2010-11-18 15:10:00Z',
958 'Modern applications need to be easy to use, data rich, provide access anywhere and anytime, and enable collaboration with other people. This session will cover the latest extensions to the immensely popular Spring framework that are designed to address modern application requirements.',
959 '#spring', 'part', 2, 7);
960insert into EventSessionLeader (event, session, leader) values (2, 15, 81);
961
962
963insert into EventSession (event, id, title, startTime, endTime, description, hashtag, venue, room) values (2, 16, 'The Future of Java Discussion Panel', '2010-11-19 8:30:00Z', '2010-11-19 9:30:00Z',
964 'Lets discuss the future of Java, the language, platform, eco-system, community with input from Oracle, Google, SpringSource, a JCP member, a JUG leader and functional language expert. The discussion panel will be moderated by our JavaPosse friends: Dick Wall and Joe Nuxoll.',
965 '#future', 2, 3);
966insert into EventSessionLeader (event, session, leader) values (2, 16, 2);
src/main/webapp/WEB-INF/layouts/tiles.xml
(3 / 3)
  
33
44<tiles-definitions>
55
6 <definition name="page" templateExpression="/WEB-INF/layouts/${currentDevice.mobileBrowser ? 'mobile/' : 'standard/'}page.jsp">
7 <put-attribute name="header" expression="/WEB-INF/layouts/${currentDevice.mobileBrowser ? 'mobile/' : 'standard/'}header.jsp" />
8 <put-attribute name="footer" expression="/WEB-INF/layouts/${currentDevice.mobileBrowser ? 'mobile/' : 'standard/'}footer.jsp" />
6 <definition name="page" templateExpression="/WEB-INF/layouts/${currentDevice.mobile ? 'mobile/' : 'standard/'}page.jsp">
7 <put-attribute name="header" expression="/WEB-INF/layouts/${currentDevice.mobile ? 'mobile/' : 'standard/'}header.jsp" />
8 <put-attribute name="footer" expression="/WEB-INF/layouts/${currentDevice.mobile ? 'mobile/' : 'standard/'}footer.jsp" />
99 </definition>
1010
1111</tiles-definitions>
src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
(9 / 9)
  
11<?xml version="1.0" encoding="UTF-8"?>
2<beans:beans xmlns="http://www.springframework.org/schema/mvc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:beans="http://www.springframework.org/schema/beans" xmlns:task="http://www.springframework.org/schema/task"
4 xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
2<beans:beans xmlns="http://www.springframework.org/schema/mvc"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:beans="http://www.springframework.org/schema/beans"
5 xmlns:task="http://www.springframework.org/schema/task"
6 xmlns:device="http://www.springframework.org/schema/mobile/device"
7 xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
8 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
59 http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
10 http://www.springframework.org/schema/mobile/device http://www.springframework.org/schema/mobile/device/spring-mobile-device-1.0.xsd">
711
812 <!-- DispatcherServlet Context: defines this servlet's request-processing infrastructure -->
913
2525 <beans:bean class="com.springsource.greenhouse.signin.AccountExposingHandlerInterceptor" />
2626 <beans:bean class="com.springsource.greenhouse.home.DateTimeZoneHandlerInterceptor" />
2727 <beans:bean class="com.springsource.greenhouse.home.UserLocationHandlerInterceptor" />
28 <beans:bean class="org.springframework.mobile.mvc.DeviceResolvingHandlerInterceptor">
29 <beans:constructor-arg>
30 <beans:bean class="org.springframework.mobile.config.DeviceResolverFactoryBean" />
31 </beans:constructor-arg>
32 </beans:bean>
28 <beans:bean class="org.springframework.mobile.device.mvc.DeviceResolvingHandlerInterceptor" />
3329 </interceptors>
3430
3531 <!-- Maps view names to Tiles Definitions -->
src/main/webapp/WEB-INF/views/signin/signin.jsp
(3 / 3)
  
1313 <c:if test="${signinError}">
1414 <div class="error">
1515 Your sign in information was incorrect.
16 Please try again<c:if test="${!currentDevice.mobileBrowser}"> or <a href="<c:url value="/signup" />">sign up</a></c:if>.
16 Please try again<c:if test="${!currentDevice.mobile}"> or <a href="<c:url value="/signup" />">sign up</a></c:if>.
1717 </div>
1818 </c:if>
1919 </div>
2020 <fieldset>
2121 <label for="login">Username or Email</label>
22 <input id="login" name="j_username" type="text" size="25" <c:if test="${currentDevice.apple}">autocorrect="off" autocapitalize="off"</c:if> <c:if test="${not empty signinErrorMessage}">value="${SPRING_SECURITY_LAST_USERNAME}"</c:if> />
22 <input id="login" name="j_username" type="text" size="25" autocorrect="off" autocapitalize="off" <c:if test="${not empty signinErrorMessage}">value="${SPRING_SECURITY_LAST_USERNAME}"</c:if> />
2323 <label for="password">Password</label>
2424 <input id="password" name="j_password" type="password" size="25" />
2525 </fieldset>
2727 <p><a href="<c:url value="/reset" />">Forgot your password?</a></p>
2828</form>
2929
30<c:if test="${!currentDevice.mobileBrowser}">
30<c:if test="${!currentDevice.mobile}">
3131<div id="fb-root"></div>
3232<form id="fb_signin" action="<c:url value="/signin/facebook" />" method="post">
3333<%-- Unfortunately, offline access is the only way to get an access token that doesn't expire.
src/main/webapp/WEB-INF/views/signup/signupFormFragment.jsp
(1 / 1)
  
77 <form:input path="firstName" />
88 <form:label path="lastName">Last Name <form:errors path="lastName" cssClass="error" /></form:label>
99 <form:input path="lastName" />
10 <form:label path="email">Email (never shared, used for correspondance) <form:errors path="email" cssClass="error" /></form:label>
10 <form:label path="email">Email (never shared, used for correspondence) <form:errors path="email" cssClass="error" /></form:label>
1111 <form:input path="email" />
1212 <form:label path="confirmEmail">Confirm Email <form:errors path="confirmEmail" cssClass="error" /></form:label>
1313 <form:input path="confirmEmail" />

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment