• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Styled text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Styled text


  • Subject: Re: Styled text
  • From: Stavros Panidis <email@hidden>
  • Date: Sun, 23 May 2010 09:27:15 +0300

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Styled text
      • From: "Ricardo J. Parada" <email@hidden>
    • Re: Styled text
      • From: Q <email@hidden>
References: 
 >Styled text (From: Stavros Panidis <email@hidden>)
 >Re: Styled text (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: SSL and Cookies
  • Next by Date: Re: SSL and Cookies
  • Previous by thread: Re: Styled text
  • Next by thread: Re: Styled text
  • Index(es):
    • Date
    • Thread