Develop and Download Open Source Software

Back to Forum List
Back to this Forum

RSS feed of this forum [RSS]RSS for this Forum
RSS feed of this forum thread [RSS]RSS for this Thread

Discussion Forums: 公開討議

Subject:[#52158] RE: ValidatorResourcesワーニングについて

Date:2010-07-24 23:05By:mhasegawa (yggd)
先の回答と同様、TERASOLUNA Server Framework for Java(Web版)を利用されている前提にご回答いたします。
また、こちらでは再現動作検証を行える環境が出揃っておりませんので、確定的な原因・対処が申し上げられません。
その点ご了承いただきたいと存じます。

まず警告ログに現れている「form の認識」ですが、struts-config.xmlの<form-beans>要素で、以下アクションフォームの違いにより、このformの意味が変わってきます。

1.(Dyna)ValidatorActionFormEx
2.(Dyna)ValidatorForm

# それぞれご利用になっているアクションフォームで読み替えていただきたいと存じます。

1.の場合は、入力チェックの範囲がアクションパス単位となります。
そのため、validation.xml(入力チェック定義) のform名は、アクションパス(/xxx/xxx)を表します。
(こちらは前述の回答の内容です。)

2.の場合は、入力チェックの範囲はアクションフォーム単位となりますので、validation.xmlのform名は、アクションフォーム名を表します。

提示いただきましたログから、validation.xmlで、今回入力チェックを行うform名を参照した際、nullが指定された警告を受けております。

1.の場合は入力チェック対象のアクションパスが指定されておりませんので、入力チェック対象の画面遷移(および、先読みされる一つ前の遷移)のアクションパスがサーバに送られなかった可能性があります。
具体的にはJSPの<html:form>タグのactionや、Actionのフォワード指定などです。

# しかし、このケースでは入力チェック以前にサーバ処理の対象が
# 不明となるため、別のエラーが発生する可能性が高いです。

2.の場合は、入力対象のアクションフォーム名が不明だったケースです。
struts-config.xmlのアクションマッピング定義(<action name="yyyy">)
で、アクションフォーム名(name属性)が指定されていない可能性があります。

いずれにせよ、ご利用いただいておりますアクションフォームの違いから、
問題の切り分けを行っていただきますよう、お願いいたします。
Thread Author Date
[#51838] ValidatorResourcesワーニングについて Anonymous 2010-07-08 18:24
      [#52211] RE: ValidatorResourcesワーニングについて Anonymous 2010-07-29 09:43
      [#52158] RE: ValidatorResourcesワーニングについて yggd 2010-07-24 23:05
      [#52108] RE: ValidatorResourcesワーニングについて Anonymous 2010-07-22 19:41
      [#51958] RE: ValidatorResourcesワーニングについて Anonymous 2010-07-14 12:52
      [#51887] RE: ValidatorResourcesワーニングについて yggd 2010-07-11 07:16
            [#51888] RE: ValidatorResourcesワーニングについて yggd 2010-07-11 07:22

Post a followup to message [#52158] RE: ValidatorResourcesワーニングについて:

Subject:



Non-login user's post can not identify who are you. If you want to display your name on the post, please input your name.
(If you leave this blank, your message's author will display as Anonymous.)
Message:

HTML tags will display in your post as text
You are posting anonymously because you are not [logged in]

SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.