}
@Override
- public String changeItem (final AddableBasketItem item) {
+ public String doChangeItem (final AddableBasketItem item) {
// Trace message
- //this.getLogger().logTrace(MessageFormat.format("changeItem: item={0} - CALLED!", item));
+ //this.getLogger().logTrace(MessageFormat.format("doChangeItem: item={0} - CALLED!", item));
// item shall not be null
if (null == item) {
}
// Trace message
- //this.getLogger().logTrace(MessageFormat.format("changeItem: targetPage={0} - EXIT!", targetPage));
+ //this.getLogger().logTrace(MessageFormat.format("doChangeItem: targetPage={0} - EXIT!", targetPage));
// Return page
return targetPage;
}
<f:facet name="header">#{msg.CHANGE_ITEM_AMOUNT}</f:facet>
<h:form id="add_item">
- <h:commandButton class="submit" id="add" value="#{msg.BUTTON_CHANGE_ITEM_AMOUNT}" action="#{basketController.changeItem(item)}" title="#{msg.BUTTON_TITLE_CHANGE_ITEM_AMOUNT}" />
+ <h:commandButton class="submit" id="add" value="#{msg.BUTTON_CHANGE_ITEM_AMOUNT}" action="#{basketController.doChangeItem(item)}" title="#{msg.BUTTON_TITLE_CHANGE_ITEM_AMOUNT}" />
<h:inputText class="input" id="amount" size="3" maxlength="20" value="#{item.orderedAmount}" title="#{msg.INPUT_TITLE_ENTER_ITEM_AMOUNT}">
<!--