[Seasar-user:18803] Re: [onTeedaError for targetComponent]
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2009年 10月 29日 (木) 04:00:37 JST
小林 (koichik) です.
Date: Tue, 27 Oct 2009 18:43:14 +0900
From: thomas <[E-MAIL ADDRESS DELETED]>
To: [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:18792] [onTeedaError for targetComponent]
> @isExist(messageId="E10",componentName="existCheckLogic",methodName="existsLoginIDUSer",targetId="emphide")
> public String loginid;
>
> If i use this code i can change the color of loginid component,But i also
> need to change the color of emphide.
probably,
public String getEmphideStyleClass() {
FacesContext context = FacesContext.getCurrentInstance();
List messages = context.getMessageList("includeChildBody:form:loginid");
if (messages.isEmpty()) {
return null;
}
return "onTeedaError";
}
--
<component name="koichik">
<property name="fullName">"Koichi Kobayashi"</property>
<property name="email">"[E-MAIL ADDRESS DELETED]"</property>
<property name="blog">"http://d.hatena.ne.jp/koichik"</property>
</component>
Seasar-user メーリングリストの案内