Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces 2 JSF 2
Description
When running the Auction application, if you put focus in the input text field for the screen name used for chat, hitting the Enter key does not result in an update to the page. Once you are in the chat, the Enter key does work to submit chat messages. The issues seems confined to pure ICEfaces 2.0 as the AuctionMonitor application in compatibility mode appears to behave properly.
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21894 | Tue Jul 13 16:15:13 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/samples/auction/src/main/java/org/icefaces/demo/auction/beans/UserBean.java
|
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Enter key does trigger submit of screen name in chat of Auction application | Enter key does not trigger submit of screen name in chat of Auction application |
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Assignee Priority | P2 | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
created issue -
In the original AuctionMonitor application, based on 1.8, we used ice: components. For this version of Auction, everything was ported to use h:components. The problem here is that the h:inputText does not support action or actionListener attributes like the ice:components. Our new captureEnterKey logic was working, but the code for entering the chat room was never being called. What used to be triggered in the actionListener code for entering the chat room was not executing. By adding the enterConversation method call to the end of setNick in UserBean, the Auction chat now works as expected when the nickname is submitted using the Enter key.