Merge branch 'develop' of ssh://git.dsv.su.se/git/scipro/scipro into local_develop
This commit is contained in:
commit
ac8716d4b0
src/main
@ -92,10 +92,8 @@ public class ConferencePanel extends Panel {
|
|||||||
webMarkupContainer.setOutputMarkupId(true);
|
webMarkupContainer.setOutputMarkupId(true);
|
||||||
webMarkupContainer.add(new PagingNavigator("pagingNavigator", dataView));
|
webMarkupContainer.add(new PagingNavigator("pagingNavigator", dataView));
|
||||||
add(webMarkupContainer);
|
add(webMarkupContainer);
|
||||||
if (boardMessageModel != null) {
|
if (boardMessageModel != null) {
|
||||||
|
|
||||||
int index = boardMessageDao.getBoardMessageSortOrderIndex(boardMessageModel.getObject());
|
int index = boardMessageDao.getBoardMessageSortOrderIndex(boardMessageModel.getObject());
|
||||||
System.out.println(index);
|
|
||||||
dataView.setCurrentPage(index/BOARDMESSAGESPERPAGE);
|
dataView.setCurrentPage(index/BOARDMESSAGESPERPAGE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,8 +64,8 @@
|
|||||||
<!-- Use deployment for production, development for development -->
|
<!-- Use deployment for production, development for development -->
|
||||||
<context-param>
|
<context-param>
|
||||||
<param-name>configuration</param-name>
|
<param-name>configuration</param-name>
|
||||||
<param-value>development</param-value>
|
<!--<param-value>development</param-value> -->
|
||||||
<!-- <param-value>deployment</param-value>-->
|
<param-value>deployment</param-value>
|
||||||
</context-param>
|
</context-param>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user