[
https://issues.jboss.org/browse/RF-11403?page=com.atlassian.jira.plugin.s...
]
Jan Papousek commented on RF-11403:
-----------------------------------
The same on JBoss AS 7.0.2 when "javax.faces.PROJECT_STAGE" is set to
"Development" in WEB-INF/web.xml. To reproduce it:
* the first way
** download
https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?...
** change "javax.faces.PROJECT_STAGE" from "Production" to
"Development" in web.xml
** deploy on JBoss AS 7.0.2
** open
http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=queue&...
** try to type something into the "Type here:" input field
* the second way
** checkout b92b4f595553b0c37340f80df4a7f53d123f008d commit from showcase repo
** build the showcase and deploy it on JBoss AS 7.0.2
** open
http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=queue&...
** try to type something into the "Type here:" input field
showcase - a4j:queue - input in sample is wrongly generated, it is
disabled on Tomcat
-------------------------------------------------------------------------------------
Key: RF-11403
URL:
https://issues.jboss.org/browse/RF-11403
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: showcase
Affects Versions: 4.1.0.Milestone2, 4.1.0.Milestone4
Environment: containers: Tomcat 6.0.32 and Tomcat 7.0.20
war: richfaces-showcase-4.1.0.20110910-tomcat6.war from maven staging repo
browsers: Chrome 13, FF 3.6
Reporter: Juraj Huska
Fix For: 4.Future
Input for typing, which should fire events(first input), is has wrongly generated source
code, since it is disabled by default. Its source code is:
{code:xml}
<input id="form:myinput" type="text" name="form:myinput"
value="" onkeyup="addEvent();" disabled="disabled">
{code}
On JBoss 6 or 7 this input works fine and has source code:
{code:xml}
<input id="form:myinput" type="text" name="form:myinput"
value=""
onkeyup="jsf.util.chain(this,event,'addEvent();','RichFaces.ajax(this,event,{"parameters":{"javax.faces.behavior.event":"keyup","org.richfaces.ajax.component":"form:myinput"}
,"sourceId":this,"begin":"addRequest();"}
)')">
{code}
This is noticed only on Tomcats. The page source code is the same on tomcat and jboss
wars, they are different after deploying.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira