cancel
Showing results for 
Search instead for 
Did you mean: 

how to access java-backed return argument in share webscript

malliswar
Champ in-the-making
Champ in-the-making
package org.alfresco.module.databse;

import java.io.IOException;
import org.springframework.extensions.webscripts.DeclarativeWebScript;
import org.springframework.extensions.webscripts.WebScriptRequest;
import org.springframework.extensions.webscripts.WebScriptResponse;

public class DatabaseConnect extends  DeclarativeWebScript{

   
     public String message( )
     {
                return "print this message in share dashlet";
     }

}

This is my java class which i packed as JAR file, now i want to know how to acces the returned string

in share dashlet and print it

please anyone help with posting an example

Thanks.
1 REPLY 1

mlagneaux
Champ on-the-rise
Champ on-the-rise
I think you should override executeImpl method instead of message().