[Seasar-user:17623] Re: [Teeda-メッセージボックス]

thomas [E-MAIL ADDRESS DELETED]
2009年 6月 4日 (木) 18:33:57 JST


小林 さん、

Thanks for your kind reply..

I got the solution for my problem.

Thanks,
トマス



2009/6/4 Koichi Kobayashi <[E-MAIL ADDRESS DELETED]>

> 小林 (koichik) です.
>
> Date:    Thu, 4 Jun 2009 15:38:38 +0900
> From:    thomas <[E-MAIL ADDRESS DELETED]>
> To:      [E-MAIL ADDRESS DELETED]
> Subject: [Seasar-user:17621] [Teeda-メッセージボックス]
>
> > For Example,in EmployeeCreatePage after creating a record in DB,
> > i want to show,「登録しました」in message box. And return to EmployeeListPage.
>
>
> public class EmployeeCreatePage {
>  ...
>  @RedirectScope
>  public boolean showMessage;
>
>  public Class doCreate() {
>    ...
>    showMessage = true;
>    return EmployeeListPage.class;
>  }
> }
>
> public class EmployeeListPage {
>  ...
>  public boolean showMessage;
> }
>
> employeeList.html
>
> <body>
>  <div id="isShowMessage">
>    <script type="text/javascript">
>    //<![CDATA[
>      window.alert("登録しました")
>    //]]>
>    </script>
>  </div>
>  ...
>
>
> --
> <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/20090604/3b325fb9/attachment.html>


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