Author: musachy Date: Tue Mar 10 15:25:43 2009 New Revision: 752139 URL: http://svn.apache.org/viewvc?rev=752139&view=rev Log: Add log4j dep
Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/log4j.properties Modified: struts/sandbox/trunk/s2-jquery-showcase/pom.xml struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date-input.jsp Modified: struts/sandbox/trunk/s2-jquery-showcase/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/pom.xml?rev=752139&r1=752138&r2=752139&view=diff ============================================================================== --- struts/sandbox/trunk/s2-jquery-showcase/pom.xml (original) +++ struts/sandbox/trunk/s2-jquery-showcase/pom.xml Tue Mar 10 15:25:43 2009 @@ -14,12 +14,12 @@ <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> - <version>2.1.6</version> + <version>2.1.7-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-convention-plugin</artifactId> - <version>2.1.6</version> + <version>2.1.7-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.struts</groupId> @@ -44,6 +44,11 @@ <version>4.5</version> <scope>test</scope> </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.9</version> + </dependency> </dependencies> <build> <finalName>s2-jquery-showcase</finalName> Added: struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/log4j.properties URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/log4j.properties?rev=752139&view=auto ============================================================================== --- struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/log4j.properties (added) +++ struts/sandbox/trunk/s2-jquery-showcase/src/main/resources/log4j.properties Tue Mar 10 15:25:43 2009 @@ -0,0 +1,8 @@ +log4j.rootLogger=ERROR, Console + +log4j.appender.Console=org.apache.log4j.ConsoleAppender + +log4j.appender.Console.layout=org.apache.log4j.PatternLayout +log4j.appender.Console.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n + +log4j.logger.org.apache.struts2.convention=DEBUG \ No newline at end of file Modified: struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date-input.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date-input.jsp?rev=752139&r1=752138&r2=752139&view=diff ============================================================================== --- struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date-input.jsp (original) +++ struts/sandbox/trunk/s2-jquery-showcase/src/main/webapp/WEB-INF/content/form/date-input.jsp Tue Mar 10 15:25:43 2009 @@ -9,7 +9,7 @@ </head> <body> <s:form id="indexForm" method="post" namespace="/form" action="date" theme="simple"> - <sjx:datepicker name="date" displayFormat="mm dd yy" theme="jquery-simple" value="date"/> + <sjx:datepicker name="date" displayFormat="mm dd yy" theme="jquery-simple" value="date" readonly="true" imageTooltip="Select a date"/> <s:submit /> </s:form> </body>