[Seasar-user:18813] Re: [onTeedaError for targetComponent]

thomas [E-MAIL ADDRESS DELETED]
2009年 10月 29日 (木) 15:43:33 JST


Hello,

Thanks for your kind reply.

2009/10/29 Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>

> 小林 (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 mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://ml.seasar.org/archives/seasar-user/attachments/20091029/d2b6a59f/attachment.html>


Seasar-user メーリングリストの案内