cancel
Showing results for 
Search instead for 
Did you mean: 

some questions about webscript development

darksonic
Champ in-the-making
Champ in-the-making
first thx steve for previous answers

hi all,
i'am trying to develope an alfresco portlet for liferay (this is my study project)
that's why i realized some webscripts like browser,manage group,copy and paste,upload,create folder ……
but i have some problems
- first i would like to know how can i  get the current path (to create or paste  folder and content  into the current folder)
- i don't undestand why i get sometimes the error: does not support a methode GET or does not support a methode POST
-finally is it possible for a user to work, directly into his internet browser, on (for exemple) office documents as a remote user, i know microsoft share point makes  it possible, but i need a free solution.
can i use an open office server to do it???

thanks
6 REPLIES 6

darksonic
Champ in-the-making
Champ in-the-making
for the first point i think i can use a session variable but i don't know how to realize it in javascript

darksonic
Champ in-the-making
Champ in-the-making
any one can help me plz?

darksonic
Champ in-the-making
Champ in-the-making
no one to respond?
anyway i would like to list all version of a document and select one of them
any one had realised a webscript as this?

thanks again for your help

dgenard
Champ on-the-rise
Champ on-the-rise
For the current folder, look at the igoogle gadget webscripts (available from sourceforge I think).
They simply pass the current folder as URL arg on each request.

To edit the document on server directly, simply insert CIFS url of documents (like \\SERVERA\Alfresco\Path\To\Document.doc).
Firefox may need an extension to support these links (see Alfresco Firefox extension in sourceforge). IE needs no extension.

To display all version, look at Javascript API (http://wiki.alfresco.com/wiki/JavaScript_API).

Hope this helps,
Denis

darksonic
Champ in-the-making
Champ in-the-making
thanks for respond

-for the current path a need it for all my webscript thats why i can't just use a get method but i would like to save this path in variable session
-for the view for all version of node, the solution is created webscript (with loop) for changing node.version and display it??
but how i can know the nember of version stored?
- is it possible to work with AVM to display all version of one node? or if you have other idea to do it ….

and finally what's WCM? because in many project (as flexspace for exemple) it contain an AVM browser, how can i use it

darksonic
Champ in-the-making
Champ in-the-making
can i use think as 
model.node = search.findNode("workspace://VersionStore/"+ args.nodeid);
and it is possible, how i process please ??


have a nice day all