[Seasar-user:17502] Re: [teeda-エラーメッセージ]
Koichi Kobayashi
[E-MAIL ADDRESS DELETED]
2009年 5月 22日 (金) 17:00:44 JST
小林 (koichik) です.
Date: Fri, 22 May 2009 15:03:23 +0900
From: thomas <[E-MAIL ADDRESS DELETED]>
To: [E-MAIL ADDRESS DELETED]
Subject: [Seasar-user:17501] [teeda-エラーメッセージ]
> Hai.
>
> I want to show the error messages in popup window.
>
> Now i am displaying error messages in the same page from properties file.
>
> Is it possible to show the error message in popup window in teeda?
Teeda does not provide that function,
but you can do it using JavaSctipt.
First, make error messages invisible.
<div style="display:none;">
<span id="allMessages"></span>
</div>
if there are error messages, rendered html was
<div style="display:none;">
<ul id="allMessages">
<li>...</li>
<li>...</li>
...
</ul>
</div>
You can open popup window including these messages
usign a JavaScript.
--
<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 メーリングリストの案内