Author: jmitchell Date: Wed Mar 21 20:10:40 2007 New Revision: 521101 URL: http://svn.apache.org/viewvc?view=rev&rev=521101 Log: WW-1834 Fix simple formatting in config and quick fix for recently moved dojo taglib
Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml struts/struts2/trunk/apps/showcase/src/main/webapp/empmanager/editEmployee.jsp Modified: struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml?view=diff&rev=521101&r1=521100&r2=521101 ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml (original) +++ struts/struts2/trunk/apps/showcase/src/main/resources/struts.xml Wed Mar 21 20:10:40 2007 @@ -108,7 +108,7 @@ <interceptor-ref name="basicStack"/> </action> <action name="edit-*" class="org.apache.struts2.showcase.action.EmployeeAction"> - <param name="empId">{1}</param> + <param name="empId">{1}</param> <result>/empmanager/editEmployee.jsp</result> <interceptor-ref name="crudStack"><param name="validation.excludeMethods">execute</param></interceptor-ref> </action> Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/empmanager/editEmployee.jsp URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/empmanager/editEmployee.jsp?view=diff&rev=521101&r1=521100&r2=521101 ============================================================================== --- struts/struts2/trunk/apps/showcase/src/main/webapp/empmanager/editEmployee.jsp (original) +++ struts/struts2/trunk/apps/showcase/src/main/webapp/empmanager/editEmployee.jsp Wed Mar 21 20:10:40 2007 @@ -1,4 +1,5 @@ <%@ taglib prefix="s" uri="/struts-tags" %> +<%@ taglib prefix="sx" uri="/struts-dojo-tags" %> <%@ page contentType="text/html;charset=UTF-8" language="java" %> @@ -23,7 +24,7 @@ <s:textfield label="Employee Id" name="currentEmployee.empId"/> <s:textfield label="%{getText('employee.firstName')}" name="currentEmployee.firstName"/> <s:textfield label="%{getText('employee.lastName')}" name="currentEmployee.lastName"/> - <s:datetimepicker label="Birthdate" name="currentEmployee.birthDate"/> + <sx:datetimepicker label="Birthdate" name="currentEmployee.birthDate"/> <s:textfield label="Salary" name="currentEmployee.salary"/> <s:checkbox fieldValue="true" label="Married" name="currentEmployee.married"/> <s:combobox list="availablePositions" label="Position" name="currentEmployee.position"/>