Issue Details (XML | Word | Printable)

Key: FDT-1249
Type: Featurerequest Featurerequest
Status: Confirmed Confirmed
Priority: Minor Minor
Assignee: FDT Team
Reporter: Nico Zimmermann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Templates to create metadata should work within fx:Metadata

Created: 11/Sep/10 11:20 PM   Updated: 05/Jul/12 11:55 PM
Component/s: Editor (Deprecated), MXML
Affects Version/s: FDT 4 RC 1
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified


 Description  « Hide
<?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/mx">

	<fx:Metadata>
		Ev* should complete to [Event...]
		Mana* should complete to [ManagedEvents]
	</fx:Metadata>

</s:Application>

Currently those templates are in context "AS3". I am not sure about the best solution to fix this. Possible solutions would be:

  • Duplication of all relevant templates and add them to MXML and AS3 context (but duplication is not good)
  • Change context of fx:Metadata to AS3 (side effects?)
  • Allow temlates to be in 2 contexts (AS3 and MXML) (maybe im impossible, requires UI changes in the preference page)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Stephanie Swiderski added a comment - 16/Sep/10 06:01 PM
This was a design decision long time ago.
At the moment in Metadata a CDATA block is necessary.
In a click-tag also CDATA block does not work currently.
Only click attributes allow AS3-Code.