ahh... thank you :) we try

On 11/30/05, Andrea Chiumenti <[EMAIL PROTECTED]> wrote:
thank you very much and ... your lib really rocks


On 12/1/05, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:
Ok this is fixed now. Sorry for any hassles.


On 11/30/05, Jesse Kuhnert <[EMAIL PROTECTED] > wrote:
Ah, I think you have a point.. :) Give me a minute or two.


On 11/30/05, Andrea Chiumenti <[EMAIL PROTECTED] > wrote:
the problem is that: if a textbox value is required and I don't fill it, the form submission shouldn't happen instead of proceed, just like it works with standard Tapestry Form component

--------------------------------
<component id="inputSearchTerm" type="TextField">
        <binding name="displayName" value="literal:Searchterm"/>
        <binding name="value" value="ognl:searchTerm"/>
        <binding name="validators" value="{beans.required}"/>
    </component>

<bean name="required" class="org.apache.tapestry.form.validator.Required"/>


On 12/1/05, Jesse Kuhnert < [EMAIL PROTECTED]> wrote:
I'm not sure I understand you correctly, based on this:

" because client validation script correctly works but the ajax request continues to process,
so the form/component is updated anyway. I've noticed this in the demo too (submitting partial forms with empty textbox)."

What happened and what were you expecting to happen? Does the form component get refreshed even when you don't ask it to?


On 11/30/05, Andrea Chiumenti < [EMAIL PROTECTED]> wrote:
Hello,
i've tyed both alpha-6 and cvs but have the same misfunctionality on clientValidationEnabled
because client validation script correctly works but the ajax request continues to process,
so the form/component is updated anyway. I've noticed this in the demo too (submitting partial forms with empty textbox).
The standard Form works correclty.
Tests made on msie mozilla and firefox

<component id="searchForm" type="tacos:AjaxForm">
        <binding name="listener" value="ognl:formListener"/>
        <binding name="updateComponents" value="ognl:{id + 'ResultList'}"/>
        <binding name="clientScriptEnabled" value="ognl:true"/>
        <binding name="delegate" value="ognl:beans.delegate"/>
        <binding name="clientValidationEnabled" value="ognl:true"/>       
    </component>

<!--
    <component id="searchForm" type="Form">
        <binding name="listener" value="ognl:formListener"/>
        <binding name="delegate" value="ognl:beans.delegate"/>
        <binding name="clientValidationEnabled" value="ognl:true"/>       
    </component>
-->

Do you notice the same behaviour ?
Please help, best regards,
kiuma






Reply via email to