Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Antti Väyrynen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 88d88eb2
authored
Dec 19, 2015
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
see bracnhname
1 parent
ae9dbe56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
code/moya-web/WebContent/resources/templates/infoview/template.xhtml
code/moya-web/WebContent/resources/templates/infoview/template.xhtml
View file @
88d88eb
...
@@ -22,6 +22,27 @@
...
@@ -22,6 +22,27 @@
<h:body>
<h:body>
<h:form
id=
"conversationKeepaliver"
>
<p:remoteCommand
name=
"cdiKeepalive"
onerror=
"PF('keepAliveDialog').show();"
update=
":cdiloop"
actionListener=
"#{conversationKeepaliveView.ping()}"
/>
</h:form>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
setInterval
(
function
()
{
cdiKeepalive
();
},
20000
);
});
</script>
<p:dialog
widgetVar=
"keepAliveDialog"
showEffect=
"fade"
hideEffect=
"explode"
header=
"#{i18n['template.keepaliveError.title']}"
modal=
"true"
>
<br
/>
#{i18n['template.keepaliveError']}
<br
/><br
/>
<p:commandButton
value=
"OK"
type=
"button"
styleClass=
"ui-confirmdialog-yes"
icon=
"ui-icon-check"
onclick=
"location.reload();"
/>
</p:dialog>
<div
id=
"header"
class=
"bgColor1"
>
<div
id=
"header"
class=
"bgColor1"
>
<div
id=
"header_left"
>
<div
id=
"header_left"
>
...
@@ -66,6 +87,10 @@
...
@@ -66,6 +87,10 @@
<div
style=
"margin-left: 10px;"
>
<div
style=
"margin-left: 10px;"
>
<ui:insert
name=
"content"
/>
<ui:insert
name=
"content"
/>
<br
/><br
/><br
/>
<h:outputText
id=
"cdiloop"
value=
"#{conversationKeepaliveView.date}"
>
<f:convertDateTime
pattern=
"#{sessionHandler.datetimeFormat}"
timeZone=
"#{sessionHandler.timezone}"
/>
</h:outputText>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment