flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zarzycki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-35273) [FlexJS] No error in code with multiple views
Date Mon, 06 Mar 2017 16:27:32 GMT

     [ https://issues.apache.org/jira/browse/FLEX-35273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Piotr Zarzycki updated FLEX-35273:
----------------------------------
    Affects Version/s:     (was: Apache FlexJS 0.8.0)
                       Apache FalconJX 0.8.0
        Fix Version/s: Apache FalconJX 0.8.0

> [FlexJS] No error in code with multiple views
> ---------------------------------------------
>
>                 Key: FLEX-35273
>                 URL: https://issues.apache.org/jira/browse/FLEX-35273
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Falcon, FlexJS
>    Affects Versions: Apache FalconJX 0.8.0
>            Reporter: Justin Mclean
>            Assignee: Justin Mclean
>             Fix For: Apache FalconJX 0.8.0
>
>
> This code when run will have the second view displayed, no warnings or errors occur.
> {code}
> <?xml version="1.0" encoding="utf-8"?>
> <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
>                xmlns:js="library://ns.apache.org/flexjs/basic"
>                applicationComplete="init()">
>    <fx:Script><![CDATA[
>              public function init():void {
>                  text1.text = "Visible";
>                  text2.text = "Hidden";
>              }
>        ]]></fx:Script>
>    <js:valuesImpl>
>        <js:SimpleCSSValuesImpl/>
>    </js:valuesImpl>
>    <js:initialView>
>        <js:View id="view1" visible="true" percentWidth="100" percentHeight="100">
>            <js:Label id="text1" text="View 1" />
>        </js:View>
>        <js:View id="view2" visible="false" percentWidth="100" percentHeight="100">
>            <js:Label id="text2" text="View 2" />
>        </js:View>
>    </js:initialView>
> </js:Application>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message