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

Shinpei Ohtani [E-MAIL ADDRESS DELETED]
2007年 9月 5日 (水) 16:55:29 JST


大谷です.

hello.htmlを適当にいじって、

HTML
<form id="form">
<input type="button" id="doOnceExec" value="submit" />
</form>

Pageクラス
	public Class doOnceExec() {
		System.out.println("called");
		return null;
	}

DEBUG 2007-09-05 16:47:19,218 [http-8080-Processor25]
クラス(examples.teeda.web.hello.HelloPage[hello_helloPage])のコンポーネント定義を登録します
called

となるので正しく呼ばれますが.

07/09/05 に Junichi Kato <[E-MAIL ADDRESS DELETED]> さんは書きました:
> 加藤です.
>
> Teeda 1.0.9にてdoOnceメソッドが呼ばれない現象がおきていて,原因不明なの
> でお助けください.
>
> <form id="registerForm">
> <input type="button" id="doOnceNext" value="next"  />
> </form>
>
> このような単純なフォームなのですが,
>
> registerHogehogeAccountPageクラスのdoOnceNextメソッドは呼ばれません.
> 何が問題と考えられますでしょうか?
>
>
> ** before *****************************************:
> /view/register/registerHogehogeAccount.html
>   Request class=org.apache.catalina.connector.RequestFacade, instance=[E-MAIL ADDRESS DELETED]
>   RequestedSessionId=3E7F0FA2EEF622088D7B3F51DC2772FB
>   REQUEST_URI=/hogehoge-web/view/register/registerHogehogeAccount.html, SERVLET_PATH=/view/register/registerHogehogeAccount.html
>   CharacterEncoding=UTF-8, ContentLength=431, ContentType=application/x-www-form-urlencoded, Locale=ja, Locales=ja, Scheme=http, isSecure=false
>   SERVER_PROTOCOL=HTTP/1.1, REMOTE_ADDR=0:0:0:0:0:0:0:1, REMOTE_HOST=0:0:0:0:0:0:0:1, SERVER_NAME=localhost, SERVER_PORT=8080
>   ContextPath=/hogehoge-web, REQUEST_METHOD=POST, QUERY_STRING=null, PathInfo=null, RemoteUser=null
>   Session SessionId=3E7F0FA2EEF622088D7B3F51DC2772FB
>   Session :: CreationTime=1188976188436, LastAccessedTime=1188976206958, MaxInactiveInterval=1800
>   [param]_id19:registerForm/view/register/registerHogehogeAccount.html=_id19:registerForm
>   [param]_id19:registerForm:agreement=true
>   [param]_id19:registerForm:doOnceNext=next
>   [param]_id19:registerForm:emailAddress=[E-MAIL ADDRESS DELETED]
>   [param]_id19:registerForm:emailAddressConfirm=[E-MAIL ADDRESS DELETED]
>   [param]_id19:registerForm:emailNewsSubscribe=true
>   [param]_id19:registerForm:password=ju
>   [param]_id19:registerForm:passwordConfirm=ju
>   [param]receiveEmailType=P
>   [request]org.seasar.framework.container.hotdeploy.HotdeployFilter=[E-MAIL ADDRESS DELETED]
>   [cookie]JSESSIONID=3E7F0FA2EEF622088D7B3F51DC2772FB
>   [header]accept=*/*
>   [header]accept-encoding=gzip, deflate
>   [header]accept-language=ja
>   [header]cache-control=no-cache
>   [header]connection=Keep-Alive
>   [header]content-length=431
>   [header]content-type=application/x-www-form-urlencoded
>   [header]cookie=JSESSIONID=3E7F0FA2EEF622088D7B3F51DC2772FB
>   [header]host=localhost:8080
>   [header]referer=http://localhost:8080/hogehoge-web/view/register/registerHogehogeAccount.html
>   [header]ua-cpu=x86
>   [header]user-agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
>   [session]javax.faces.internal.scope.RedirectScope={}
>   [session]javax.faces.internal.scope.SubApplicationScope={}
>   [session]javax.faces.request.charset=UTF-8
>   [session]org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.VIEW_ID_LRU={null=/view/register/registerHogehogeAccount.html}
>   [session]org.seasar.teeda.extension.util.TransactionTokenUtil.TOKENS=[11b467561d901bcc9c2b017b332e2ac5, a07598c0d90752bcf0a21a8988794fbb, cf165b247cb214b796685e1cc31a21a5]
>   [context]javax.servlet.context.tempdir=D:\Develop\Tools\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\hogehoge-web
>   [context]org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@f45732
>   [context]org.apache.catalina.resources=[E-MAIL ADDRESS DELETED]
>   [context]org.seasar.teeda.core.config.webapp.element.WebappConfig=[E-MAIL ADDRESS DELETED]
>
> DEBUG 2007-09-05 16:11:12,097 [http-8080-Processor23] クラス(hogehoge.hogehoge.web.web.register.RegisterHogehogeAccountPage[register_registerHogehogeAccountPage])のコンポーネント定義を登録します
> DEBUG 2007-09-05 16:11:12,447 [http-8080-Processor23] クラス(hogehoge.hogehoge.web.web.register.layout.HeaderPage[register_layout_headerPage])のコンポーネント定義を登録します
> DEBUG 2007-09-05 16:11:12,484 [http-8080-Processor23] クラス(hogehoge.hogehoge.web.logic.impl.AuthenticationLogicImpl[authenticationLogic])のコンポーネント定義を登録します
> DEBUG 2007-09-05 16:11:12,580 [http-8080-Processor23] クラス(hogehoge.hogehoge.web.web.register.layout.FooterPage[register_layout_footerPage])のコンポーネント定義を登録します
> DEBUG 2007-09-05 16:11:12,608 [http-8080-Processor23]
>
> ** after *****************************************: /view/register/registerHogehogeAccount.html
>   Response class=org.apache.catalina.connector.ResponseFacade, instance=[E-MAIL ADDRESS DELETED]
>   [request]facesContext=[E-MAIL ADDRESS DELETED]
>   [request]javax.faces.webapp.GLOBAL_ID_VIEW={}
>   [request]javax.servlet.jsp.jstl.fmt.locale.request=ja_JP
>   [request]org.apache.myfaces.component.html.util.ExtensionFilter.doFilterCalled=true
>   [request]org.seasar.framework.container.hotdeploy.HotdeployFilter=[E-MAIL ADDRESS DELETED]
>   [request]org.seasar.teeda.core.lifecycle.LifecycleImpl.EXECUTED=org.seasar.teeda.core.lifecycle.LifecycleImpl.EXECUTED
>   [request]org.seasar.teeda.extension.render.TViewRootRenderer=[[E-MAIL ADDRESS DELETED]]
>   [request]org.seasar.teeda.extension.render.TViewRootRenderer.INDEX=-1
>   [request]org.seasar.teeda.extension.render.html.THtmlHeadRenderer.CSS_KEY=[]
>   [request]org.seasar.teeda.extension.render.html.THtmlHeadRenderer.INLINE_CSS_KEY={}
>   [request]org.seasar.teeda.extension.render.html.THtmlHeadRenderer.INLINE_JS_KEY={}
>   [request]org.seasar.teeda.extension.render.html.THtmlHeadRenderer.JS_KEY=[]
>   [request]org.seasar.teeda.extension.util.TransactionTokenUtil.TOKEN=c011e0da1ec9f842e8530c57686f2b41
>   [request]postback=true
>   [request]previousViewId=/view/register/registerHogehogeAccount.html
>   [request]register_layout_footerPage=hogehoge.hogehoge.web.web.register.layout.FooterPage$$EnhancedByS2AOP$$[E-MAIL ADDRESS DELETED]
>   [request]register_layout_headerPage=hogehoge.hogehoge.web.web.register.layout.HeaderPage$$EnhancedByS2AOP$$[E-MAIL ADDRESS DELETED]
>   [request]register_registerHogehogeAccountPage=hogehoge.hogehoge.web.web.register.RegisterHogehogeAccountPage$$EnhancedByS2AOP$$[E-MAIL ADDRESS DELETED]
>   [request]teeda.SUBMITTED_COMMAND=doOnceNext
>   [cookie]JSESSIONID=3E7F0FA2EEF622088D7B3F51DC2772FB
>   [session]javax.faces.internal.scope.RedirectScope={}
>   [session]javax.faces.internal.scope.SubApplicationScope={}
>   [session]javax.faces.request.charset=UTF-8
>   [session]org.seasar.teeda.core.lifecycle.impl.RestoreViewPhase.VIEW_ID_LRU={null=/view/register/registerHogehogeAccount.html}
>   [session]org.seasar.teeda.extension.util.TransactionTokenUtil.TOKENS=[11b467561d901bcc9c2b017b332e2ac5, a07598c0d90752bcf0a21a8988794fbb, cf165b247cb214b796685e1cc31a21a5, c011e0da1ec9f842e8530c57686f2b41]
>   [context]javax.servlet.context.tempdir=D:\Develop\Tools\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\hogehoge-web
>   [context]org.apache.catalina.WELCOME_FILES=[Ljava.lang.String;@f45732
>   [context]org.apache.catalina.resources=[E-MAIL ADDRESS DELETED]
>   [context]org.seasar.teeda.core.config.webapp.element.WebappConfig=[E-MAIL ADDRESS DELETED]
>
>
> S2は以下を使っています.
> s2-framework-2.4.18-SNAPSHOT.jar
> s2-extension-2.4.17.jar
> s2-tiger-2.4.17.jar
>
> ───────────────────────────────
>  株式会社 グランテック
>  代表取締役社長
>  加藤 潤一 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 メーリングリストの案内