Re: Spacing IE7 Issue when doing Wicket.setVisible() on WebMarkupContainer

2013-10-08 Thread eugenebalt
Thanks Sven. Unfortunately we can't test without the CSS, otherwise it's all
just text. Any other ideas?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Spacing-IE7-Issue-when-doing-Wicket-setVisible-on-WebMarkupContainer-tp4661733p4661752.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



Re: Spacing IE7 Issue when doing Wicket.setVisible() on WebMarkupContainer

2013-10-08 Thread eugenebalt
Happily, we fixed this IE7-only problem.

All we had to do was add the top-level Repeater (containing all the panels)
to the Ajax target of the AjaxCheckbox triggering the visibility of these
child panels.

final AjaxCheckBox HQUserCheckBox = new AjaxCheckBox("HQUser", new
PropertyModel(formObject, "HQUser")) {
  
//...
arg0.addComponent(repeaterWrapper);

}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Spacing-IE7-Issue-when-doing-Wicket-setVisible-on-WebMarkupContainer-tp4661733p4661759.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



Re: Spacing IE7 Issue when doing Wicket.setVisible() on WebMarkupContainer

2013-10-07 Thread Sven Meier

Does it work when you're running without any CSS?
We have experienced similar problems with 'inline-block' styled markup.

Sven

On 10/07/2013 07:19 PM, eugenebalt wrote:

I don't know if anyone can help on this, but we ran into an IE7 issue (it
doesn't happen in IE8) where, when we toggle the visibility of some
MarkupContainers, the parent containers keep the original spacing they had
before, and don't suppress/expand properly to accommodate the new layout
(child panel is shown/hidden). So, we either get blank whitespace, or the
panel (when shown) is cut off.

There are N parent containers (they can be added dynamically in our app) and
in each one, an AjaxCheckBox triggers the visibility of an additional child
WMC panel. The last, Nth parent container, always resizes itself properly.
But any of the earlier ones, don't change their size when the child panel is
shown/hidden.

We only see this in IE 7 Compatibility mode. We've tried all kinds of CSS
and JS tricks but no luck. Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Spacing-IE7-Issue-when-doing-Wicket-setVisible-on-WebMarkupContainer-tp4661733.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




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



Spacing IE7 Issue when doing Wicket.setVisible() on WebMarkupContainer

2013-10-07 Thread eugenebalt
I don't know if anyone can help on this, but we ran into an IE7 issue (it
doesn't happen in IE8) where, when we toggle the visibility of some
MarkupContainers, the parent containers keep the original spacing they had
before, and don't suppress/expand properly to accommodate the new layout
(child panel is shown/hidden). So, we either get blank whitespace, or the
panel (when shown) is cut off.

There are N parent containers (they can be added dynamically in our app) and
in each one, an AjaxCheckBox triggers the visibility of an additional child
WMC panel. The last, Nth parent container, always resizes itself properly.
But any of the earlier ones, don't change their size when the child panel is
shown/hidden.

We only see this in IE 7 Compatibility mode. We've tried all kinds of CSS
and JS tricks but no luck. Thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Spacing-IE7-Issue-when-doing-Wicket-setVisible-on-WebMarkupContainer-tp4661733.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