Finally I wrote some IDataEditor component with a multi content picker... As the current provided want doesn't work as expected (related to the $currentPage) ! I nearly through but I would like to know what field I'm currently editing. By example I have this XPAth for a field
This enables me to select some items where the fieldtarget corresponds to the current field I'm editing. For now I need to create a DataType for each field in my document type wherre I Specify what field I want to edit.
I would like to do this automatically with some variable and replacement, as $currentPage, I would like to use $currentField to use within my xpath.
So the question is simple, how do I get the current field alias I'm editing ? :-)
Thank you
N.B. :
Comment For the uComponent guy to get the currentNode : This will save life of thousand peoplle
Getting current field editer with IDataEditor
Finally I wrote some IDataEditor component with a multi content picker... As the current provided want doesn't work as expected (related to the $currentPage) ! I nearly through but I would like to know what field I'm currently editing. By example I have this XPAth for a field
$currentPage/ancestor-or-self::* [@level = 2]/descendant::*[fieldTarget='applicationWidgets']/*
This enables me to select some items where the fieldtarget corresponds to the current field I'm editing. For now I need to create a DataType for each field in my document type wherre I Specify what field I want to edit.
I would like to do this automatically with some variable and replacement, as $currentPage, I would like to use $currentField to use within my xpath.
So the question is simple, how do I get the current field alias I'm editing ? :-)
Thank you
N.B. :
Comment For the uComponent guy to get the currentNode : This will save life of thousand peoplle
{
{
{
}
}
{
}
{
}
{
}
}
is working on a reply...