myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Adireddy" <adireddyravin...@gmail.com>
Subject [Trinidad] tr:inputText styleClass problem
Date Tue, 06 May 2008 12:05:56 GMT
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

Mime
View raw message