Nice piece of work, but it won't work with other Dojo elements. I tried to build a menu using Dojo DropdownButtons as a Wicket panel. But the DropdownButtons element of Dojo requires the directory src/widget to be accessable under dojo.js. The only way I got this to work was to move the dojo javascript libraries to /WebRoot - then it worked mostly correctly. I need to figure a way to remove <span> tags I'm using to build <ul> <li> </li> </ul> clusters for each og the menu items
If you're interested I can convert my code from JDK1.5 to 1.4 and submitted it into the contrib-dojo area. Kevin -----Original Message----- From: Marco van de Haar [mailto:[EMAIL PROTECTED] Sent: Monday, 28 November 2005 10:54 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] New Wicket-contrib-dojo release 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 DISCLAIMER:--------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. -------------------------------------------------------------------------------------- ------------------------------------------------------- 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