Jacques,
Try changing the Update link (<a> element) to an <input> element:
<td nowrap width="25%">
<input type="text" name="amount" size="6" value="<@ofbizAmount
amount=adjustmentAmount/>"/>
<input type="submit" value="${uiLabelMap.CommonUpdate}"/>
<a
href="<@ofbizUrl>deleteOrderAdjustment?orderAdjustmentId=${orderAdjustmentId?if_exists}&orderId=${orderId?if_exists}</@ofbizUrl>"
class="buttontext">${uiLabelMap.CommonDelete}</a>
</td>
-Adrian
Jacques Le Roux wrote:
Adrian,
Try to remove it and you will not be able to use enter to update the field as
it is doing now. I akcnowledege that it's weird but it
works. No other comments ?
Jacques
De : "Adrian Crum" <[EMAIL PROTECTED]>
If there is an Update button that performs the same action as the spacer.gif,
then the spacer.gif is
not needed.
Jacques Le Roux wrote:
Yes but this will be redundant with the update button and you can't have 2
submit buttons (there is also the delete button). So
this
acts as a default button (for update).
I'm sure there are other solutions, but It's too late here...
Jacques
De : "Adrian Crum" <[EMAIL PROTECTED]>
It would be better to have an actual (visible) Submit button - for
accessibility reasons.
Jacques Le Roux wrote:
Ho, I see it's to allow (simulate) a submit button
Jacques
De : "Jacques Le Roux" <[EMAIL PROTECTED]>
Hi,
I wonder if the line containing spacer.gif is usefull or a forgotten scrap ?
Jacques