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

        

Reply via email to