Hello,<br><br>Thanks for your kind reply.<br><br><div class="gmail_quote">2009/10/29 Koichi Kobayashi <span dir="ltr">&lt;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
小林 (koichik) です.<br>
<br>
Date:    Tue, 27 Oct 2009 18:43:14 +0900<br>
From:    thomas &lt;<a href="mailto:jp.mcy.10@gmail.com">jp.mcy.10@gmail.com</a>&gt;<br>
To:      <a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br>
Subject: [Seasar-user:18792]  [onTeedaError for targetComponent]<br>
<div class="im"><br>
&gt; @isExist(messageId=&quot;E10&quot;,componentName=&quot;existCheckLogic&quot;,methodName=&quot;existsLoginIDUSer&quot;,targetId=&quot;emphide&quot;)<br>
&gt; public String loginid;<br>
&gt;<br>
&gt; If i use this code i can change the color of loginid component,But i also<br>
&gt; need to change the color of emphide.<br>
<br>
</div>probably,<br>
<br>
public String getEmphideStyleClass() {<br>
    FacesContext context = FacesContext.getCurrentInstance();<br>
    List messages = context.getMessageList(&quot;includeChildBody:form:loginid&quot;);<br>
    if (messages.isEmpty()) {<br>
        return null;<br>
    }<br>
    return &quot;onTeedaError&quot;;<br>
}<br>
<font color="#888888"><br>
<br>
--<br>
&lt;component name=&quot;koichik&quot;&gt;<br>
    &lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br>
    &lt;property name=&quot;email&quot;&gt;&quot;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&quot;&lt;/property&gt;<br>
    &lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik</a>&quot;&lt;/property&gt;<br>
&lt;/component&gt;<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Seasar-user mailing list<br>
<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
</div></div></blockquote></div><br>