Re: Reg next line character in the passed String

2009-07-28 Thread Juri Prokofiev
Maybe this CSS trick will help you: pre class=formatPre style=width: 500px wicket:id=body / .formatPre { overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */ white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; /*

Re: Reg next line character in the passed String

2009-07-28 Thread Swapna Rachamalla
Thank you... On Mon, Jul 27, 2009 at 11:34 PM, Juri Prokofiev proj...@gmail.com wrote: Maybe this CSS trick will help you: pre class=formatPre style=width: 500px wicket:id=body / .formatPre { overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox

Re: Reg next line character in the passed String

2009-07-27 Thread Swapna Rachamalla
HI Igor I have tried with you suggestions..now it is displaying the whole content but it is not displaying in the next line wherever i need to display.. Here is the code in HTML: div class=marginLeft20 wicket:id=mfg a class=bottomCellLinks href=# wicket:id=mfgLink pre

Reg next line character in the passed String

2009-07-24 Thread Swapna Rachamalla
Hi All the code in *html*: div class=marginLeft20 wicket:id=mfga class=bottomCellLinks href=# wicket:id=mfgLinkspan wicket:id=mfgName[Manufacturer Name]/span/a/div the code in *Java *file: RepeatingView rv = new RepeatingView(mfg); WebMarkupContainer wmc = new

Re: Reg next line character in the passed String

2009-07-24 Thread Igor Vaynberg
put it into pre tags -igor On Fri, Jul 24, 2009 at 3:58 PM, Swapna Rachamallaswapna.rachama...@gmail.com wrote: Hi All the code in *html*: div class=marginLeft20 wicket:id=mfga class=bottomCellLinks href=# wicket:id=mfgLinkspan wicket:id=mfgName[Manufacturer Name]/span/a/div the code in

Re: Reg next line character in the passed String

2009-07-24 Thread Swapna Rachamalla
Hi Igor I am using pre tag. It is displaying A A2B TRACKING SOLUTIONS | Aastra | Aastra Phones | ABBYY | ABO Gear | ABT | AC Delco | ACCESS but the actual String value is the following: A A2B TRACKING SOLUTIONS | Aastra | Aastra Phones | ABBYY | ABO Gear | ABT | AC Delco | ACCESS HD |

Re: Reg next line character in the passed String

2009-07-24 Thread Jeremy Thomerson
You said in your email that you are using span tags. What is the generated HTML? Do you have span tags inside pre tags? Have you tried setRenderBodyOnly(true)? Or just attach the wicket:id to the pre tags directly? -- Jeremy Thomerson http://www.wickettraining.com On Fri, Jul 24, 2009 at