Merge lp:~zeutschel/goobi-production/bug-1031240 into lp:goobi-production/1.8
- bug-1031240
- Merge into 1.8
Proposed by
Matthias Ronge
Status: | Superseded |
---|---|
Proposed branch: | lp:~zeutschel/goobi-production/bug-1031240 |
Merge into: | lp:goobi-production/1.8 |
Diff against target: |
341 lines (+244/-50) 2 files modified
newpages/inc_AktuelleSchritte/schritt_box_Eigenschaften.jsp (+183/-29) newpages/inc_Prozessverwaltung/schritt_box_Eigenschaften.jsp (+61/-21) |
To merge this branch: | bzr merge lp:~zeutschel/goobi-production/bug-1031240 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthias Ronge (community) | Needs Fixing | ||
Ralf Claussnitzer (community) | Needs Information | ||
Review via email:
|
This proposal has been superseded by a proposal from 2012-09-06.
Commit message
Description of the change
Bug fix for bug # 1031240
To post a comment you must log in.
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote : | # |
review:
Needs Information
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matthias Ronge (matthias-ronge) wrote : | # |
You’re right. It’s strange anyhow…
review:
Needs Fixing
- 89. By Matthias Ronge
-
Added missing code to second version of schritt_
box_Eigenschaft en.jsp in inc_AktuelleSch ritte folder, too - 90. By Matthias Ronge
-
Not functioning code removed
Unmerged revisions
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'newpages/inc_AktuelleSchritte/schritt_box_Eigenschaften.jsp' | |||
2 | --- newpages/inc_AktuelleSchritte/schritt_box_Eigenschaften.jsp 2011-12-22 13:29:56 +0000 | |||
3 | +++ newpages/inc_AktuelleSchritte/schritt_box_Eigenschaften.jsp 2012-09-06 07:41:27 +0000 | |||
4 | @@ -3,6 +3,8 @@ | |||
5 | 3 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> | 3 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> |
6 | 4 | <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%> | 4 | <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%> |
7 | 5 | <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%> | 5 | <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%> |
8 | 6 | <%@ taglib uri="http://sourceforge.net/projects/jsf-comp/easysi" prefix="si"%> | ||
9 | 7 | <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> | ||
10 | 6 | 8 | ||
11 | 7 | <%-- | 9 | <%-- |
12 | 8 | ~ This file is part of the Goobi Application - a Workflow tool for the support of | 10 | ~ This file is part of the Goobi Application - a Workflow tool for the support of |
13 | @@ -78,15 +80,15 @@ | |||
14 | 78 | </h:column> | 80 | </h:column> |
15 | 79 | </x:dataTable> | 81 | </x:dataTable> |
16 | 80 | 82 | ||
18 | 81 | <%-- Neu-Schaltknopf --%> | 83 | <%-- Neu-Schaltknopf --%><%-- |
19 | 82 | <h:commandLink action="#{AktuelleSchritteForm.SchrittEigenschaftNeu}" id="new" | 84 | <h:commandLink action="#{AktuelleSchritteForm.SchrittEigenschaftNeu}" id="new" |
20 | 83 | value="#{msgs.eigenschaftHinzufuegen}" | 85 | value="#{msgs.eigenschaftHinzufuegen}" |
21 | 84 | title="#{msgs.eigenschaftHinzufuegen}" | 86 | title="#{msgs.eigenschaftHinzufuegen}" |
23 | 85 | rendered="#{AktuelleSchritteForm.modusBearbeiten!='schritteeigenschaft' && 0==1}"> | 87 | rendered="#{AktuelleSchritteForm.modusBearbeiten!='schritteeigenschaft'}"> |
24 | 86 | <x:updateActionListener | 88 | <x:updateActionListener |
25 | 87 | property="#{AktuelleSchritteForm.modusBearbeiten}" | 89 | property="#{AktuelleSchritteForm.modusBearbeiten}" |
26 | 88 | value="schritteeigenschaft" /> | 90 | value="schritteeigenschaft" /> |
28 | 89 | </h:commandLink> | 91 | </h:commandLink> --%> |
29 | 90 | 92 | ||
30 | 91 | 93 | ||
31 | 92 | <%-- ++++++++++++++++++++++++++++++++++++++++++++++++++++ --%> | 94 | <%-- ++++++++++++++++++++++++++++++++++++++++++++++++++++ --%> |
32 | @@ -112,32 +114,184 @@ | |||
33 | 112 | <htm:tr> | 114 | <htm:tr> |
34 | 113 | <htm:td styleClass="eingabeBoxen_row2" colspan="2"> | 115 | <htm:td styleClass="eingabeBoxen_row2" colspan="2"> |
35 | 114 | 116 | ||
62 | 115 | <x:dataTable cellspacing="1px" cellpadding="1px" id="subtable" | 117 | <x:dataTable id="container" var="container" value="#{AktuelleSchritteForm.mySchritt.displayProperties.containers}"> |
63 | 116 | columnClasses="standardTable_Column,standardTable_Column,standardTable_ColumnCentered" | 118 | <h:column> |
64 | 117 | var="item" value="#{AktuelleSchritteForm.mySchritt.eigenschaftenList}"> | 119 | <x:dataTable id="eigenschaften" var="mystep_item" value="#{AktuelleSchritteForm.mySchritt.displayProperties.sortedProperties}" style="border-bottom: 1px solid #F4BBA5;"> |
65 | 118 | 120 | ||
66 | 119 | <h:column> | 121 | <h:column rendered="#{mystep_item.container==0 && mystep_item.container==container}"> |
67 | 120 | <h:outputText value="#{item.titel}" /> | 122 | <h:outputText value="#{mystep_item.titel}" /> |
68 | 121 | </h:column> | 123 | |
69 | 122 | 124 | </h:column> | |
70 | 123 | <h:column> | 125 | |
71 | 124 | <h:inputText value="#{item.wert}" style="width:500px" id="myvalue"/> | 126 | <h:column rendered="#{mystep_item.container==0 && mystep_item.container==container}"> |
72 | 125 | </h:column> | 127 | |
73 | 126 | </x:dataTable> | 128 | <%-- textarea --%> |
74 | 127 | 129 | <h:panelGroup id="prpvw15_1" | |
75 | 128 | <h:panelGrid columns="2" rendered="false"> | 130 | rendered="#{((mystep_item.type.name == 'string') || (mystep_item.type.name == 'unknown') || (mystep_item.type.name == 'null') || (mystep_item.type.name == 'messagenormal'))}"> |
76 | 129 | <%-- Felder --%> | 131 | |
77 | 130 | <h:outputLabel for="eigenschafttitel" value="#{msgs.titel}" /> | 132 | <h:inputText id="file" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValue}" required="#{mystep_item.required}" /> |
78 | 131 | <h:outputText id="eigenschafttitel" | 133 | <x:message id="prpvw15_1_1" for="file" style="color: red" replaceIdWithLabel="true" /> |
79 | 132 | value="#{AktuelleSchritteForm.mySchrittEigenschaft.titel}" /> | 134 | </h:panelGroup> |
80 | 133 | 135 | ||
81 | 134 | <h:outputLabel for="eigenschaftwert" value="#{msgs.wert}" /> | 136 | <%-- only text --%> |
82 | 135 | <h:panelGroup> | 137 | <h:panelGroup id="prpvw15_1e" rendered="#{((mystep_item.type.name == 'messageimportant') || (mystep_item.type.name == 'messageerror'))}"> |
83 | 136 | <h:inputText id="eigenschaftwert" | 138 | <htm:div id="test" style="width: 500px;margin-right:15px"> |
84 | 137 | style="width: 300px;margin-right:15px" | 139 | <h:outputText id="filee" value="#{mystep_item.selectedValue}" /> |
85 | 138 | value="#{AktuelleSchritteForm.mySchrittEigenschaft.wert}" /> | 140 | </htm:div> |
86 | 139 | </h:panelGroup> | 141 | </h:panelGroup> |
87 | 140 | </h:panelGrid> | 142 | |
88 | 143 | <%-- numbers only --%> | ||
89 | 144 | <h:panelGroup id="prpvw15_1m" rendered="#{mystep_item.type.name == 'integer' || mystep_item.type.name == 'number'}"> | ||
90 | 145 | <h:outputLabel for="Number" value="#{mystep_item.titel}" style="display:none" /> | ||
91 | 146 | <h:inputText id="Number" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValue}" required="#{mystep_item.required}"> | ||
92 | 147 | <f:validateLongRange minimum="0" /> | ||
93 | 148 | </h:inputText> | ||
94 | 149 | <x:message id="prpvw15_1_12" for="Number" style="color: red" showSummary="true" /> | ||
95 | 150 | </h:panelGroup> | ||
96 | 151 | |||
97 | 152 | <%-- SelectOneMenu --%> | ||
98 | 153 | <h:panelGroup id="prpvw15_2" rendered="#{(mystep_item.type.name == 'list')}"> | ||
99 | 154 | <h:selectOneMenu value="#{mystep_item.selectedValue}" id="prpvw15_2_1" style="width: 500px;margin-right:15px"> | ||
100 | 155 | <si:selectItems id="prpvw15_2_2" value="#{mystep_item.valuesList}" var="mystep_items" itemLabel="#{mystep_items}" itemValue="#{mystep_items}" /> | ||
101 | 156 | </h:selectOneMenu> | ||
102 | 157 | </h:panelGroup> | ||
103 | 158 | |||
104 | 159 | <%-- SelectManyMenu --%> | ||
105 | 160 | <h:panelGroup id="prpvw15_3" rendered="#{(mystep_item.type.name == 'listmultiselect')}"> | ||
106 | 161 | <h:selectManyListbox id="prpvw15_3_1" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValuesList}" | ||
107 | 162 | required="#{mystep_item.required}" size="5"> | ||
108 | 163 | <si:selectItems id="prpvw15_3_2" value="#{mystep_item.valuesList}" var="mystep_items" itemLabel="#{mystep_items}" itemValue="#{mystep_items}" /> | ||
109 | 164 | </h:selectManyListbox> | ||
110 | 165 | </h:panelGroup> | ||
111 | 166 | |||
112 | 167 | <%-- Boolean --%> | ||
113 | 168 | <h:panelGroup id="prpvw15_4" rendered="#{(mystep_item.type.name == 'boolean')}"> | ||
114 | 169 | <h:selectOneMenu value="#{mystep_item.selectedValue}" id="prpvw15_4_1" required="#{mystep_item.required}" style="width: 500px;margin-right:15px"> | ||
115 | 170 | <f:selectItem id="prpvw15_4_2" itemValue="true" itemLabel="#{msgs.yes}" /> | ||
116 | 171 | <f:selectItem id="prpvw15_4_3" itemValue="false" itemLabel="#{msgs.no}" /> | ||
117 | 172 | </h:selectOneMenu> | ||
118 | 173 | </h:panelGroup> | ||
119 | 174 | |||
120 | 175 | <%-- Date --%> | ||
121 | 176 | <h:panelGroup id="prpvw15_5" rendered="#{(mystep_item.type.name == 'date')}"> | ||
122 | 177 | <rich:calendar id="prpvw15_5_1" datePattern="dd.MM.yyyy" value="#{mystep_item.date}" enableManualInput="true"> | ||
123 | 178 | </rich:calendar> | ||
124 | 179 | </h:panelGroup> | ||
125 | 180 | </h:column> | ||
126 | 181 | <%-- delete --%> | ||
127 | 182 | <h:column rendered="#{mystep_item.container==0 && mystep_item.container==container}"> | ||
128 | 183 | <h:panelGroup> | ||
129 | 184 | <h:commandLink action="#{AktuelleSchritteForm.mySchritt.displayProperties.deleteProperty}" | ||
130 | 185 | rendered="#{mystep_item.type.name != 'messageerror' && mystep_item.type.name != 'messageimportant' && mystep_item.type.name != 'messagenormal'}"> | ||
131 | 186 | <h:graphicImage value="images/buttons/waste1a_20px.gif" /> | ||
132 | 187 | <x:updateActionListener value="#{mystep_item}" property="#{AktuelleSchritteForm.mySchritt.displayProperties.currentProperty}" /> | ||
133 | 188 | </h:commandLink> | ||
134 | 189 | |||
135 | 190 | </h:panelGroup> | ||
136 | 191 | <%-- duplicate --%> | ||
137 | 192 | <h:panelGroup> | ||
138 | 193 | <h:commandLink action="#{AktuelleSchritteForm.mySchritt.displayProperties.duplicateProperty}" | ||
139 | 194 | rendered="#{mystep_item.type.name != 'messageerror' && mystep_item.type.name != 'messageimportant' && mystep_item.type.name != 'messagenormal'}"> | ||
140 | 195 | <h:graphicImage value="/newpages/images/buttons/copy.gif" /> | ||
141 | 196 | <x:updateActionListener value="#{mystep_item}" property="#{AktuelleSchritteForm.mySchritt.displayProperties.currentProperty}" /> | ||
142 | 197 | </h:commandLink> | ||
143 | 198 | </h:panelGroup> | ||
144 | 199 | </h:column> | ||
145 | 200 | |||
146 | 201 | |||
147 | 202 | <%-- container with properties --%> | ||
148 | 203 | <h:column rendered="#{mystep_item.container!=0 && mystep_item.container==container}"> | ||
149 | 204 | <h:outputText value="#{mystep_item.titel}" /> | ||
150 | 205 | |||
151 | 206 | </h:column> | ||
152 | 207 | |||
153 | 208 | <h:column rendered="#{mystep_item.container!=0 && mystep_item.container==container}"> | ||
154 | 209 | |||
155 | 210 | <%-- textarea --%> | ||
156 | 211 | <h:panelGroup id="prpvw15_12" | ||
157 | 212 | rendered="#{((mystep_item.type.name == 'string') || (mystep_item.type.name == 'unknown') || (mystep_item.type.name == 'null') || (mystep_item.type.name == 'messagenormal'))}"> | ||
158 | 213 | |||
159 | 214 | <h:inputText id="file2" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValue}" required="#{mystep_item.required}" /> | ||
160 | 215 | <x:message id="prpvw15_1_122246" for="file2" style="color: red" replaceIdWithLabel="true" /> | ||
161 | 216 | </h:panelGroup> | ||
162 | 217 | |||
163 | 218 | <%-- only text --%> | ||
164 | 219 | <h:panelGroup id="prpvw15_12e" rendered="#{((mystep_item.type.name == 'messageimportant') || (mystep_item.type.name == 'messageerror'))}"> | ||
165 | 220 | <htm:div id="test2" style="width: 500px;margin-right:15px"> | ||
166 | 221 | <h:outputText id="filee2" value="#{mystep_item.selectedValue}" /> | ||
167 | 222 | </htm:div> | ||
168 | 223 | </h:panelGroup> | ||
169 | 224 | |||
170 | 225 | <%-- numbers only --%> | ||
171 | 226 | <h:panelGroup id="prpvw15_12m" rendered="#{mystep_item.type.name == 'integer' || mystep_item.type.name == 'number'}"> | ||
172 | 227 | <h:outputLabel for="Number2" value="#{mystep_item.titel}" style="display:none" /> | ||
173 | 228 | <h:inputText id="Number2" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValue}" required="#{mystep_item.required}"> | ||
174 | 229 | <f:validateLongRange minimum="0" /> | ||
175 | 230 | </h:inputText> | ||
176 | 231 | <x:message id="prpvw15_1_122" for="Number2" style="color: red" showSummary="true" /> | ||
177 | 232 | </h:panelGroup> | ||
178 | 233 | |||
179 | 234 | <%-- SelectOneMenu --%> | ||
180 | 235 | <h:panelGroup id="prpvw15_22" rendered="#{(mystep_item.type.name == 'list')}"> | ||
181 | 236 | <h:selectOneMenu value="#{mystep_item.selectedValue}" id="prpvw15_2_12" style="width: 500px;margin-right:15px"> | ||
182 | 237 | <si:selectItems id="prpvw15_2_22" value="#{mystep_item.valuesList}" var="mystep_items" itemLabel="#{mystep_items}" itemValue="#{mystep_items}" /> | ||
183 | 238 | </h:selectOneMenu> | ||
184 | 239 | </h:panelGroup> | ||
185 | 240 | |||
186 | 241 | <%-- SelectManyMenu --%> | ||
187 | 242 | <h:panelGroup id="prpvw15_32" rendered="#{(mystep_item.type.name == 'listmultiselect')}"> | ||
188 | 243 | <h:selectManyListbox id="prpvw15_3_12" style="width: 500px;margin-right:15px" value="#{mystep_item.selectedValuesList}" | ||
189 | 244 | required="#{mystep_item.required}" size="5"> | ||
190 | 245 | <si:selectItems id="prpvw15_3_22" value="#{mystep_item.valuesList}" var="mystep_items" itemLabel="#{mystep_items}" itemValue="#{mystep_items}" /> | ||
191 | 246 | </h:selectManyListbox> | ||
192 | 247 | </h:panelGroup> | ||
193 | 248 | |||
194 | 249 | <%-- Boolean --%> | ||
195 | 250 | <h:panelGroup id="prpvw15_42" rendered="#{(mystep_item.type.name == 'boolean')}"> | ||
196 | 251 | <h:selectOneMenu value="#{mystep_item.selectedValue}" id="prpvw15_4_145" required="#{mystep_item.required}" style="width: 500px;margin-right:15px"> | ||
197 | 252 | <f:selectItem id="prpvw15_4_22" itemValue="true" itemLabel="#{msgs.yes}" /> | ||
198 | 253 | <f:selectItem id="prpvw15_4_32" itemValue="false" itemLabel="#{msgs.no}" /> | ||
199 | 254 | </h:selectOneMenu> | ||
200 | 255 | </h:panelGroup> | ||
201 | 256 | |||
202 | 257 | <%-- Date --%> | ||
203 | 258 | <h:panelGroup id="prpvw15_52" rendered="#{(mystep_item.type.name == 'date')}"> | ||
204 | 259 | <rich:calendar id="prpvw15_5_12" datePattern="dd.MM.yyyy" value="#{mystep_item.date}" enableManualInput="true"> | ||
205 | 260 | </rich:calendar> | ||
206 | 261 | </h:panelGroup> | ||
207 | 262 | |||
208 | 263 | |||
209 | 264 | </h:column> | ||
210 | 265 | <%-- delete --%> | ||
211 | 266 | <h:column rendered="#{mystep_item.container!=0 && mystep_item.container==container}"> | ||
212 | 267 | <h:panelGroup> | ||
213 | 268 | <h:commandLink action="#{AktuelleSchritteForm.mySchritt.displayProperties.deleteProperty}" | ||
214 | 269 | rendered="#{mystep_item.type.name != 'messageerror' && mystep_item.type.name != 'messageimportant' && mystep_item.type.name != 'messagenormal'}"> | ||
215 | 270 | <h:graphicImage value="images/buttons/waste1a_20px.gif" /> | ||
216 | 271 | <x:updateActionListener value="#{mystep_item}" property="#{AktuelleSchritteForm.mySchritt.displayProperties.currentProperty}" /> | ||
217 | 272 | </h:commandLink> | ||
218 | 273 | |||
219 | 274 | </h:panelGroup> | ||
220 | 275 | <%-- duplicate --%> | ||
221 | 276 | <h:panelGroup> | ||
222 | 277 | <h:commandLink action="#{AktuelleSchritteForm.mySchritt.displayProperties.duplicateContainer}" | ||
223 | 278 | rendered="#{mystep_item.type.name != 'messageerror' && mystep_item.type.name != 'messageimportant' && mystep_item.type.name != 'messagenormal'}"> | ||
224 | 279 | <h:graphicImage value="/newpages/images/buttons/copy.gif" /> | ||
225 | 280 | <x:updateActionListener value="#{mystep_item}" property="#{AktuelleSchritteForm.mySchritt.displayProperties.currentProperty}" /> | ||
226 | 281 | </h:commandLink> | ||
227 | 282 | |||
228 | 283 | </h:panelGroup> | ||
229 | 284 | |||
230 | 285 | </h:column> | ||
231 | 286 | <htm:br rendered="#{mystep_item.container!=0 && mystep_item.container==container}" /> | ||
232 | 287 | <htm:br rendered="#{mystep_item.container!=0 && mystep_item.container==container}" /> | ||
233 | 288 | |||
234 | 289 | <htm:hr rendered="#{mystep_item.container!=0 && mystep_item.container==container}" /> | ||
235 | 290 | <htm:br rendered="#{mystep_item.container!=0 && mystep_item.container==container}" /> | ||
236 | 291 | </x:dataTable> | ||
237 | 292 | </h:column> | ||
238 | 293 | |||
239 | 294 | </x:dataTable> | ||
240 | 141 | 295 | ||
241 | 142 | </htm:td> | 296 | </htm:td> |
242 | 143 | </htm:tr> | 297 | </htm:tr> |
243 | 144 | 298 | ||
244 | === modified file 'newpages/inc_Prozessverwaltung/schritt_box_Eigenschaften.jsp' | |||
245 | --- newpages/inc_Prozessverwaltung/schritt_box_Eigenschaften.jsp 2012-03-06 12:13:51 +0000 | |||
246 | +++ newpages/inc_Prozessverwaltung/schritt_box_Eigenschaften.jsp 2012-09-06 07:41:27 +0000 | |||
247 | @@ -3,6 +3,8 @@ | |||
248 | 3 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> | 3 | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> |
249 | 4 | <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%> | 4 | <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm"%> |
250 | 5 | <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%> | 5 | <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="x"%> |
251 | 6 | <%@ taglib uri="http://sourceforge.net/projects/jsf-comp/easysi" prefix="si"%> | ||
252 | 7 | <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> | ||
253 | 6 | 8 | ||
254 | 7 | <%-- | 9 | <%-- |
255 | 8 | ~ This file is part of the Goobi Application - a Workflow tool for the support of | 10 | ~ This file is part of the Goobi Application - a Workflow tool for the support of |
256 | @@ -107,27 +109,65 @@ | |||
257 | 107 | <%-- Formular für die Bearbeitung der Eigenschaft --%> | 109 | <%-- Formular für die Bearbeitung der Eigenschaft --%> |
258 | 108 | <htm:tr> | 110 | <htm:tr> |
259 | 109 | <htm:td styleClass="eingabeBoxen_row2" colspan="2"> | 111 | <htm:td styleClass="eingabeBoxen_row2" colspan="2"> |
281 | 110 | <h:panelGrid columns="2"> | 112 | <x:aliasBean alias="#{myitem}" value="#{ProzessverwaltungForm.mySchritt.displayProperties.currentProperty}"> |
282 | 111 | 113 | <h:panelGrid columns="2"> | |
283 | 112 | <%-- Felder --%> | 114 | |
284 | 113 | <h:outputLabel for="eigenschafttitel" value="#{msgs.titel}" /> | 115 | |
285 | 114 | <h:panelGroup> | 116 | <%-- Felder --%> |
286 | 115 | <h:inputText id="eigenschafttitel" | 117 | <h:outputLabel for="eigenschafttitel" value="#{msgs.titel}" /> |
287 | 116 | style="width: 300px;margin-right:15px" | 118 | <h:panelGroup> |
288 | 117 | value="#{ProzessverwaltungForm.mySchritt.displayProperties.currentProperty.titel}" | 119 | <h:inputText id="eigenschafttitel" style="width: 500px;margin-right:15px" |
289 | 118 | required="true" /> | 120 | value="#{ProzessverwaltungForm.mySchritt.displayProperties.currentProperty.titel}" required="true" /> |
290 | 119 | <x:message for="eigenschafttitel" style="color: red" | 121 | <x:message for="eigenschafttitel" style="color: red" detailFormat="#{msgs.keinTitelAngegeben}" /> |
291 | 120 | detailFormat="#{msgs.keinTitelAngegeben}" /> | 122 | </h:panelGroup> |
292 | 121 | </h:panelGroup> | 123 | |
293 | 122 | 124 | ||
294 | 123 | <h:outputLabel for="eigenschaftwert" value="#{msgs.wert}" /> | 125 | |
295 | 124 | <h:panelGroup> | 126 | <h:outputText value="#{msgs.wert}" /> |
296 | 125 | <h:inputText id="eigenschaftwert" | 127 | <%-- textarea --%> |
297 | 126 | style="width: 300px;margin-right:15px" | 128 | <h:panelGroup id="prpvw15_1" rendered="#{((myitem.type.name == 'string') || (myitem.type.name == 'null'))}"> |
298 | 127 | value="#{ProzessverwaltungForm.mySchritt.displayProperties.currentProperty.wert}" /> | 129 | <h:inputText id="file" style="width: 500px;margin-right:15px" value="#{myitem.selectedValue}" required="#{myitem.required}" /> |
299 | 128 | </h:panelGroup> | 130 | </h:panelGroup> |
300 | 129 | </h:panelGrid> | 131 | |
301 | 130 | 132 | <%-- numbers only --%> | |
302 | 133 | <h:panelGroup id="prpvw15_1mnk" rendered="#{myitem.type.name == 'integer' || myitem.type.name == 'number'}"> | ||
303 | 134 | |||
304 | 135 | <h:inputText id="numberstuff122334mnktodo" style="width: 500px;margin-right:15px" value="#{myitem.selectedValue}" required="#{myitem.required}"> | ||
305 | 136 | <f:validateLongRange minimum="0" /> | ||
306 | 137 | </h:inputText> | ||
307 | 138 | </h:panelGroup> | ||
308 | 139 | |||
309 | 140 | <%-- SelectOneMenu --%> | ||
310 | 141 | <h:panelGroup id="prpvw15_2" rendered="#{(myitem.type.name == 'list')}"> | ||
311 | 142 | <h:selectOneMenu value="#{myitem.selectedValue}" style="width: 500px;margin-right:15px" id="prpvw15_2_1"> | ||
312 | 143 | <si:selectItems id="prpvw15_2_2" value="#{myitem.valuesList}" var="myitems" itemLabel="#{myitems}" itemValue="#{myitems}" /> | ||
313 | 144 | </h:selectOneMenu> | ||
314 | 145 | </h:panelGroup> | ||
315 | 146 | |||
316 | 147 | <%-- SelectManyMenu --%> | ||
317 | 148 | <h:panelGroup id="prpvw15_3" rendered="#{(myitem.type.name == 'listmultiselect')}"> | ||
318 | 149 | <h:selectManyListbox id="prpvw15_3_1" style="width: 500px;margin-right:15px" value="#{myitem.selectedValuesList}" required="#{myitem.required}" | ||
319 | 150 | size="10"> | ||
320 | 151 | <si:selectItems id="prpvw15_3_2" value="#{myitem.valuesList}" var="myitems" itemLabel="#{myitems}" itemValue="#{myitems}" /> | ||
321 | 152 | </h:selectManyListbox> | ||
322 | 153 | </h:panelGroup> | ||
323 | 154 | |||
324 | 155 | <%-- Boolean --%> | ||
325 | 156 | <h:panelGroup id="prpvw15_4" rendered="#{(myitem.type.name == 'boolean')}"> | ||
326 | 157 | <h:selectOneMenu value="#{myitem.selectedValue}" style="width: 500px;margin-right:15px" id="prpvw15_4_1" required="#{myitem.required}"> | ||
327 | 158 | <f:selectItem id="prpvw15_4_2" itemValue="true" itemLabel="#{msgs.yes}" /> | ||
328 | 159 | <f:selectItem id="prpvw15_4_3" itemValue="false" itemLabel="#{msgs.no}" /> | ||
329 | 160 | </h:selectOneMenu> | ||
330 | 161 | </h:panelGroup> | ||
331 | 162 | |||
332 | 163 | <%-- Date --%> | ||
333 | 164 | <h:panelGroup id="prpvw15_5" style="width: 500px;margin-right:15px" rendered="#{(myitem.type.name == 'date')}"> | ||
334 | 165 | <rich:calendar id="prpvw15_5_1" datePattern="dd.MM.yyyy" value="#{myitem.date}" enableManualInput="true"> | ||
335 | 166 | </rich:calendar> | ||
336 | 167 | </h:panelGroup> | ||
337 | 168 | |||
338 | 169 | </h:panelGrid> | ||
339 | 170 | </x:aliasBean> | ||
340 | 131 | </htm:td> | 171 | </htm:td> |
341 | 132 | </htm:tr> | 172 | </htm:tr> |
342 | 133 | 173 |
Doesn' work for me.
I merged the provided branch and the default propertyTemplat es.xml from /config but the behavior did not change.
Is there something missing?