comparison src/main/webapp/pages/topicList.jsp @ 46:6199b0ddac94

minor bug fixed
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 28 Dec 2015 12:51:45 +0100
parents 9dbbbfd474f4
children ef113c53629b
comparison
equal deleted inserted replaced
45:d3ac905f0277 46:6199b0ddac94
38 sessionBean.getTopicListPage().reloadTopics(); 38 sessionBean.getTopicListPage().reloadTopics();
39 } 39 }
40 40
41 %> 41 %>
42 42
43 <% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %>
44 <label class="subTitel">There's no topic in the system!</label>
45 <% } else { %>
46
47 <div id="dialogCreateTopic" title="Create a New Topic:"> 43 <div id="dialogCreateTopic" title="Create a New Topic:">
48 <form name="createTopicForm" id="createTopicForm" 44 <form name="createTopicForm" id="createTopicForm"
49 action="<%= sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" 45 action="<%= sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp"
50 method="post"> 46 method="post">
51 <input name="bean" type="hidden" value="topicListBean" /> 47 <input name="bean" type="hidden" value="topicListBean" />
89 </tr> 85 </tr>
90 86
91 </table> 87 </table>
92 </form> 88 </form>
93 </div> 89 </div>
90
91 <% if(sessionBean.getTopicListPage().getCompleteTopicList().isEmpty()) { %>
92 <label class="subTitel">There's no topic in the system!</label>
93 <% } else { %>
94
95
94 96
95 <form name="topicListForm" id="topicListForm" method="post" 97 <form name="topicListForm" id="topicListForm" method="post"
96 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" > 98 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" >
97 <input name="bean" type="hidden" value="topicListBean" /> 99 <input name="bean" type="hidden" value="topicListBean" />
98 100