Re: Wicket.replaceOuterHtml problems in Gecko
Thanks Igor! It was in igor.vaynberg wrote: > > i have seen that happen when you have invalid markup. like a div > inside a span, or a div directly inside a tr. check your page for > stuff like that. > > -igor > > On Tue, Mar 16, 2010 at 10:02 AM, Martin Grigorov > wrote: >> Hi, >> >> I'm experiencing a weird problem with Wicket Ajax in Firefox 3.6 (I >> didn't test in older versions of FF). >> >> Basically my code looks like this: >> >> final TextField textField = new TextField("text", new >> PropertyModel(this, "text")); >> textField.setOutputMarkupId(true); >> textField.setOutputMarkupPlaceholderTag(true); >> textField.setVisible(false); >> >> add(textField); >> >> final AjaxLink link = new AjaxLink("link") { >> private static final long serialVersionUID = 1L; >> >> boolean toShow = true; >> >> �...@override >> public void onClick(AjaxRequestTarget target) { >> textField.setVisible(toShow); >> toShow = !toShow; >> target.addComponent(textField); >> } >> }; >> >> and the html : >> >> >> >> link >> >> The basic idea is to switch the visibility of a TextField, the initial >> state is not visible. >> >> This works pretty well in IE (tested in 7 and 8) and Chrome (tested with >> ver.5 on Linux). >> Unfortunately the most reliable browser makes something very weird - >> every re-render with visibility==true it appends one more element >> around the element: >> >> (this is my from the template) >> http://www.w3.org/1999/xhtml";> (this one is added by FF) >> http://www.w3.org/1999/xhtml";> (this one is added by >> FF) >> >> >> >> >> >> I created a simple quickstart application and there everything is >> working fine. So it looks to me that FF confuses somehow with the >> complex html structure of my page. >> >> Did anyone have such problems before ? >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/Wicket.replaceOuterHtml-problems-in-Gecko-tp27921435p27928225.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 1.4.2 Released!
Congratulations ! Why there are no SVN tags anymore ? svn ls http://svn.apache.org/repos/asf/wicket/tags/ does not have tags for 1.4.1 and 1.4.2 igor.vaynberg wrote: > > The Apache Wicket project is proud to announce the second maintenance > release of Apache Wicket 1.4. > > Download Apache Wicket 1.4 > --- > > You can download the release here: > http://www.apache.org/dyn/closer.cgi/wicket/1.4.2 > > Or use this in your Maven pom's to upgrade to the new version: > > > org.apache.wicket > wicket > 1.4.2 > > > Release Notes - Wicket - Version 1.4.2 > > ** Bug > * [WICKET-2393] - Passwords should not be trimmed > * [WICKET-2430] - Malformed \u encoding in > MultipleUploadField_sl.properties > * [WICKET-2433] - Ajax support for multipart forms broken in a nested > form > * [WICKET-2434] - RequestCycle urlFor ignores existing parameters > when appending provided params > * [WICKET-2436] - invalid DataTable markup breaks table layout > * [WICKET-2438] - AjaxEventBehavior not working on feedback > message components > * [WICKET-2453] - Form.findForm(Component c) bug. When form is > part of Border and form component like TextField is inside another > Border , component cannot resolve its form. > * [WICKET-2456] - DateTextField cannot work with default converter > (or javadoc wrong) > * [WICKET-2457] - Flash/ExternalInterface does not work in IE if > movie is fetched via Wicket/Ajax > * [WICKET-2458] - JavascriptUtils.escapeQuotes() misses escaping > double quotes > * [WICKET-2461] - AjaxPagingNavigationIncrementLink does not work > without AjaxPagingNavigator component > * [WICKET-2463] - Ajax miltipart form submitting ignores > setDefaultFormProcessing(false) > * [WICKET-2466] - javadoc the CryptedUrlWebRequestCodingStrategy > needs to be update/corrected to reflect the usage of session-id for > encryption and hence URLs which were bookmarkable before will NOT > remain bookmarkable. > * [WICKET-2475] - NPE after application hot redeployment > * [WICKET-2477] - AjaxEditableChoiceLabel does not detach choices model > * [WICKET-2478] - TabbedPanel rendering bug > * [WICKET-2485] - IComponentResolvers are not supported inside > wicket:enclosure > * [WICKET-2488] - QuickFix proposal > WicketTesterHelper.assertEquals(final Collection expects, final > Collection actuals) should compare list sizes > > ** Improvement > * [WICKET-626] - profile Wicket for 1.4.0 > * [WICKET-2435] - TabbedPanel extract factory method for tabs-container > * [WICKET-2439] - Improve MixedParamUrlCodingStrategy, introduce Hybrid > * [WICKET-2444] - Internal Spring beans should be ignored > * [WICKET-2445] - FormInput.java needs the validators updated. > * [WICKET-2449] - Fix javadoc biggest mistakes - mainly @Deprecated tags > * [WICKET-2454] - IE8: be more verbose if ajax refresh fails > * [WICKET-2469] - Allow using a different FileItemFactory by > extracting a method in MultipartServletWebRequest class > * [WICKET-2492] - Application_pt_BR.properties path > > ** New Feature > * [WICKET-2395] - add MixedParamHybridUrlCodingStrategy > * [WICKET-2483] - Access to WizardModel.conditions > > ** Wish > * [WICKET-2120] - widen visibiliy of GuiceProxyTargetLocator and > findBindingAnnotation > * [WICKET-2462] - Would it possible add chinese resource label for > WizardButton eg. CancelButton, NextButton and PreviousButton etc. > * [WICKET-2489] - need to know if a component has been added to > the AjaxRequestTarget > > We thank you for your patience and support. > > The Wicket Team > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/Wicket-1.4.2-Released%21-tp25831449p25855241.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org