Skip to main content
Participant
August 11, 2008
Question

Templating and IDE

  • August 11, 2008
  • 3 replies
  • 620 views
Hello,<br /><br />I am trying to use templating following the Flex 3 doc here:<br />http://livedocs.adobe.com/flex/3/html/help.html?content=templating_3.html <br /><br />It works when I run the program, but on Flex IDE 3, the visual designer view doesn't show any control I added in MyComp:MyTemplateComponent! In the flowing example, the <mx:TextArea> and <mx:LinkButton> are not visible in the designer:<br /><br /><?xml version="1.0"?><br /><!-- templating/MainTemplateLink.mxml --><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <br /> xmlns:MyComp="myComponents.*"<br /> height="700" width="700"><br /><br /> <mx:Panel paddingTop="10" paddingBottom="10" <br /> paddingRight="10" paddingLeft="10"><br /> <br /> <MyComp:MyTemplateComponent id="myTComp2"><br /> <MyComp:topRow> <br /> <mx:TextArea text="top component"/><br /> </MyComp:topRow><br /> <MyComp:bottomRow><br /> <mx:LinkButton label="Link 1"/> <br /> <mx:LinkButton label="Link 2"/><br /> <mx:LinkButton label="Link 3"/><br /> </MyComp:bottomRow><br /> </MyComp:MyTemplateComponent><br /> </mx:Panel><br /></mx:Application><br /><br />Did I do something wrong or is this a IDE bug ? <br /><br />Thanks,<br /><br />-toni
This topic has been closed for replies.

3 replies

matt_chotin
Inspiring
August 11, 2008
Moved to FB: http://bugs.adobe.com/jira/browse/FB-13762<br /><br /><br />On 8/11/08 1:12 PM, "aparolini" <member@adobeforums.com> wrote:<br /><br />A new message was posted by aparolini in<br /><br />Developers --<br /> Templating and IDE<br /><br />Here you are: http://bugs.adobe.com/jira/browse/SDK-16434<br /><br />-toni<br /><br />________________________________<br />View/reply at Templating and IDE <a href=http://www.adobeforums.com/webx?13@@.59b62175/1><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b62175!folder=.3c060fa3> form to cancel your email subscription.
Participant
August 11, 2008
Here you are: http://bugs.adobe.com/jira/browse/SDK-16434

-toni
matt_chotin
Inspiring
August 11, 2008
It's possible Design View doesn't know how to support this sort of thing. DV does interpretation more than anything else. Feel free to file a bug against Flex Builder.<br /><br />Matt<br /><br /><br />On 8/11/08 1:43 AM, "aparolini" <member@adobeforums.com> wrote:<br /><br />A new discussion was started by aparolini in<br /><br />Developers --<br /> Templating and IDE<br /><br />Hello,<br /><br />I am trying to use templating following the Flex 3 doc here:<br />http://livedocs.adobe.com/flex/3/html/help.html?content=templating_3.html<br /><br />It works when I run the program, but on Flex IDE 3, the visual designer view doesn't show any control I added in MyComp:MyTemplateComponent! In the flowing example, the <mx:TextArea> and <mx:LinkButton> are not visible in the designer:<br /><br /><?xml version="1.0"?><br /><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:MyComp="myComponents.*" height="700" width="700"><br /><br /> <mx:Panel paddingTop="10" paddingBottom="10" paddingRight="10" paddingLeft="10"><br /><br /> <MyComp:MyTemplateComponent id="myTComp2"><br /> <MyComp:topRow><br /> <mx:TextArea text="top component"/><br /> </MyComp:topRow><br /> <MyComp:bottomRow><br /> <mx:LinkButton label="Link 1"/><br /> <mx:LinkButton label="Link 2"/><br /> <mx:LinkButton label="Link 3"/><br /> </MyComp:bottomRow><br /> </MyComp:MyTemplateComponent><br /> </mx:Panel><br /></mx:Application><br /><br />Did I do something wrong or is this a IDE bug ?<br /><br />Thanks,<br /><br />-toni<br /><br />________________________________<br />View/reply at Templating and IDE <a href=http://www.adobeforums.com/webx?13@@.59b62175><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b62175!folder=.3c060fa3> form to cancel your email subscription.