You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/06 13:41:56 UTC

[GitHub] [royale-asjs] T-San001 opened a new issue #656: Drop down does not show real text BUT [object Object]

T-San001 opened a new issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656
 
 
   With the following markup/function declaration, the drop down does not show
   
    001: Partner A
    002: Partner B
    003: Partner C
   
   Instead, shows the following.
   
    [object Object]
    [object Object]
    [object Object]
   
   =====================================================
   
   <?xml version="1.0" encoding="utf-8"?>
   <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   			   xmlns:mx="library://ns.apache.org/royale/mx"
   			   xmlns:s="library://ns.apache.org/royale/spark">
   	<fx:Script>
   		<![CDATA[
   			
   			import mx.collections.ArrayCollection;
   
   			public function getPartners():ArrayCollection{
   				var source:Array = [
   										{'id':1, value:'001: Partner A'},
   										{'id':2, value:'002: Partner B'},
   										{'id':3, value:'003: Partner C'}
   				]
   
   				return new ArrayCollection(source);
   			}
   
   		]]>
   	</fx:Script>
   		<s:Group>
   			<s:Button x="1813" y="1034" width="80" height="26" label="Return" tabIndex="90"/>
   			<s:Panel id="pa" x="19" y="134" width="1324" height="100" title="Search Condition">
   				<s:Label id="partner" x="58" y="24" width="100" height="20" color="#000000" text="Partner Name:"/>
   				<s:DropDownList id="partnerNameList" x="189" y="22" width="199" height="24" tabIndex="75" requireSelection="true"
   								dataProvider="{getPartners()}" labelField="value"/>
   				<s:Label x="430" y="27" text="Plan ID:"/>
   				<s:TextInput id="insurancePlanSearchId" x="554" y="22" width="119" tabIndex="15"/>
   				<s:Button id="searchBtn" x="1116" y="18" width="80" height="26" tabIndex="20" label="Search"/>
   			</s:Panel>
   		</s:Group>
   </s:Application>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-605550575
 
 
   What does the new test case look like?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-605620486
 
 
   https://paste.apache.org/714rh
   https://paste.apache.org/oz3kr
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-605459922
 
 
   Oh, this test case is actually working. I'll try to come up with a different one that shows the problem.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-571921212
 
 
   Oops, I was running the wrong example. I can reproduce it now.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-571635010
 
 
   This is working for me. Are you using the nightly build?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw closed issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw closed issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-572568900
 
 
   Should work with 20b0b89

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-605508957
 
 
   Looks like the initializer for mx:ComboBox's dropdown does not have its labelField set in time.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] T-San001 commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
T-San001 commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-571906754
 
 
   Yishay, thank.
   
   I changed as advised, however, no change in the output.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] T-San001 commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
T-San001 commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-571788726
 
 
   Yishay, thanks for your taking time.
   I used almost the latest JS only version (January 6, 2020).
   
   May be, my build options are not appropriate.  Would you please advise me your build way?
   I'm attaching my asconfig.json for your reference.
   [asconfig.txt](https://github.com/apache/royale-asjs/files/4032612/asconfig.txt)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-571901986
 
 
   Try changing 
   
       "config": "royale",
   
   to
   
       "config": "flex",
   
   
   This should tell the compiler to use the emulation components.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] yishayw commented on issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656#issuecomment-605024672
 
 
   Looks like 20b0b89 was removed with 19124aa7814c74988fedd0744a8d3042bfb2af43 .
   
   @aharui , was that intentional? It seems to have regressed.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [royale-asjs] T-San001 opened a new issue #656: Drop down does not show real text BUT [object Object]

Posted by GitBox <gi...@apache.org>.
T-San001 opened a new issue #656:  Drop down does not show real text BUT [object Object]
URL: https://github.com/apache/royale-asjs/issues/656
 
 
   With the following markup/function declaration, the drop down does not show
   
    001: Partner A
    002: Partner B
    003: Partner C
   
   Instead, shows the following.
   
    [object Object]
    [object Object]
    [object Object]
   
   =====================================================
   
   <?xml version="1.0" encoding="utf-8"?>
   <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   			   xmlns:mx="library://ns.apache.org/royale/mx"
   			   xmlns:s="library://ns.apache.org/royale/spark">
   	<fx:Script>
   		<![CDATA[
   			
   			import mx.collections.ArrayCollection;
   
   			public function getPartners():ArrayCollection{
   				var source:Array = [
   										{'id':1, value:'001: Partner A'},
   										{'id':2, value:'002: Partner B'},
   										{'id':3, value:'003: Partner C'}
   				]
   
   				return new ArrayCollection(source);
   			}
   
   		]]>
   	</fx:Script>
   		<s:Group>
   			<s:Button x="1813" y="1034" width="80" height="26" label="Return" tabIndex="90"/>
   			<s:Panel id="pa" x="19" y="134" width="1324" height="100" title="Search Condition">
   				<s:Label id="partner" x="58" y="24" width="100" height="20" color="#000000" text="Partner Name:"/>
   				<s:DropDownList id="partnerNameList" x="189" y="22" width="199" height="24" tabIndex="75" requireSelection="true"
   								dataProvider="{getPartners()}" labelField="value"/>
   				<s:Label x="430" y="27" text="Plan ID:"/>
   				<s:TextInput id="insurancePlanSearchId" x="554" y="22" width="119" tabIndex="15"/>
   				<s:Button id="searchBtn" x="1116" y="18" width="80" height="26" tabIndex="20" label="Search"/>
   			</s:Panel>
   		</s:Group>
   </s:Application>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services