Re: Pretty Print HTML of WOComponents
"Jerry W. Walker" <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Jürgen, I've found that the HTML reformatting feature (pretty printing) still works, but selectively. It only hierarchically indents HTML lines that are separated. Unfortunately, when you add HTML to a component through the menus in Layout View, it adds the HTML with no line breaks. I use a two step process in Source View that seems to work reasonably well: 1. Use Find/Replace to replace every occurrence of "><" with ">[nl] <" (where "[nl]" is a new line character). 2. Use the Format->Reformat HTML menu item (or Cmd-R) to reformat (pretty print). I'm generally not pleased with this necessity, but the benefit is that the reformatting will no longer arbitrarily break up tags that you want left on the same line (e.g. where you have several table cells in a row with very little text in them: "<td>a couple text words</td>"). Regards, Jerry On Jul 12, 2006, at 1:58 AM, Jürgen Rohrbach wrote: > hello, > > in the current version of webobjects 5.3 the pretty printing > feature of the html content does not work any more. > WebObjects Builder has the version 5.3.1 (680). Does anybody have > the same problem or a solutions? > > thanks, > > juergen > > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev -- __ Jerry W. Walker, WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems [email protected] 203 278-4085 office