myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Hedlund (Created) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2145) The tr:selectOrderShuttle has rendering issues when in reorderOnly="true". Improper HTML
Date Fri, 07 Oct 2011 17:20:30 GMT
The tr:selectOrderShuttle has rendering issues when in reorderOnly="true". Improper HTML 
-----------------------------------------------------------------------------------------

                 Key: TRINIDAD-2145
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2145
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.2.14-core 
         Environment: Fails on Unix and Windows, FF and ie
            Reporter: Bob Hedlund
            Priority: Minor


The tr:selectOrderShuttle has rendering issues when in reorderOnly="true". 
The HTML generated is missing an opening tr tag. 
This causes PPR calls on the page to fail. 


The Solution is to change the java file SelectManyShuttleRenderer  
(trinidad-impl\src\main\java\org\apache\myfaces\trinidadinternal\renderkit\core\xhtml).


In the method 

renderContainerRow(args) {args}

There is an if block: 

if(!onlyOneList) {

}

This block bypasses rendering the first shuttle if in reorderOnly mode. 

The rendering of the table row: 

rw.startElement("tr",null); 

needs to be moved out of the block, and rendered unconditionally for proper html. 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message