This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
The following happens. I am defaulted to the Credit Card radio button. I decide I want to click the PayPal radio button. I again decide to click the Credit Card radio button. At that very moment 2 extra break tags are inserted right below this intended br element. They are just two plain br tags with no style or class.
What could be causing this? This is a JSF, SEAM RichFaces application. I should add the inserted br tags look like <br> so they would not pass the xhtml requirements of facelets.
No way I can tell - it's probably generated by the <s:div> tag, whatever that is - but there's no need for <p/> or <br/> tags anyway. Use the margin-top and margin-bottom styles on your <div;> element to get the blank "lines" above and below the div content. Merely employing a div element causes the same effect as a br element, since the difference between div and span is that span doesn't do a line break.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jul 13, 2009
Turned out by changing the <P> tags to <s:div> tags around each section. The mysterious problem went away. Well most of it anyway.
In Internet Explorer If you click the Paypal radio button then Credit Card radio button then Paypal radio button, at that point it will automatically shift back to the Credit Card radio button on its own.
Something to do with the Ajax calls I am guessing..
Joined: Jul 13, 2009
When you select paypal it is fine, when you go back to credit card it is fine.. when you click yet again on PayPal's radio button it will automatically reselect the Credit card radio button. This only happens in IE browsers; Chrome and FF are fine.
and the 2 pieces that call the function:
subject: Any idea what could cause new <br> tags to get added to the rendered code?