Normal
Hi Right: <define>#test_textstring_xml:This is text in define</define> is equal <define property="false" evaluateNow="false">#test_textstring_xml:This is text in define</define>Right again: this is checked in <label>#test_textstring_property_xml</label> with the definition <define property="true">#test_textstring_property_xml:This is text in define with property="true"</define>. And is working ok as i said, like <label>#test_textstring_propertyEvaluated_xml</label>, which also works.Tested: and you are right again (three out of tree, whooo ). I thought that when add an include or import file, the skin engine first merge the files and then processes all as a single file (more or less like a prepocesor in a compiler). I see I was wrong .So the same for <define>#test_textplot_xml: Plot - #plot</define>. Moved to myvideo.views.default.xml and working Maybe, but was working both, so... [code]defines in references xml file (references.xml): <label>#test_textstring_ref</label> | <!-- | work | --> <label>#test_textstring_property_ref</label> | <!-- | work | -->[/code]You are right. I realized while I was doing the lastest tests. And now, moved <textcolor>#test_textcolor_xml</textcolor> to myvideo.views.default.xml (thanks for your advice/explanation), are working .I realized that if <define property="true">#test_textcolor_property_xml:ffff0000</define> is moved to myvideo.views.default.xml, works ok also. But in this case, it should work, even if it was in a diferent file (in the end, it's a property, no?) .Thank you very much for you invaluable help, your time and your advice [UPDATE]Now I have seen your last post...More or less it's demonstrated in my last test. If <define property="true">#test_textcolor_property_xml:ffff0000</define> is moved to myvideo.views.default.xml, works ok also, because is parsed/initiated in the first check. This is probably the same problem for the rest of properties that don't work.
Hi
Right: <define>#test_textstring_xml:This is text in define</define> is equal <define property="false" evaluateNow="false">#test_textstring_xml:This is text in define</define>
Right again: this is checked in <label>#test_textstring_property_xml</label> with the definition <define property="true">#test_textstring_property_xml:This is text in define with property="true"</define>. And is working ok as i said, like <label>#test_textstring_propertyEvaluated_xml</label>, which also works.
Tested: and you are right again (three out of tree, whooo ). I thought that when add an include or import file, the skin engine first merge the files and then processes all as a single file (more or less like a prepocesor in a compiler). I see I was wrong .
So the same for <define>#test_textplot_xml: Plot - #plot</define>. Moved to myvideo.views.default.xml and working
Maybe, but was working both, so...
[code]defines in references xml file (references.xml):
<label>#test_textstring_ref</label> | <!-- | work | -->
<label>#test_textstring_property_ref</label> | <!-- | work | -->[/code]
You are right. I realized while I was doing the lastest tests. And now, moved <textcolor>#test_textcolor_xml</textcolor> to myvideo.views.default.xml (thanks for your advice/explanation), are working .
I realized that if <define property="true">#test_textcolor_property_xml:ffff0000</define> is moved to myvideo.views.default.xml, works ok also. But in this case, it should work, even if it was in a diferent file (in the end, it's a property, no?) .
Thank you very much for you invaluable help, your time and your advice
[UPDATE]
Now I have seen your last post...
More or less it's demonstrated in my last test. If <define property="true">#test_textcolor_property_xml:ffff0000</define> is moved to myvideo.views.default.xml, works ok also, because is parsed/initiated in the first check. This is probably the same problem for the rest of properties that don't work.