No InputObject for InputDirectoryObject
iam create an InputDirectoryObject for user inputs in my Plugin, but they don't show an input field. I have a route for the callback, but they don't called. Hers my minimized code:
@handler(prefix, name, icon, art) def Main(): Log.Info('makeView: passed') oc = ObjectContainer() oc.add(InputDirectoryObject(key=Callback(addURL), title='This is a InputDicrectoryObject', summary='Click here to add Text', prompt='Enter the Url where to find the Recommendations')) return oc
@route(prefix + '/addURL') def addURL(query): test = query Log.Info('addLink: message' + test) return ObjectContainer(header='Added', message='Added: ' + test)
The Log info from the Main method is write in the logs, but don't the Log info for the addURL Method. What am I doing wrong? Any Ideas?