Hi, Replace <div wicket:id="my_panel"> with <wicket:container wicket:id="my_panel"> in YourPage.html. The same can be achieved by calling myPanel.setRenderBodyOnly(true) in Java
On Tue, May 15, 2012 at 10:01 PM, mlabs <[email protected]> wrote: > I set html,body to height:100%; in my css file. > I have a page rendered and i'm ajaxing in a sub panel. > Because i'm ajaxing the panel in, I have to use setOutputMarkupId() .. which > results in wicket inserting a div with a generated ID in between the outer > containing div and the inner div of my panel... something like this : > > <div id="outer-div"> > <div id="my_panel_div_1a"> <---inserted by wicket > <div id="inner-div"> > .. component here.. > </div> > </div> > </div> > > the problem is that I want the inner div to inherit the height:100% > attribute, but that only looks at the parent div.. which was inserted by > wicket and breaks the chain of inheritance... > > i'm sure there is some glaringly obvious solution to this... > > any thoughts? > > TIA > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/nested-divs-ajax-css-inheritance-tp4635925.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
