2 Replies Latest reply on Jul 25, 2008 4:40 AM by Tomas Cerny

    JBoss AS 4.2.3 problem with JavaScript over <span>, <h:outputText>

    Tomas Cerny Novice

      Hello,


      I have just updated to JBoss AS 4.2.3


      and JS code that used to work does not work any more:


      <h:outputText id="#{id}abbreviation"
              onclick="alert('works')"
              onmouseover="showFullLength(this,event,'#{modalId}')" 
              onmouseout="hideFullLength(this,event)" 
             styleClass="enlarge #{styleClass}" value="#{value}">



      rendered as


      <span id="testabbreviation" class="enlarge">aaaaaaaaaaaa...</span>



      I can confirm that it is like that only on JBoss AS 4.2.3 older  JBoss AS 4.2.2 does not have this behavior


      Some ideas?
      Thanks