Re: p tags!

2013-09-09 Thread Martin Grigorov
and experimenting, I finally found the culprit... yep; p tags. When any of my sub-components of mainPanel were wrapped in p tags, it caused the parent to duplicate instead of replace. Replace the p tag with a div and everything works fine. So obviously I have a perfectly good solution! Does anyone

Re: p tags!

2013-09-09 Thread Bas Gooren
Could it be related to http://stackoverflow.com/questions/10763780/putting-div-inside-p-is-adding-an-extra-p ? I've seen odd behavior before when using block-level elements inside p-tags. However, from your e-mail it's not entirely clear what your html looks like. Subcomponents of mainpanel

RE: p tags!

2013-09-09 Thread Colin Rogers
be a Wicket issue per se, more of DOM or JQuery issue, that had a weird knock-on effect on Wicket. I was wondering if Wicket people had experience of it. I think the upshot of this; don't use p tags for random formatting! :) Thanks Martin and Bas - all interesting stuff - I appreciate your inputs

p tags!

2013-09-08 Thread Colin Rogers
. After tons of reverting on code, hacking and experimenting, I finally found the culprit... yep; p tags. When any of my sub-components of mainPanel were wrapped in p tags, it caused the parent to duplicate instead of replace. Replace the p tag with a div and everything works fine. So obviously I