Skip to content

Commit

Permalink
SAK-21364 fix JSP include statements so we don't need JAVA_OPTS worka…
Browse files Browse the repository at this point in the history
…round in Tomcat 7

git-svn-id: https://source.sakaiproject.org/svn/sections/trunk@100445 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
ottenhoff committed Nov 3, 2011
1 parent ae38e0b commit 1b2dd31
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions sections/sections-app/src/webapp/common/addSections.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<sakai:flowState bean="#{addSectionsBean}"/>

<t:aliasBean alias="#{viewName}" value="addSections">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3><h:outputText value="#{msgs.add_sections}"/></h3>
Expand All @@ -14,7 +14,7 @@
<h:outputText value="#{msgs.add_section_instructions}"/>
</t:div>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<h:outputText value="#{msgs.add}"/>
<h:selectOneMenu
Expand All @@ -38,7 +38,7 @@
<h:outputText value="#{msgs.add_section_category}"/>

<t:aliasBean alias="#{bean}" value="#{addSectionsBean}">
<%@include file="/inc/sectionEditor.jspf"%>
<%@ include file="/inc/sectionEditor.jspf"%>
</t:aliasBean>

<t:div styleClass="act">
Expand Down
2 changes: 1 addition & 1 deletion sections/sections-app/src/webapp/common/deleteSections.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<sakai:flowState bean="#{overviewBean}"/>

<t:aliasBean alias="#{viewName}" value="overview">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3 class="instructions">
Expand Down
6 changes: 3 additions & 3 deletions sections/sections-app/src/webapp/common/editManagers.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

<h:panelGroup rendered="#{ ! editManagersBean.externallyManaged}">
<t:aliasBean alias="#{viewName}" value="editManagers">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>
</h:panelGroup>

<h3><h:outputText value="#{msgs.edit_manager_page_header}"/></h3>
<h4><h:outputText value="#{editManagersBean.sectionDescription}"/></h4>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<h:panelGrid id="transferTable" columns="3" columnClasses="available,transferButtons,selected">

Expand All @@ -29,7 +29,7 @@
</t:div>
</h:panelGroup>

<%@include file="/inc/transferButtons.jspf"%>
<%@ include file="/inc/transferButtons.jspf"%>

<h:panelGroup>
<h:outputFormat value="#{msgs.edit_manager_selected_label}" style="white-space:nowrap;">
Expand Down
6 changes: 3 additions & 3 deletions sections/sections-app/src/webapp/common/editSection.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<sakai:flowState bean="#{editSectionBean}"/>

<t:aliasBean alias="#{viewName}" value="editSection">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3><h:outputText value="#{msgs.edit_section_page_header}"/></h3>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:aliasBean alias="#{bean}" value="#{editSectionBean}">
<%@include file="/inc/sectionEditor.jspf"%>
<%@ include file="/inc/sectionEditor.jspf"%>
</t:aliasBean>

<t:div styleClass="act">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h:inputHidden id="elementToFocus" value="#{editStudentSectionsBean.elementToFocus}"/>

<t:aliasBean alias="#{viewName}" value="editSection">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3>
Expand Down Expand Up @@ -45,14 +45,14 @@
</h:dataTable>
</t:div>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:div styleClass="instructions">
<h:outputText value="#{msgs.edit_student_sections_instructions}"/>
</t:div>

<t:aliasBean alias="#{filterBean}" value="#{editStudentSectionsBean}">
<%@include file="/inc/sectionFilter.jspf"%>
<%@ include file="/inc/sectionFilter.jspf"%>
</t:aliasBean>

<sec:rowGroupTable cellpadding="0" cellspacing="0"
Expand Down
6 changes: 3 additions & 3 deletions sections/sections-app/src/webapp/common/editStudents.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<sakai:flowState bean="#{editStudentsBean}"/>

<t:aliasBean alias="#{viewName}" value="editStudents">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3><h:outputText value="#{msgs.edit_student_page_header}"/></h3>
<h4><h:outputText value="#{editStudentsBean.sectionDescription}"/></h4>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<h:panelGrid id="transferTable" columns="3" columnClasses="available,transferButtons,selected">

Expand All @@ -28,7 +28,7 @@
</t:div>
</h:panelGroup>

<%@include file="/inc/transferButtons.jspf"%>
<%@ include file="/inc/transferButtons.jspf"%>

<h:panelGroup>
<h:panelGrid styleClass="sectionContainerNav" columns="3" columnClasses="sectionLeftNav,sectionRightNav,sectionRightNav">
Expand Down
4 changes: 2 additions & 2 deletions sections/sections-app/src/webapp/common/options.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<sakai:flowState bean="#{optionsBean}"/>

<t:aliasBean alias="#{viewName}" value="options">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<h3><h:outputText value="#{msgs.options_page_header}"/></h3>
<h4><h:outputText value="#{msgs.options_page_subheader}"/></h4>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:div rendered="#{optionsBean.confirmMode}" styleClass="validation">
<h:panelGrid columns="1">
Expand Down
6 changes: 3 additions & 3 deletions sections/sections-app/src/webapp/common/overview.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<sakai:flowState bean="#{overviewBean}"/>

<t:aliasBean alias="#{viewName}" value="overview">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<div class="instructions">
Expand All @@ -17,10 +17,10 @@
<h:outputText value="#{overviewBean.instructions}"/>
</div>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:aliasBean alias="#{filterBean}" value="#{overviewBean}">
<%@include file="/inc/sectionFilter.jspf"%>
<%@ include file="/inc/sectionFilter.jspf"%>
</t:aliasBean>

<sec:rowGroupTable cellpadding="0" cellspacing="0"
Expand Down
4 changes: 2 additions & 2 deletions sections/sections-app/src/webapp/common/roster.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<sakai:flowState bean="#{rosterBean}"/>

<t:aliasBean alias="#{viewName}" value="roster">
<%@include file="/inc/navMenu.jspf"%>
<%@ include file="/inc/navMenu.jspf"%>
</t:aliasBean>

<div class="instructions">
Expand All @@ -14,7 +14,7 @@
rendered="#{ ! rosterBean.externallyManaged}"/>
</div>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:div>
<h:outputText value="#{msgs.roster_view_students}"/>
Expand Down
2 changes: 1 addition & 1 deletion sections/sections-app/src/webapp/common/studentView.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h:outputText value="#{studentViewBean.instructions}"/>
</t:div>

<%@include file="/inc/globalMessages.jspf"%>
<%@ include file="/inc/globalMessages.jspf"%>

<t:div>
<h:outputText value="#{msgs.student_view_view}"/>
Expand Down

0 comments on commit 1b2dd31

Please sign in to comment.