<pre> <wo:str value="$yourString" escapeHTML="$true"/> </pre>
On May 23, 2010, at 2:27 AM, Stavros Panidis wrote: > Thanks for the reply. > > To make it more clear, when I use System.out.println(myString) I get in > console the following output > > Df Sum Sq Mean Sq F value Pr(>F) > STATUS 4 244.272 61.068 419.63 < 2.2e-16 *** > Residuals 422 61.413 0.146 > --- > Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 > 1 observation deleted due to missingness > > while if I use a WOString in my component I get > > Df Sum Sq Mean Sq F value Pr(>F) STATUS 4 244.272 61.068 419.63 < 2.2e-16 > ***Residuals 422 61.413 0.146 ---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ > 0.05 ‘.’ 0.1 ‘ ’ 1 1 observation deleted due to missingness > > Stavros Panidis > > On 22 Μαϊ 2010, at 9:22 μ.μ., Chuck Hill wrote: > >> >> On May 22, 2010, at 11:19 AM, Stavros Panidis wrote: >> >>> Hello, >>> >>> is it possible to display styled text in a component? >>> >>> When I use System.out.println text is displayed formatted (correct tabs and >>> indentation) but if I use WOString or WOText the text is displayed >>> unformatted. >>> >>> Many thanks in advance >>> >>> Stavros Panidis >> >> >> http://developer.apple.com/legacy/mac/library/documentation/WebObjects/Reference/DynamicElements/Introduction/Introduction.html >> >> See the escapeHTML binding of WOString. WOText is an input and so does not >> take HTML formatting. >> >> >> >> Chuck >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall >> knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/products/practical_webobjects >> >> >> >> >> >> >> > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/rparada%40mac.com > > This email sent to [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
