Mozy Online Backup: 2GB Free. Automatic. Secure.
Subject: Creating documents dropped in the user's workspace instead of currentDocument - msg#00256
List: cms.nuxeo.general
Hi all,
I would like create documents dropped in the user's workspace instead of
currentDocument every where in my application...
I thought about changing the behaviour of the drag'n drop plugin and
change Rest helper used by this plugin, am I right ?
Is it something like that ?
<extension
target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
point="restlets">
<restletPlugin
name="upload"
enabled="false"
</restletPlugin>
<restletPlugin
name="eurmdmUpload"
class="fr.eurocis.eurmdm.platform.ui.web.restAPI.UploadRestlet"
enabled="true"
useSeam="true"
useConversation="false">
<urlPatterns>
<urlPattern>/{repo}/{docid}/{filename}/upload</urlPattern>
</urlPatterns>
</restletPlugin>
</extension>
after create a class extends BaseNuxeoRestlet or UploadRestlet (I don't
know how is the Seam's behavior with inheritance) and override handle ?
Thanks...
Benjamin
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Creating documents dropped in the user's workspace instead of currentDocument
Hi all,
The thing I want to do is creating documents dropped in the user's
workspace instead of currentDocument every where in my application...
I thought about changing the behaviour of the drag'n drop plugin and
change Rest helper used by the plugin, am I right ?
Is it something like that ?
<extension
target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
point="restlets">
<restletPlugin
name="upload"
enabled="false"
</restletPlugin>
<restletPlugin
name="eurmdmUpload"
class="fr.eurocis.eurmdm.platform.ui.web.restAPI.UploadRestlet"
enabled="true"
useSeam="true"
useConversation="false">
<urlPatterns>
<urlPattern>/{repo}/{docid}/{filename}/upload</urlPattern>
</urlPatterns>
</restletPlugin>
</extension>
Thanks...
Benjamin
Next Message by Date:
click to view message preview
Re: Re: Preserving changes of Theme Manager.
Olivier Grisel wrote:
> Richard C. Hidalgo Lorite a Ãcrit :
>
>> If graphical designer makes changes using Theme Manager in his own nx
>> installation:
>>
>> -Would I be able to re-create that changes copying
>> ${jboss.dir}/server/default/data folder from him to my nx install?????
>>
>
> The ThemeManager currently only edit the live version of the themes (living in
> memory). If you want to save your changes you will have to either export the
> xml
> definition of the theme and put it in your source tree directly or define a
> new
> theme contrib with a theme url like
> file:///home/me/my_eclipse_workspace/my_project/src/main/resources/theme/my_custom_theme.xml
>
> or remotely:
>
> ftp://mydebox/home/me/my_eclipse_workspace/my_project/src/main/resources/theme/my_custom_theme.xml
>
>
note that it is possible to register new protocols and save the theme
data in a database for instance. In any case it is a functionality that
in the current implementation is separate from the theme manager itself.
/JM
Previous Message by Thread:
click to view message preview
Creating documents dropped in the user's workspace instead of currentDocument
Hi all,
The thing I want to do is creating documents dropped in the user's
workspace instead of currentDocument every where in my application...
I thought about changing the behaviour of the drag'n drop plugin and
change Rest helper used by the plugin, am I right ?
Is it something like that ?
<extension
target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
point="restlets">
<restletPlugin
name="upload"
enabled="false"
</restletPlugin>
<restletPlugin
name="eurmdmUpload"
class="fr.eurocis.eurmdm.platform.ui.web.restAPI.UploadRestlet"
enabled="true"
useSeam="true"
useConversation="false">
<urlPatterns>
<urlPattern>/{repo}/{docid}/{filename}/upload</urlPattern>
</urlPatterns>
</restletPlugin>
</extension>
Thanks...
Benjamin
Next Message by Thread:
click to view message preview
Creating documents dropped in the user's workspace instead of currentDocument
Hi all,
The thing I want to do is creating documents dropped in the user's
workspace instead of currentDocument every where in my application...
I thought about changing the behaviour of the drag'n drop plugin and
change Rest helper used by the plugin, am I right ?
Is it something like that ?
<extension
target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
point="restlets">
<restletPlugin
name="upload"
enabled="false"
</restletPlugin>
<restletPlugin
name="eurmdmUpload"
class="fr.eurocis.eurmdm.platform.ui.web.restAPI.UploadRestlet"
enabled="true"
useSeam="true"
useConversation="false">
<urlPatterns>
<urlPattern>/{repo}/{docid}/{filename}/upload</urlPattern>
</urlPatterns>
</restletPlugin>
</extension>
Thanks...
Benjamin