Markup cleanup, style tweaks and some refactoring of the home page for Wilma. Turns out that all requests for tabs were being routed to the new HomePageController since it had "/index.jsp" set as its url-pattern under the servlet-mapping in web.xml. This isn't going to work as it made every tab render using page-home.ftl. Restored TabController servlet mapping in web.xml temporarily and will discuss potential solutions with Rebecca. NIHVIVO-556 NIHVIVO-1234

This commit is contained in:
nac26 2010-10-27 13:21:55 +00:00
parent 10c352dbf9
commit f7517ba34d
13 changed files with 1103 additions and 892 deletions

View file

@ -353,7 +353,7 @@
</servlet>
<servlet-mapping>
<servlet-name>HomePageController</servlet-name>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/index.jsp?primary=1</url-pattern>
</servlet-mapping>
<servlet>
@ -963,6 +963,18 @@
<servlet-name>TabEntitiesController</servlet-name>
<url-pattern>/TabEntitiesController</url-pattern>
</servlet-mapping>
<!-- NOTICE: index.jsp is mapped to TabController so that we
can have the urls that use to be in the system still work even
though we no longer use index.jsp -->
<servlet>
<servlet-name>TabController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.controller.TabController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TabController</servlet-name>
<url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
<!-- <servlet>
<servlet-name>EntityPropertyListController</servlet-name>