On Tue, Mar 6, 2012 at 10:01 AM, Wilhelmsen Tor Iver <toriv...@arrive.no> wrote:
>> See org.apache.wicket.ajax.IAjaxIndicatorAware. With this you can provide 
>> your own indicator which will be shown/hidden before/after the Ajax request
>
> I think the poster wants to use "visibility: hidden" instead of "display: 
> none" for when it is not shown (the "taking up space" requirement).

Oh. You are right. Even with custom indicator Wicket will use display
CSS property again...
The real problem is in wicket-ajax.js - wicketShow() and wicketHide()
toggle 'display'.
A workaround is to use AjaxCallDecorator that toggles 'visibility'
before the request and in success/failure handlers.

>
> - Tor Iver
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to