New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget for OTriggered modification #284
Comments
Please take a look into related issue #324. |
From the documentation, it looks like trigger is only applicable for subclasses of OTriggered and documents of a subclass rather than an OTriggered class itself. |
That's right, but if you will define selector="OTriggered": widget will show up on all childrens of OTriggered |
By this we will have a trigger for individual documents. Do we have another functionality to attach trigger to a list of document matching a criteria (similar to account example in document). |
See another issue on you: #324 . So there are 2 different places where it's possible to define triggers: class level and document level. |
Got it. |
Function names are coming in upper case. I am using OrientDbWebSession.get().getDatabase().getMetadata().getFunctionLibrary().getFunctionNames(). Can you please suggest what needs to be used. |
I recommend just to use listing of OFunction documents. |
According to provided OrientDB documentation if document inherited from OTiggered it's possible to specify listed fields as a reference to a OFunction and that function will be triggered on required event.
So this widget should allow to set a references to OFunction for a set of predefined fields. The main problem why generic interface can't be used: those fields are not registered as properties of OTriggered - so they need to be added ondemand to a document
The text was updated successfully, but these errors were encountered: