updated check for uQuery.IGetProperty
added XPathCheckBoxList return obj for uQuery .GetProperty<T>("alias")
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using umbraco.NodeFactory;
|
||||
|
||||
namespace umbraco.editorControls.XPathCheckBoxList
|
||||
{
|
||||
public class XPathCheckBoxList : uQuery.IGetProperty
|
||||
{
|
||||
public XPathCheckBoxList()
|
||||
{
|
||||
}
|
||||
|
||||
void uQuery.IGetProperty.LoadPropertyValue(string value)
|
||||
{
|
||||
this.SelectedNodes = uQuery.GetNodesByXml(value);
|
||||
}
|
||||
|
||||
public IEnumerable<Node> SelectedNodes
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user