We fixed the FXAjaxValidationHandler so that is supposed to work with all FormComponents now, as was intended. We tested it on a TextArea and it works fine. The fix is not in the 0.3 release, but you can check out wicket-contrib-dojo FXValidationAjaxHandler.java We will add the fixed handler to our next release and add a TextArea example in our next example app.

We did have to add a restriction to our handler. The FormComponent where the handler is bound to has to be added to a page BEFORE you add the handler like this:

tarea = new TextArea("tarea", new PropertyModel(ValidationTestPage.this, "textValue"));
           tarea.add(LengthValidator.max(10));
//add the component first before you add the handler
           form.add(tarea);
           tarea.add(new FXValidationAjaxHandler("onblur"));

otherwise, and exception will be thrown.

Marco & Ruud

NOTE: due to a previously erronomous commit you will still get a filename-case warning when checking out wicket-contrib-dojo on BasicTooltipTutorial.xml, this is in the process of bieng fixed, but can take a few days. It should not affect checked out code.

Hi,
I tried FX AJAX Validation and it works great with TextField. Thanks for the great job !

But I found that it does not work with TextArea (raise Unmodified related exception from ValueMap) .
Have any body tried ?


On 11/25/05, *Ruud Booltink* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,

    We're proud to anounce our first real contrib-dojo release :)
    This release contains:
    Dojo FX Decorators
    Dojo FX Tooltip
    FX ajax Validation
    FXFeedbackIndicator
    xdocs updated with new site
    Example applications

    You can check our release at
    http://wicket-stuff.sourceforge.net/wicket-contrib-dojo/

    Have fun with the release, and if you have any comments, please feel
    free to post them on the mailinglist :)

    Regards,

    Ruud and Marco




    -------------------------------------------------------
    This SF.net email is sponsored by: Splunk Inc. Do you grep through
    log files
    for problems?  Stop!  Download the new AJAX search engine that makes
    searching your log files as easy as surfing the  web.  DOWNLOAD
    SPLUNK!
    http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
    <http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click>
    _______________________________________________
    Wicket-user mailing list
    Wicket-user@lists.sourceforge.net
    <mailto:Wicket-user@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to