Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Component/s: Bridge, Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 Compatibility
-
ICEsoft Forum Reference:
Description
Given a simple test case like this:
<ice:form>
<ice:inputText value="BLAH" action="#{simple.textAction}"/><br/>
<ice:commandButton value="Click" action="#{simple.buttonAction}"/><br/>
</ice:form>
If you focus the inputText field and hit the Enter key, the action methods of both the inputText component and the commandButton are called. This behaviour is different from ICEfaces 1.8 where only the action of the inputText field would be called.
<ice:form>
<ice:inputText value="BLAH" action="#{simple.textAction}"/><br/>
<ice:commandButton value="Click" action="#{simple.buttonAction}"/><br/>
</ice:form>
If you focus the inputText field and hit the Enter key, the action methods of both the inputText component and the commandButton are called. This behaviour is different from ICEfaces 1.8 where only the action of the inputText field would be called.
Standard browser behavior is to click on a random button within the form to submit via enter key. This is not the behavior of ICEfaces 1.x, so we should describe that mechanism (likely JavaScript implementation) here.