</tr>
<tr>
- <td colspan="5" class="table_header">
+ <td colspan="5" class="table_row">
<%
Iterator<Map.Entry<Field, Object>> fieldIterator = customer.iterator();
%>
<%@page import="java.lang.reflect.Field"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.Iterator"%>
+<%@page import="java.text.MessageFormat"%>
<%@page import="org.mxchange.pizzaapplication.beans.CustomerBean" %>
<%@page import="org.mxchange.pizzaapplication.application.PizzaServiceApplication"%>
<%@page import="org.mxchange.pizzaapplication.application.PizzaApplication"%>
PizzaApplication app = PizzaServiceApplication.getInstance(application);
// Is it post?
- if ("POST".equals(request.getMethod())) {
+ if ("POST".equals(request.getMethod())) { //NOI18N
// Is POST, so continue with handling
Iterator<Map.Entry<Field, Object>> fieldIterator = customer.iterator();
while (fieldIterator.hasNext()) {
+ // Get next field
Map.Entry<Field, Object> entry = fieldIterator.next();
// Debug message
- app.getLogger().debug("entry " + entry.getKey() + "=" + entry.getValue());
+ app.getLogger().debug(MessageFormat.format("entry {0}={1}", entry.getKey(), entry.getValue())); //NOI18N
// Set it in session
app.setValueInSession(session, entry.getKey().getName(), entry.getValue());
<label for="companyname">Firmenname:</label>
</div>
<div class="data_right">
- <input type="text" id="companyname" name="companyname" size="10" maxlength="255" value="<%=app.getPrintableValeFromSession(session, "companyname")%>" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="companyname" name="companyName" size="10" maxlength="255" value="<%=app.getPrintableValeFromSession(session, "companyname")%>" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>
<div class="data_row">
<div class="data_left">
- <label for="familyname">Nachname:</label>
+ <label for="familyName">Nachname:</label>
</div>
<div class="data_right">
- <input type="text" id="familyname" name="familyname" size="10" maxlength="255" value="<%=app.getPrintableValeFromSession(session, "familyname")%>" <%=app.getDisabledHtmlFromSession(request, session)%> />
+ <input type="text" id="familyName" name="familyName" size="10" maxlength="255" value="<%=app.getPrintableValeFromSession(session, "familyName")%>" <%=app.getDisabledHtmlFromSession(request, session)%> />
</div>
<div class="clear"></div>
</div>