Commit 134dabfe authored by Sam McCollum's avatar Sam McCollum

sm - add ID to page to allow navigation within movies page

parent 042e07c0
......@@ -22,13 +22,15 @@
<f:facet name="header">
Movies
</f:facet>
<h:outputLink target="_blank" value="#{request.contextPath}/web/library/movies/#{movie.id}">
<p:panel header="#{movie.metaData.title} (#{movie.metaData.getYear()})" style="text-align:center">
<h:panelGrid columns="1" style="width:100%">
<img src="https://image.tmdb.org/t/p/w185/#{movie.metaData.poster_path}"/>
</h:panelGrid>
</p:panel>
</h:outputLink>
<div id="movie_#{movie.metaData.getId()}">
<h:outputLink target="_blank" value="#{request.contextPath}/web/library/movies/#{movie.id}">
<p:panel header="#{movie.metaData.title} (#{movie.metaData.getYear()})" style="text-align:center">
<h:panelGrid columns="1" style="width:100%">
<img src="https://image.tmdb.org/t/p/w185/#{movie.metaData.poster_path}"/>
</h:panelGrid>
</p:panel>
</h:outputLink>
</div>
</p:dataGrid>
</h:form>
</ui:define>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment