JsRender/Node.vala
authorAlan Knowles <alan@roojs.com>
Thu, 5 Jun 2014 07:49:05 +0000 (15:49 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 5 Jun 2014 07:49:05 +0000 (15:49 +0800)
JsRender/Node.vala

index b0b6910..d66e279 100644 (file)
@@ -41,6 +41,15 @@ public class JsRender.Node  {
         }
         return false;
     }
+       public string fqn()
+       {
+               if (!this.hasXnsType ()) {
+                       return "";
+               }
+               this.props.get("|xns") + "." this.props.get("xtype"); 
+
+       }
+       
     // wrapper around get props that returns empty string if not found.
     public string get(string key)
     {