How to uncheck document list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2012 11:44 AM
Hello,
At the end of a automation chain for a multi-publish action from a button, selected documents are still checked in the content view. How to uncheck them ? After many search, I found nothing about this. UI clear worklist doesn't work Thanks for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2012 11:54 AM
Hi,
You might want to read this answer Problem refreshing UI after document deletion or this blog entry: [Q&A Friday] How to Clear UI Selected Documents in Studio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2012 10:11 AM
Hi,
Thanks for reply. Nevertheless, following blog's instructions and completing with jar deployement into nxserver/plugins directory and nuxeo server restarting leads to following exception when triggering my chain :
ERROR [org.nuxeo.ecm.automation.jsf.OperationActionBean] org.nuxeo.ecm.automation.OperationNotFoundException: No operation was bound on ID: Seam.ClearSelectedDocuments org.nuxeo.ecm.automation.OperationNotFoundException: No operation was bound on ID: Seam.ClearSelectedDocuments at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.getOperation(OperationServiceImpl.java:221) at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.buildChain(CompiledChainImpl.java:141) at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.compileChain(OperationServiceImpl.java:259) at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.compileChain(OperationServiceImpl.java:252) at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:83) at org.nuxeo.ecm.automation.jsf.OperationActionBean.runOperation(OperationActionBean.java:87) at org.nuxeo.ecm.automation.jsf.OperationActionBean.doOperation(OperationActionBean.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
Is there something else to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2012 10:23 AM
This error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2012 07:25 AM
Hello again,
In the init phase I have found this exception :
ERROR [org.nuxeo.runtime.model.impl.RegistrationInfoImpl] Failed to register extension to: service:org.nuxeo.ecm.core.operation.OperationServiceComponent, xpoint: operations in component: service:org.nuxeo.inpt.operations.ClearSelectedDocuments
- Failed to register extension to: service:org.nuxeo.ecm.core.operation.OperationServiceComponent, xpoint: operations in component: service:org.nuxeo.inpt.operations.ClearSelectedDocuments (java.lang.IllegalArgumentException: An iterable method must have an argument)
Eclipse doesn't complain about antything, I can't figure out where is iterable method and where to add arguments...
Is something wrong in the extension generated by Nuxeo IDE ? In the blog screenshot, signature is different, there is no "object" elements, while when exporting my operation, I have this entry in Nuxeo Studio registry :
{ "operations" : [ { "id" : "Seam.ClearSelectedDocuments", "label" : "ClearSelectedDocuments", "category" : "User Interface", "description" : "Clear selected documents list in UI", "url" : "Seam.ClearSelectedDocuments", "requires" : "Seam", "signature" : [ "void", "void", "object", "object" ], "params" : [ ] } ] }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2012 07:55 AM
Are you sure the signature of your method is ok? It should be
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2012 08:55 AM
I found the cause : using Nuxeo IDE to create operation, I had this annotation parameter on my run method : (collector=DocumentModelCollector.class)
giving the iterable exception above...
As it is the first time I use Nuxeo IDE, I didn't pay attention to this. After removing this parameter, it works fine.
Thanks for replies and sorry for my noob blindness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2012 01:28 PM
Please stop posting questions in the answers section.
