Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2, 1.7DR#2
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:inputSecret + action + actionListener
-
ICEsoft Forum Reference:
Description
-
Hide
- ICE-2399.war
- 6.25 MB
- Adnan Durrani
-
- META-INF/MANIFEST.MF 0.0 kB
- index.jsp 0.2 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/classes/beans/Bean.java 0.7 kB
- WEB-INF/lib/icefaces-comps.jar 1.90 MB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- page2.jspx 1 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/jstl.jar 17 kB
- page1.jspx 2 kB
- WEB-INF/classes/beans/Bean.class 1 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/web.xml 2 kB
- WEB-INF/lib/xml-apis.jar 190 kB
- WEB-INF/lib/icefaces.jar 1.08 MB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/faces-config.xml 0.9 kB
-
Hide
- MyTest.war
- 3.08 MB
- David Reed
-
- META-INF/MANIFEST.MF 0.0 kB
- failure.html 0.3 kB
- WEB-INF/classes/.../AuthController.java 1 kB
- WEB-INF/lib/icefaces-comps.jar 621 kB
- WEB-INF/lib/backport-util-concurrent.jar 343 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/classes/.../AuthController.class 2 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 151 kB
- WEB-INF/web.xml 3 kB
- WEB-INF/lib/icefaces.jar 688 kB
- logon.jspx 1 kB
- success.html 0.3 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 682 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/faces-config.xml 0.9 kB
- home.jsp 0.1 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
file attachment isn't working
It was fixed as of 1.7.1. Please see the attached demo named as ICE-2399.war.
The demo has been tested with the following version of ICEFaces. Please see the result below:
1.7.0DR#2 : not working
1.7.0DR#3: not working
1.7.1: working
1.7.2: working
1.8.0 DR#1: working
trunk head : working
We have tested the head with the JSF 1.1 and JSF 1.2 both are working fine.
The following note I have added to the demo. I would like to add it here as well:
Note: if the submit happens by the tab key using paritalSubmit true, it doesn't considered as an action event. The action event will be considered only when the enter key was hit on the input field.
Truly needed!
Any update?
Is there any news on this?
No update..?
When fixing this, be sure to test against JSF 1.1 and JSF 1.2.
As a work-a-round this was able to be accomplished by removing the actionListener in the ice:inputSecret component and adding in a binding attribute that then allowed me to execute a addActionListener in the set method for that HtmlInputSecret binding. Now when I hit enter in the inputSecret text box, the actionListener IS fired and using a PersistentFacesState.getInstance().navigateTo(authenticate()) in the called action listener I can then also forward to another page just like the action attribute would normally do.
For a complete scenario of what took place, please see the topic especially at http://www.icefaces.org/JForum/posts/list/6359.page#27735.
See previous comment that this file/files is/are for.
on a simple form hitting the enter key does not execute the method binding found in either the "action" or "actionListener" attribute of the ice:inputSecret component. The relevant same attributes in inputText does work though when hitting return.
To see an example of this, I've attached a WAR that contains example JSPX login form along with a backing bean.
After attaching the file, resolving the issue.