Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
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 3a6fd459
authored
Oct 26, 2012
by
Riku Silvola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lokalisaatioita
1 parent
d27bb797
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
code/LanBortalWeb/WebContent/foodadmin/createTemplate.xhtml
code/LanBortalWeb/WebContent/foodadmin/createTemplate.xhtml
View file @
3a6fd45
...
@@ -28,14 +28,15 @@
...
@@ -28,14 +28,15 @@
<h:panelGrid
columns=
"3"
>
<h:panelGrid
columns=
"3"
>
<h:outputLabel
for=
"name"
<h:outputLabel
for=
"name"
value=
"#{i18n['foodwavetemplate.name']}"
/>
value=
"#{i18n['foodwavetemplate.name']}"
/>
<h:inputText
id=
"name"
required=
"true
"
<h:inputText
id=
"name"
value=
"#{foodWaveView.template.name}
"
value=
"#{foodWaveView.template.name}
"
/>
required=
"true"
requiredMessage=
"Name required
"
/>
<h:message
for=
"name"
/>
<h:message
for=
"name"
/>
<h:outputLabel
for=
"description"
<h:outputLabel
for=
"description"
value=
"#{i18n['foodwavetemplate.description']}"
/>
value=
"#{i18n['foodwavetemplate.description']}"
/>
<h:inputText
id=
"description"
required=
"true"
<h:inputText
id=
"description"
value=
"#{foodWaveView.template.description}"
/>
value=
"#{foodWaveView.template.description}"
required=
"true"
requiredMessage=
"Description required"
/>
<h:message
for=
"description"
/>
<h:message
for=
"description"
/>
</h:panelGrid>
</h:panelGrid>
</p:tab>
</p:tab>
...
@@ -50,11 +51,11 @@
...
@@ -50,11 +51,11 @@
<h:outputText
value=
"#{i18n['foodwavetemplate.price']}"
/>
<h:outputText
value=
"#{i18n['foodwavetemplate.price']}"
/>
<h:outputText
value=
" "
/>
<h:outputText
value=
" "
/>
<h:inputText
id=
"productname"
required=
"true"
<h:inputText
id=
"productname"
value=
"#{foodWaveView.currentProduct.name}"
/>
value=
"#{foodWaveView.currentProduct.name}"
/>
<h:inputText
id=
"productdescription"
required=
"true"
<h:inputText
id=
"productdescription"
value=
"#{foodWaveView.currentProduct.description}"
/>
value=
"#{foodWaveView.currentProduct.description}"
/>
<h:inputText
id=
"price"
required=
"true"
<h:inputText
id=
"price"
value=
"#{foodWaveView.currentProduct.price}"
/>
value=
"#{foodWaveView.currentProduct.price}"
/>
<p:commandButton
value=
"#{i18n['foodwavetemplate.addproduct']}"
<p:commandButton
value=
"#{i18n['foodwavetemplate.addproduct']}"
...
@@ -71,7 +72,8 @@
...
@@ -71,7 +72,8 @@
<h:outputText
value=
"#{product.name}"
/>
<h:outputText
value=
"#{product.name}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<p:inputText
value=
"#{product.name}"
style=
"width:100%"
/>
<p:inputText
value=
"#{product.name}"
style=
"width:100%"
required=
"true"
requiredMessage=
"Name required"
/>
</f:facet>
</f:facet>
</p:cellEditor>
</p:cellEditor>
</p:column>
</p:column>
...
@@ -82,7 +84,8 @@
...
@@ -82,7 +84,8 @@
<h:outputText
value=
"#{product.description}"
/>
<h:outputText
value=
"#{product.description}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<p:inputText
value=
"#{product.description}"
style=
"width:100%"
/>
<p:inputText
value=
"#{product.description}"
style=
"width:100%"
required=
"true"
requiredMessage=
"Description required"
/>
</f:facet>
</f:facet>
</p:cellEditor>
</p:cellEditor>
</p:column>
</p:column>
...
@@ -92,7 +95,8 @@
...
@@ -92,7 +95,8 @@
<h:outputText
value=
"#{product.price}"
/>
<h:outputText
value=
"#{product.price}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<p:inputText
value=
"#{product.price}"
style=
"width:100%"
/>
<p:inputText
value=
"#{product.price}"
style=
"width:100%"
required=
"true"
requiredMessage=
"Price required"
/>
</f:facet>
</f:facet>
</p:cellEditor>
</p:cellEditor>
</p:column>
</p:column>
...
...
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