Hi,

You need to call component.setOutputMarkupPlaceholderTag(true) for all
components which are hidden and should be shown with Ajax.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Dec 4, 2014 at 10:55 AM, armandoxxx <armando....@dropchop.com>
wrote:

> Hey guys ..
>
> I've got problem with AjaxFallbackLink in production deployment ...
>
>
> for example :
>
>
>
>   SettingsComponent.this.hideAll(); << hides all panels (sets visibility to
> false)
> SettingsComponent.this.infoComponent.setVisible(true); << sets desired
> panel
> to visible
> ajaxRequestTarget.add(SettingsComponent.this.panelWrapper); << refreshes
> the
> panel wrapper ...
>
>
> and the problem is .. that AJAX request is executed, data returned (html
> and
> javascripts are returned from server - I can see it all in development
> window) ... and nothing happens .. if I press F5 to refresh the page .. the
> correct panel is displayed ...
> in development deployment everything works fine ...
>
> any ideas? and suggestions ...
>
> regards
>
> Armando
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Production-deployment-ajax-problem-tp4668611.html
> Sent from the Users forum 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
>
>

Reply via email to