Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 08e493c3
authored
May 13, 2014
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore entry submitting UI
1 parent
59f3579c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
code/MoyaWeb/WebContent/voting/submitEntry.xhtml
code/MoyaWeb/WebContent/voting/submitEntry.xhtml
View file @
08e493c
...
@@ -14,12 +14,15 @@
...
@@ -14,12 +14,15 @@
<ui:define
name=
"content"
>
<ui:define
name=
"content"
>
<!-- <h:outputStylesheet library="style" name="insomnia2/css/actionlog.css" /> -->
<!-- <h:outputStylesheet library="style" name="insomnia2/css/actionlog.css" /> -->
<h1>
#{i18n['voting.compoentryadd.title']}
</h1>
<h1>
#{i18n['voting.compoentryadd.title']}
</h1>
<p>
#{i18n['voting.compoentryadd.description']}
<h:outputText
value=
"#{compoView.compo.name}"
/></p>
<p>
<p>
#{i18n['voting.compoentryadd.description']}
<h:outputText
value=
"#{compoView.compo.description}"
/>
<h:outputText
value=
"#{compoView.compo.name}"
/>
</p>
</p>
<p>
<h:outputText
value=
"#{compoView.compo.description}"
/>
</p>
<h:form>
<h:form>
<
!-- <
h:panelGrid columns="3">
<h:panelGrid
columns=
"3"
>
<h:outputLabel
value=
"Title"
for=
"name"
/>
<h:outputLabel
value=
"Title"
for=
"name"
/>
<h:inputText
value=
"#{compoView.entry.title}"
id=
"name"
/>
<h:inputText
value=
"#{compoView.entry.title}"
id=
"name"
/>
<h:message
for=
"name"
/>
<h:message
for=
"name"
/>
...
@@ -36,17 +39,17 @@
...
@@ -36,17 +39,17 @@
<h:inputTextarea
value=
"#{compoView.entry.screenMessage}"
id=
"screenmessage"
/>
<h:inputTextarea
value=
"#{compoView.entry.screenMessage}"
id=
"screenmessage"
/>
<h:message
for=
"screenmessage"
/>
<h:message
for=
"screenmessage"
/>
<h:commandButton
rendered=
"#{empty compoView.entry.id}"
action=
"#{compoView.createEntry()}"
value=
"#{i18n['voting.compoentryadd.button']}"
/>
<h:commandButton
rendered=
"#{empty compoView.entry.id}"
action=
"#{compoView.createEntry()}"
value=
"#{i18n['voting.compoentryadd.button']}"
/>
<h:commandButton rendered="#{!empty compoView.entry.id}" action="#{compoView.saveEntry()}" value="#{i18n['voting.compoentrysave.button']}" />
<h:commandButton
rendered=
"#{!empty compoView.entry.id}"
action=
"#{compoView.saveEntry()}"
value=
"#{i18n['voting.compoentrysave.button']}"
/>
</h:panelGrid>
</h:panelGrid>
-->
<h:commandButton
rendered=
"#{empty compoView.entry.id}"
action=
"#{compoView.createEntry()}"
value=
"Ilmoittaudu kilpailuun"
/>
<h:commandButton
rendered=
"#{empty compoView.entry.id}"
action=
"#{compoView.createEntry()}"
value=
"Ilmoittaudu kilpailuun"
/>
</h:form>
</h:form>
<ui:fragment
rendered=
"#{!empty compoView.entry.id}"
>
<ui:fragment
rendered=
"#{!empty compoView.entry.id}"
>
<!--
<h:form enctype="multipart/form-data">
<h:form
enctype=
"multipart/form-data"
>
<p:fileUpload
value=
"#{compoView.uploadedFile}"
id=
"uploadedfile"
mode=
"simple"
/>
<p:fileUpload
value=
"#{compoView.uploadedFile}"
id=
"uploadedfile"
mode=
"simple"
/>
<h:commandButton
action=
"#{compoView.submitEntryfile}"
value=
"#{i18n['compofile.upload']}"
/>
<h:commandButton
action=
"#{compoView.submitEntryfile}"
value=
"#{i18n['compofile.upload']}"
/>
</h:form>
</h:form>
...
@@ -61,8 +64,8 @@
...
@@ -61,8 +64,8 @@
<p:fileDownload
value=
"#{compoFileDownloadView.dlfile}"
/>
<p:fileDownload
value=
"#{compoFileDownloadView.dlfile}"
/>
</h:commandButton>
</h:commandButton>
</h:form>
</h:form>
-->
Ilmoittautuminen otettu vastaan.
<!-- Ilmoittautuminen otettu vastaan.-->
</ui:fragment>
</ui:fragment>
</ui:define>
</ui:define>
...
...
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