« Return to Thread: [Trinidad] tr:inputText styleClass problem

[Trinidad] tr:inputText styleClass problem

by Ravindra Adireddy :: Rate this Message:

Reply to Author | View in Thread


Hi all,
 
         When I provide custom style class to tr:inputText, trinidad does not add custom style class to HTML input tag instead it adds custom style class to  span tag(along with OraInlineErrorText). Is it the desire behavior? or a bug?


The following line in my XHTML file

*
<tr:inputText label="Name" value="#{detailTableBean.currentEmployee.name}" styleClass="r1_table_input_text"/>
*

Translated to

<td class="af_panelFormLayout_content-cell" valign="top" nowrap="nowrap">
        <input id="j_id205" class="af_inputText_content" type="text" value="John" size="30" name="j_id205"/>
        <div class="af_panelFormLayout_message-cell">
               <span id="j_id205::msg" class="r1_table_input_text OraInlineErrorText"/>
        </div>
</td>

But I was expecting

<td class="af_panelFormLayout_content-cell" valign="top" nowrap="nowrap">
        <input id="j_id205" class="r1_table_input_text af_inputText_content" type="text" value="John" size="30" name="j_id205"/>
        <div class="af_panelFormLayout_message-cell">
               <span id="j_id205::msg" class="OraInlineErrorText"/>
        </div>
</td>

Appreciate your help

--
Thanks and Regards
Ravindra Adireddy

 « Return to Thread: [Trinidad] tr:inputText styleClass problem

LightInTheBox - Buy quality products at wholesale price!