Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20163

Application pageTitle doesnt work when setting it as an MXML child tag instead of inline in the <Application> tag directly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Adobe Flex SDK Previous
    • None
    • Spark: Application
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run following .MXML file:

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo">
      <s:pageTitle>Hello World</s:pageTitle>

      <s:VGroup x="20" y="20">
      <s:RichEditableText id="sdkVer"
      fontWeight="bold"
      editable="false"
      initialize="sdkVer.text = mx_internal::VERSION;" />
      </s:VGroup>

      </s:Application>

      2. view page title.

      Actual Results:
      No page title is added.

      Expected Results:
      The HTML page title should display "Hello World".

      Workaround (if any):

      <?xml version="1.0" encoding="utf-8"?>
      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo"
      pageTitle="Hello World">

      <!-- ... -->

      </s:Application>

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: