Wrong rendering read only inputs in tables
------------------------------------------

                 Key: TRINIDAD-1118
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1118
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions:  1.0.8-core
            Reporter: Tomas Havelka
             Fix For: 1.0.9-core


When input components are embedded in a table, it does not render input state 
skin properly. That means :disabled and :read-only pseudo classes are not 
rendered on them. When rendering input component in simple state 
(simple="true") and read only solo it renderes properly, but same component in 
table does not.

Example taken from Trinidad demo:

1) Simple read only input text rendered solo
<span class="af_inputText p_AFReadOnly" id="_id11">
        <div class="af_inputText_content">Some text
        </div>
</span>

2) Simple read only input text rendered within table
<div id="_id13:12:_id19" class="af_inputText_content">Some text
</div>

As example shows, when input text is included in table, wrapping span with read 
only style selector is not rendered, thats why :disabled and :read-only 
selectors cannot be used within table embedded inputs.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to