|
From: Velja R. <ve...@gm...> - 2004-10-15 00:52:21
|
1. File: preferences-content.jsp taglib declaration for
struts-template.tld removed.
Because it is unused and undeclared in web.xml.
2. Image on first page is spoiled. (Seth this one is addressed to you)
3. membership.jsp, This part should be better.
<logic:notEmpty name="KEY_USER" property="currentCourse.studentList">
<logic:iterate name="KEY_USER"
property="currentCourse.studentList" id="student" indexId="i">
<% int color = i.intValue()%2; %>
<tr class="data<%=color%>">
<td><html:multibox property="personId"
value="<%=student.getId()%>"/></td>
<td><a
href="/opentac2/action/preferences.do?personId=<bean:write
name="student" property="id"/>"><bean:write name="student"
property="lastName"/></a></td>
<td><a
href="/opentac2/action/preferences.do?personId=<bean:write
name="student" property="id"/>"><bean:write name="student"
property="firstName"/></a></td>
<td><a
href="/opentac2/action/preferences.do?personId=<bean:write
name="student" property="id"/>"><bean:write name="student"
property="sid"/></a></td>
<td><a
href="/opentac2/action/preferences.do?personId=<bean:write
name="student" property="id"/>"><bean:write name="student"
property="email"/></a></td>
<td><a
href="/opentac2/action/preferences.do?personId=<bean:write
name="student" property="id"/>"><bean:write name="student"
property="active"/></a></td>
</tr>
</logic:iterate>
</logic:notEmpty>
3. Because I know that I'm real pain in the ... I'll stop with "This
is bad" and i'm starting the OpentacBoard module.
Package: edu.gmu.opentac2.board
JSPs: /WEB-INF/jsp/board
struts-config for module: /WEB-INF/conf/struts-config-board.xml (Do
not delete declaration in web.xml!)
ApplicationResources: All content for board module ...
#####################################################
################# Opentac2Board ##################
#####################################################
after this.
4. Added to web.xml (I need this because I am going to use standard fmt)
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>ApplicationResources</param-value>
</context-param>
5. Added to Project.xml (I need this because I am going to use standard fmt)
<dependency>
<groupId>taglibs</groupId>
<artifactId>fmt</artifactId>
<version>1.1.0</version>
<url>http://jakarta.apache.org/taglibs/</url>
<type>tld</type>
<properties>
<war.bundle>true</war.bundle>
</properties>
</dependency>
6. Please do not override those changes.Please consult me before
changing enything in board module.
|