]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
No class attribute is needed for type=hidden
authorRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 11:40:06 +0000 (13:40 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 11:40:06 +0000 (13:40 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/index.jsp

index 719e5ccbcee6b0b1179b4eaca984f3761dfb7697..5bece516591d2523ab2c7aed9abc602c79463eaf 100644 (file)
                                                                        <%=product.getTitle()%>
                                                                </td>
                                                                <td class="table_data_column" align="right">
-                                                                       <fmt:formatNumber type="currency"><%=product.getPrice()%></fmt:formatNumber>
+                                                                       <fmt:formatNumber type="currency" minFractionDigits="2" maxFractionDigits="2" value="<%=product.getPrice()%>" />
                                                                </td>
                                                        </tr>
                                        </tbody>
                                                        <tr>
                                                                <td class="table_data_column">
                                                                        <input class="submit" type="submit" name="add" value="Hinzuf&uuml;gen" />
-                                                                       <input class="input" type="hidden" name="<%=PizzaApplication.HTTP_PARAM_ITEM_ID%>" value="<%=product.getItemId()%>" />
-                                                                       <input class="input" type="hidden" name="<%=PizzaApplication.HTTP_PARAM_ITEM_TYPE%>" value="Product" />
+                                                                       <input type="hidden" name="<%=PizzaApplication.HTTP_PARAM_ITEM_ID%>" value="<%=product.getItemId()%>" />
+                                                                       <input type="hidden" name="<%=PizzaApplication.HTTP_PARAM_ITEM_TYPE%>" value="Product" />
                                                                </td>
                                                                <td class="table_data_column">
                                                                        <input class="input" type="text" name="<%=PizzaApplication.HTTP_PARAM_AMOUNT%>" size="3" maxlength="20" />
                                                                        <%=product.getTitle()%>
                                                                </td>
                                                                <td class="table_data_column" align="right">
-                                                                       <fmt:formatNumber type="currency"><%=product.getPrice()%></fmt:formatNumber>
+                                                                       <fmt:formatNumber type="currency" minFractionDigits="2" maxFractionDigits="2" value="<%=product.getPrice()%>" />
                                                                </td>
                                                        </tr>
                                        </tbody>