Sorry for the other mail, this is the complete one

 

Hi,

I'm trying to compute a value at the moment my formi s submitted, in this
way

 

<head>

<script type="text/javascript">

      function getMessage() {

                  document.myForm.myHidden.value="myComputedValue"

      }

      </script>

</head>

<body>

<form jwcid="[EMAIL PROTECTED]:AjaxForm" onSubmit=javascript:getMessage();>

      <span jwcid="[EMAIL PROTECTED]" value="ognl:myHiddenField"/>

            <submit jwcid="@tacos:AjaxSubmit"
listener="listener:testMethod"/>

</form>

</body>

 

The idea i sto assign at submit time the value "myComputedValue" to the
hidden field and pass it to the server, but it doesn't work.

 

Any idea?

 

Edoardo Campagnano

 

Reply via email to