Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
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 c3ed126b
authored
May 10, 2013
by
Petri Jarvisalo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed edit user
1 parent
53737ab2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
code/MoyaWeb/WebContent/resources/cditools/user/edit.xhtml
code/MoyaWeb/WebContent/resources/cditools/user/edit.xhtml
View file @
c3ed126
...
...
@@ -19,17 +19,17 @@
<h:panelGroup>
<ui:fragment
rendered=
"#{not empty userView.user.id}"
>
<p:
overlayPanel
id=
"chartPanel"
for=
"webcamButton"
dynamic=
"true
"
>
<p:
dialog
id=
"chartPanel"
for=
"webcamButton"
modal=
"true"
dynamic=
"true"
widgetVar=
"webcamDialog"
onHide=
"pc.hide()
"
>
<p:photoCam
widgetVar=
"pc"
listener=
"#{userView.oncapture}"
update=
"@all"
/>
<p:commandButton
type=
"button"
value=
"Capture"
onclick=
"pc.capture()"
/>
</p:
overlayPanel
>
</p:
dialog
>
<h:outputText
rendered=
"#{empty userView.user.currentImage}"
value=
"#{i18n['user.noCurrentImage']}"
/>
<ui:fragment
rendered=
"#{!empty userView.user.currentImage}"
>
<img
style=
"width: 150px;"
src=
"#{request.contextPath}/dydata/userimage/#{userView.user.currentImage.id}.img"
alt=
"image"
/>
</ui:fragment>
<br
/>
<p:commandButton
id=
"webcamButton"
value=
"#{i18n['userimage.webcam']}"
type=
"button"
/>
<p:commandButton
id=
"webcamButton"
value=
"#{i18n['userimage.webcam']}"
onclick=
"webcamDialog.show()"
type=
"button"
/>
<br
/>
<br
/>
...
...
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