curved-appointment-82072
03/10/2021, 3:55 PMcurved-appointment-82072
03/10/2021, 3:56 PMbright-gpu-74537
03/10/2021, 3:57 PMcurved-appointment-82072
03/10/2021, 3:57 PMcurved-appointment-82072
03/10/2021, 3:58 PMbright-gpu-74537
03/10/2021, 3:58 PMcurved-appointment-82072
03/10/2021, 3:58 PMcurved-appointment-82072
03/10/2021, 3:58 PMbright-gpu-74537
03/10/2021, 3:58 PMbright-gpu-74537
03/10/2021, 3:59 PMC:\SDK\haxe\std/haxe/xml/Parser.hx:243: characters 7-12 : Uncaught exception haxe.xml.XmlParserException: Duplicate attribute [style] at line 2 char 20
C:\SDK\haxe\std/haxe/xml/Parser.hx:117: characters 2-30 : Called from here
C:\SDK\haxe\std/Xml.hx:122: characters 9-35 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:15: characters 22-37 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:74: characters 38-104 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:29: characters 12-68 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:49: characters 20-69 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:49: characters 20-69 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:49: characters 20-69 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/parsers/ui/XMLParser.hx:20: characters 8-56 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ComponentMacros.hx:115: characters 30-132 : Called from here
C:\Work\HaxeUI\haxeui-core\haxe/ui/macros/ComponentMacros.hx:87: characters 8-104 : Called from herebright-gpu-74537
03/10/2021, 3:59 PMcurved-appointment-82072
03/10/2021, 3:59 PMbright-gpu-74537
03/10/2021, 4:00 PMhandsome-processor-40961
03/10/2021, 8:39 PMdirection="vertical" in haxeflixelhandsome-processor-40961
03/10/2021, 8:41 PMhandsome-processor-40961
03/10/2021, 8:41 PMhandsome-processor-40961
03/10/2021, 8:42 PMbright-gpu-74537
03/10/2021, 8:45 PMhandsome-processor-40961
03/10/2021, 8:57 PMbright-gpu-74537
03/10/2021, 8:57 PMuser
03/11/2021, 5:55 AMuser
03/11/2021, 6:38 AMComponentEvents.registerEvent()? I cannot find anything about it on the docsuser
03/11/2021, 6:54 AMbright-gpu-74537
03/11/2021, 7:48 AMuser
03/11/2021, 8:29 AMcurved-appointment-82072
03/11/2021, 8:39 AMhx //ComponentMacros.buidComponent
macro public static function buildComponent(filePath:String, params:Expr = null):Expr {
var builder = new CodeBuilder();
try{
buildComponentFromFile(builder, filePath, null, MacroHelpers.exprToMap(params), "rootComponent");
}
catch (e:Exception)
{
throw new Exception('Parsing error in $filePath', e);
}
builder.add(macro rootComponent);
return builder.expr;
} Seems to do the trick but as I am a noob with the framework (and not macro virtuoso) I cannot asses the side effects.bright-gpu-74537
03/11/2021, 8:50 AMbright-gpu-74537
03/11/2021, 8:50 AMcurved-appointment-82072
03/11/2021, 8:52 AMbright-gpu-74537
03/11/2021, 8:52 AM