Sounds like a bug to me. Could you please file one? Thanks,
Eelco On 12/2/05, Dipu <[EMAIL PROTECTED]> wrote: > > Hi, > > When we add ajax handler to a component with open and close tag , for > example a drop down choice <select wicket:id="parentAgent" > id="parentAgent"></select> > wicket will try to add the hanfder twice, first during the rendering phase > of the opening tag and secondly during the rendering phase of the close tag. > And this results in > an exception. > > The ajax handler should be added only when the tage type is XmlTag.OPEN or > XmlTag.OPEN_CLOSE and not when the tag type is XmlTag.CLOSE. > > Right now i am doing this check to avoid the probelm when i add the ajax > handler to a drop dpwn , can any one out there please confirm if this is the > right approach. > or am i missing something important here. > > Any suggestions and pointer in the right direction will be greatly > appreciated. > > Thanks > Dipu > ------------------------------------------------------- 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_idv37&alloc_id865&op=click _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user