Is it possible to get the current node inside Property Editor. In other words, can we get the current content node, in which property Editor is being used.
Are you talking about v5? If so I don't have the exact answer, but it should be pretty easy to figure out if you check the source code of Warren's Child Content Property Editor. He retrieves the current node and then loops it's children.
Let me explain the scenerio. We have written a content picker ( that can pick multiple values). It fetches all the nodes of a perticulare document type and render it in drop down. It worked well, but when we implemented multilingual support, by copying the content, It started showing two copies of same values. I guess, if we can get the current node and get its lanugage inside property editor, then we can compare this language as well.
Please correct me if this is not feasible. We are using V5.
How to get the current node
Hi All,
Is it possible to get the current node inside Property Editor. In other words, can we get the current content node, in which property Editor is being used.
Thanks
Balesh Kumar
Hi.
Hi Balesh,
Are you talking about v5? If so I don't have the exact answer, but it should be pretty easy to figure out if you check the source code of Warren's Child Content Property Editor. He retrieves the current node and then loops it's children.
-Tom
Thanks for the prompt reply. :)
Let me explain the scenerio. We have written a content picker ( that can pick multiple values). It fetches all the nodes of a perticulare document type and render it in drop down. It worked well, but when we implemented multilingual support, by copying the content, It started showing two copies of same values. I guess, if we can get the current node and get its lanugage inside property editor, then we can compare this language as well.
Please correct me if this is not feasible. We are using V5.
Balesh Kumar
is working on a reply...