[richfaces-issues] [JBoss JIRA] (RF-11403) showcase - a4j:queue - input in sample is wrongly generated, it is disabled on Tomcat

Jan Papousek (Commented) (JIRA) jira-events at lists.jboss.org
Thu Nov 3 11:42:45 EDT 2011


    [ https://issues.jboss.org/browse/RF-11403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639744#comment-12639744 ] 

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?r=jboss_releases_staging_profile-099&g=org.richfaces.examples&a=richfaces-showcase&v=4.1.0.20111101-M4&e=war&c=jbas7
   ** 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&skin=blueSky
   ** 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&skin=blueSky
   ** 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,{&quot;parameters&quot;:{&quot;javax.faces.behavior.event&quot;:&quot;keyup&quot;,&quot;org.richfaces.ajax.component&quot;:&quot;form:myinput&quot;} ,&quot;sourceId&quot;:this,&quot;begin&quot;:&quot;addRequest();&quot;} )')">
> {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

        


More information about the richfaces-issues mailing list