0 Replies Latest reply on Jan 17, 2008 7:43 AM by b471code3

    New Line in Alert Box

    b471code3
      I have an alert when a new version of software is available for download. The alert receives the text from an XML file for different languages. The problem I run into is when it shows the alert it displays the \n characters in the alert text. Does this have to be stored in the HTML Code format within the XML? i.e.: &#92 for \ If not how can I correct this? When I just enter the alert in plain text without loading it from an XML source it works great.

      Here is some code:

      Alert.show(Locale.loadString("IDS_NEW_VERSION")

      IDS_NEW_VERSION = A new version is available.\n Please upgrade by selecting \n information \n downloads \n from \'Select Info\' \n Follow instructions on that page