Mercurial > hg > LGServices
diff src/main/webapp/methods/sectionTableDetails.jsp @ 0:3e62083dbcbf
First commit. This project comes from LGServer. We removed the framework icefaces. Now, LGServices uses just JSP and jquery.
author | "jurzua <jurzua@mpiwg-berlin.mpg.de>" |
---|---|
date | Thu, 23 Apr 2015 15:46:01 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/webapp/methods/sectionTableDetails.jsp Thu Apr 23 15:46:01 2015 +0200 @@ -0,0 +1,102 @@ + + +<%@page import="de.mpiwg.gazetteer.db.DBSection"%> +<%@page import="de.mpiwg.gazetteer.utils.DBService"%> +<%@page import="de.mpiwg.gazetteer.utils.DataProvider"%> +<% + if(request.getParameter("sectionId") != null){ + Long sectionId = Long.parseLong(request.getParameter("sectionId")); + DBSection section = DBService.getSectionWithContent(sectionId); + if(section != null){ +%> + + <table class="dialogTable0"> + <tr> + <td><label style="font-weight: bold;">Book</label></td> + <td> + <table class="dialogTable"> + <tr> + <td><label>Id</label></td> + <td><label><%=section.getBook().getId() %></label></td> + </tr> + <tr> + <td><label>Name</label></td> + <td><label><%=section.getBook().getName() %></label></td> + </tr> + <tr> + <td><label>Author</label></td> + <td><label><%=section.getBook().getAuthor() %></label></td> + </tr> + <tr> + <td><label>Edition</label></td> + <td><label><%=section.getBook().getEdition() %></label></td> + </tr> + <tr> + <td><label>In Jibengujiku</label></td> + <td><label><%=section.getBook().getIn_jibengujiku() %></label></td> + </tr> + <tr> + <td><label>Level 1</label></td> + <td><label><%=section.getBook().getLevel1() %></label></td> + </tr> + <tr> + <td><label>Level 2</label></td> + <td><label><%=section.getBook().getLevel2() %></label></td> + </tr> + <tr> + <td><label>Start Year</label></td> + <td><label><%=section.getBook().getStart_year() %></label></td> + </tr> + <tr> + <td><label>End Year</label></td> + <td><label><%=section.getBook().getEnd_year() %></label></td> + </tr> + <tr> + <td><label>Volume</label></td> + <td><label><%=section.getBook().getVolume() %></label></td> + </tr> + <tr> + <td><label>Period</label></td> + <td><label><%=section.getBook().getPeriod() %></label></td> + </tr> + </table> + </td> + </tr> + <tr> + <td></td> + <td><hr></td> + </tr> + <tr> + <td><label style="font-weight: bold;">Section</label></td> + <td> + <table class="dialogTable"> + <tr> + <td><label>Id</label></td> + <td><label><%=section.getId() %></label></td> + </tr> + <tr> + <td><label>Name</label></td> + <td><label><%=section.getName() %></label></td> + </tr> + <tr> + <td><label>Pages</label></td> + <td><label><%=section.getPages() %></label></td> + </tr> + <tr> + <td><label>Start Page</label></td> + <td><label><%=section.getStart_page() %></label></td> + </tr> + <tr> + <td><label>End Page</label></td> + <td><label><%=section.getEnd_page() %></label></td> + </tr> + </table> + </td> + </tr> + </table> + + +<% + } + } +%> \ No newline at end of file