[Seasar-user:10552] Re: [Teeda] Teeda 1.0.9 doOnceメソッドが呼ばれない

Shinpei Ohtani [E-MAIL ADDRESS DELETED]
2007年 9月 15日 (土) 00:29:45 JST


大谷です.

下記、ためしにteeda-html-exampleでやってみましたが、
どちらもTokenは発行されています.
こんな感じでrenderされます.

<html xmlns:te="http://www.seasar.org/teeda/extension">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title id="aaa">Simple Add sample</title>
<style type="text/css">@import url('../../css/litbox.css');</style>
<script type="text/javascript" language="JavaScript"
src="../../js/kumu.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/event.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/ajax.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/prototype.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/effects.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/dragdrop.js"></script>
<script type="text/javascript" language="JavaScript"
src="../../js/litbox.js"></script>
<style xml:space="preserve">
.onTeedaError {
	background-color: #FFCCCC;
}
</style><script language="JavaScript" type="text/javascript"
src="/teeda-html-example/teedaExtension/org/seasar/teeda/ajax/js/kumu.js"></script>
<script language="JavaScript" type="text/javascript"
src="/teeda-html-example/teedaExtension/org/seasar/teeda/ajax/js/event.js"></script>
<script language="JavaScript" type="text/javascript"
src="/teeda-html-example/teedaExtension/org/seasar/teeda/ajax/js/disabled.js"></script>

<script language="JavaScript" type="text/javascript">
<!--
DisabledConf = {
 time : 50000,
 submitMessage : function() { alert('遷移中です'); }
}

//-->
</script>
</head>

<body>
<table cellspacing="5" border="0">
<tr>
  <td colspan="2">
<img src="/teeda-html-example/img/seasar_banner.gif" />
<form id="form" name="layoutHeader:form" method="post"
enctype="application/x-www-form-urlencoded" submitted="true"
action="/teeda-html-example/view/add/add.html">
<input type="submit" id="doOnceHoge"
name="layoutHeader:form:doOnceHoge" value="aaaa" /><input
type="hidden" name="org.seasar.teeda.extension.util.TransactionTokenUtil.TOKEN"
value="b537a6308032cb9698de7275616d425a" />
<input type="hidden" name="layoutHeader:form/view/add/add.html"
value="layoutHeader:form" /></form>
</td>
</tr>
<tr>
  <td width="140" valign="top">

<ol><li>
	<a id="goHello" href="/teeda-html-example/view/hello/hello.html"
shape="rect">Hello World</a><br clear="none" />
</li><li>
	<a id="goAdd" href="/teeda-html-example/view/add/add.html"
shape="rect">足し算による入力サンプル(Pageのみ)</a><br clear="none" />
</li><li>
	<a id="goAdd2" href="/teeda-html-example/view/add/add2.html"
shape="rect">足し算による入力サンプル(PageとAction)</a><br clear="none" />
</li><li>
	<a id="goAddInput"
href="/teeda-html-example/view/add/addInput.html?newwindow=true"
shape="rect" target="_blank">足し算による入力サンプル(新規Windowが開く)</a><br
clear="none" />
</li><li>
	<a id="goAddExt" href="/teeda-html-example/view/add/addExt.html"
shape="rect">足し算による入力サンプル(金額入力系コンポーネント)</a><br clear="none" />
</li><li>
	<a id="goNow" href="/teeda-html-example/view/now/now2.html"
shape="rect">日付入力コンポーネント</a><br clear="none" />
</li><li>
	<a id="goPageTransition"
href="/teeda-html-example/view/move/aaa/aaa.html"
shape="rect">画面遷移</a><br clear="none" />
</li><li>
	<a id="goLink" href="/teeda-html-example/view/link/link.html"
shape="rect">Linkによる画面遷移</a><br clear="none" />
</li><li>
	<a id="goPassword"
href="/teeda-html-example/view/password/login.html"
shape="rect">パスワード入力</a><br clear="none" />
</li><li>
	<a id="goInputDate" href="/teeda-html-example/view/now/now2.html"
shape="rect">日付入力コンポーネント</a><br clear="none" />
</li><li>
	<a id="goTextarea"
href="/teeda-html-example/view/textarea/textareaInput.html"
shape="rect">テキストエリアコンポーネント</a><br clear="none" />
</li><li>
	<a id="goCheckbox"
href="/teeda-html-example/view/checkbox/selectManyCheckbox.html"
shape="rect">複数選択チェックボックス</a><br clear="none" />
</li><li>
	<a id="goOneCheckbox"
href="/teeda-html-example/view/checkbox/selectOneCheckbox.html"
shape="rect">単一選択チェックボックス</a><br clear="none" />
</li><li>
	<a id="goRadio"
href="/teeda-html-example/view/radio/selectOneRadio.html"
shape="rect">ラジオボタン</a><br clear="none" />
</li><li>
	<a id="goSelect"
href="/teeda-html-example/view/select/selectOne.html"
shape="rect">プルダウン(Dtoを使った場合)</a><br clear="none" />
</li><li>
	<a id="goSelect2"
href="/teeda-html-example/view/select/selectOne2.html"
shape="rect">プルダウン(Mapを使った場合)</a><br clear="none" />
</li><li>
	<a id="goLabel" href="/teeda-html-example/view/label/label.html"
shape="rect">ラベル</a><br clear="none" />
</li><li>
	<a id="goTitle1" href="/teeda-html-example/view/title/title1.html"
shape="rect">Title(label.propertiesから取得する)</a><br clear="none" />
</li><li>
	<a id="goTitle2" href="/teeda-html-example/view/title/title2.html"
shape="rect">Title(DynamicPropertyから取得する)</a><br clear="none" />
</li><li>
	<a id="goDynamicproperty"
href="/teeda-html-example/view/dynamicproperty/dynamicproperty.html"
shape="rect">ダイナミックプロパティ</a><br clear="none" />
</li><li>
	<a id="goLikejsp"
href="/teeda-html-example/view/likejsp/likejsp.html?aaa=123"
shape="rect">Like jsp</a><br clear="none" />
</li><li>
	<a id="goCondition"
href="/teeda-html-example/view/condition/condition.html"
shape="rect">Condition</a><br clear="none" />
</li><li>
	<a id="goPageScope"
href="/teeda-html-example/view/scope/pageScopeInput.html"
shape="rect">PageScopeのサンプル</a><br clear="none" />
</li><li>
	<a id="goRedirectScope"
href="/teeda-html-example/view/scope/redirectScopeInput.html"
shape="rect">RedirectScopeのサンプル</a><br clear="none" />
</li><li>
	<a id="goForeachSimple1"
href="/teeda-html-example/view/foreach/foreachStringArray.html"
shape="rect">Foreach(String[])</a><br clear="none" />
</li><li>
	<a id="goForeachSimple2"
href="/teeda-html-example/view/foreach/foreachStringList.html"
shape="rect">Foreach(List<String>)</a><br clear="none" />
</li><li>
	<a id="goForeach"
href="/teeda-html-example/view/foreach/foreach.html"
shape="rect">Foreach(Dtoの配列)</a><br clear="none" />
</li><li>
	<a id="goForeach2"
href="/teeda-html-example/view/foreach/foreach2.html"
shape="rect">Foreach(DtoのList)</a><br clear="none" />
</li><li>
	<a id="goForeachHoge"
href="/teeda-html-example/view/foreach/foreachHoge.html"
shape="rect">Foreachの入力/出力(DtoのList)</a><br clear="none" />
</li><li>
	<a id="goForeachRadio"
href="/teeda-html-example/view/foreach/foreachRadio.html"
shape="rect">ForeachとRadio</a><br clear="none" />
</li><li>
	<a id="goForeachButton"
href="/teeda-html-example/view/foreach/forEachList.html"
shape="rect">ForeachとButton</a><br clear="none" />
</li><li>
	<a id="goForeachNest1"
href="/teeda-html-example/view/foreach/foreachNest.html"
shape="rect">Foreachのネスト1</a><br clear="none" />
</li><li>
	<a id="goForeachNest2"
href="/teeda-html-example/view/foreach/list.html"
shape="rect">Foreachのネスト2</a><br clear="none" />
</li><li>
	<a id="goGrid" href="/teeda-html-example/view/grid/grid.html"
shape="rect">Grid サンプル(include link)</a><br clear="none" />
</li><li>
	<a id="goGridX" href="/teeda-html-example/view/grid/gridX.html"
shape="rect">Grid(行固定)</a><br clear="none" />
</li><li>
	<a id="goGridY" href="/teeda-html-example/view/grid/gridY.html"
shape="rect">Grid(列固定)</a><br clear="none" />
</li><li>
	<a id="goGridXY" href="/teeda-html-example/view/grid/gridXY.html"
shape="rect">Grid(行列固定)</a><br clear="none" />
</li><li>
	<a id="goGridManyXY"
href="/teeda-html-example/view/grid/gridManyXY.html?newwindow=true"
shape="rect" target="_blank">非同期Grid</a><br clear="none" />
</li><li>
	<a id="goMultiRowGrid"
href="/teeda-html-example/view/grid/multiRowGrid.html"
shape="rect">Multirow Grid</a><br clear="none" />
</li><li>
	<a id="goInclude"
href="/teeda-html-example/view/include/include.html"
shape="rect">Include</a><br clear="none" />
</li><li>
	<a id="goPrefix"
href="/teeda-html-example/view/prefix/prefix_aaa.html"
shape="rect">Prefixつきサンプル</a><br clear="none" />
</li><li>
	<a id="goInittran"
href="/teeda-html-example/view/initializetran/initializetran.html"
shape="rect">Initializeメソッドでの画面遷移</a><br clear="none" />
</li><li>
	<a id="goPrerendertran"
href="/teeda-html-example/view/prerendertran/prerendertran.html"
shape="rect">Prerenderメソッドでの画面遷移</a><br clear="none" />
</li><li>
	<a id="goTree" href="/teeda-html-example/view/tree/tree.html"
shape="rect">Tree</a><br clear="none" />
</li><li>
  <a id="goAjax" href="/teeda-html-example/view/ajax/ajax.html"
shape="rect">Teeda Ajaxの基本</a><br clear="none" />
</li><li>
  <a id="goAjaxLitbox"
href="/teeda-html-example/view/ajax/litbox.html" shape="rect">Teeda
AjaxとLITBox</a><br clear="none" />
</li><li>
  <a id="goFileUpload"
href="/teeda-html-example/view/upload/upload.html"
shape="rect">ファイルアップロード</a><br clear="none" />
</li><li>
  <a id="goFileDownload"
href="/teeda-html-example/view/download/csvdownload.html"
shape="rect">CSVダウンロード</a><br clear="none" />
</li><li>
  <a id="goRedirect"
href="/teeda-html-example/view/redirect/redirect.html"
shape="rect">外部へのリダイレクト</a><br clear="none" />
</li><li>
  <a id="goCaptcha"
href="/teeda-html-example/view/captcha/captcha.html"
shape="rect">CAPTCHAとの連携</a><br clear="none" />
</li></ol>

  </td>
  <td align="left" valign="top">


<form id="addForm" name="layoutChildBody:addForm" method="post"
enctype="application/x-www-form-urlencoded"
action="/teeda-html-example/view/add/add.html">
<div>

</div>
<table><tr><td colspan="1" rowspan="1"></td><td colspan="1"
rowspan="1"><input type="text" id="arg1"
name="layoutChildBody:addForm:arg1" value="0" title="INPUT1"
/></td><td colspan="1" rowspan="1"></td></tr><tr><td colspan="1"
rowspan="1"> + </td><td colspan="1" rowspan="1"><input type="text"
id="arg2" name="layoutChildBody:addForm:arg2" value="0" title="INPUT2"
/></td><td colspan="1" rowspan="1"></td></tr><tr><td colspan="1"
rowspan="1"> = </td><td colspan="1" rowspan="1"><span
id="result">0</span></td></tr></table>
<input type="submit" id="doOnceCalculate"
name="layoutChildBody:addForm:doOnceCalculate" value="calculate"
/><input type="hidden"
name="org.seasar.teeda.extension.util.TransactionTokenUtil.TOKEN"
value="7b978f02fe2879ac3e60fda41a0562b5" />
<input type="submit" id="jumpStart_index"
name="layoutChildBody:addForm:jumpStart_index" value="back to start"
/>
<input type="hidden" name="layoutChildBody:addForm/view/add/add.html"
value="layoutChildBody:addForm" /></form>

  </td>
</tr>
<tr>
  <td colspan="2">
    <hr />
  </td>
</tr>
<tr>
  <td colspan="2">

The Seasar Project

  </td>
</tr>
</table>
</body>
</html>

07/09/14 に Junichi Kato<[E-MAIL ADDRESS DELETED]> さんは書きました:
> 小林さん,
> 加藤です.
>
> 本現象はまだ再現しますね.
>
> header.htmlにdoOnceを定義して,Pageクラスも作って,確認しましたが,
> ボディの部分のdoOnceのTOKENはレンダリングされませんでした.
>
> これのみ
> <input type="submit" id="doOnceNext" name="_id19:registerForm:doOnceNext" value="next" />
>
> よろしくお願いします.
>
> On Fri, 14 Sep 2007 20:00:48 +0900
> Koichi Kobayashi <[E-MAIL ADDRESS DELETED]> wrote:
>
> > 小林 (koichik) です.
> >
> > Date:    Fri, 14 Sep 2007 18:58:49 +0900
> > From:    Junichi Kato <[E-MAIL ADDRESS DELETED]>
> > To:       [E-MAIL ADDRESS DELETED]
> > Subject: [Seasar-user:10539] Re: [Teeda] Teeda 1.0.9 doOnceメソッドが呼ばれない
> >
> > > SNAPSHOT ほしいです.
> >
> > デプロイしました.
> >
> > http://maven.seasar.org/maven2-snapshot/org/seasar/teeda/teeda-core/1.0.11-RC2-SNAPSHOT/teeda-core-1.0.11-RC2-20070914.105132-1.jar
> > http://maven.seasar.org/maven2-snapshot/org/seasar/teeda/teeda-extension/1.0.11-RC2-SNAPSHOT/teeda-extension-1.0.11-RC2-20070914.105132-1.jar
> > http://maven.seasar.org/maven2-snapshot/org/seasar/teeda/teeda-ajax/1.0.11-RC2-SNAPSHOT/teeda-ajax-1.0.11-RC2-20070914.105132-1.jar
> > http://maven.seasar.org/maven2-snapshot/org/seasar/teeda/teeda-tiger/1.0.11-RC2-SNAPSHOT/teeda-tiger-1.0.11-RC2-20070914.105441-1.jar
> >
> > 以下の対応が含まれています.
> >
> > [Seasar-user:10336] doOnceメソッドが呼ばれない
> > [Seasar-user:10400] ラベルが正しく引き継がれない
> > [Seasar-user:10449] URLへのjsessionidの埋め込み
> > [Seasar-user:10480] ダイアログのタイトルが画面遷移時に消えてしまう
> >
> >
> > --
> > <signature>
> >    <name>Koichi Kobayashi</name>
> >    <e-mail>[E-MAIL ADDRESS DELETED]</e-mail>
> > </signature>
> >
> > _______________________________________________
> > Seasar-user mailing list
> > [E-MAIL ADDRESS DELETED]
> > https://ml.seasar.org/mailman/listinfo/seasar-user
>
> ───────────────────────────────
>  株式会社 グランテック
>  代表取締役社長
>  加藤 潤一 Junichi Kato
>
> 〒154-0012
> 東京都世田谷区駒沢2-16-1 サンドー駒沢ビル4F
> TEL 050-5538-2383  FAX 03-3487-7211
> HP : http://www.grandtech.jp/
> BLOG : http://d.hatena.ne.jp/j5ik2o/
> E-MAIL : [E-MAIL ADDRESS DELETED]
>
> _______________________________________________
> Seasar-user mailing list
> [E-MAIL ADDRESS DELETED]
> https://ml.seasar.org/mailman/listinfo/seasar-user
>


-- 
=============================
Shinpei Ohtani
[E-MAIL ADDRESS DELETED]
=============================



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