1 Reply Latest reply on May 30, 2007 8:30 PM by darius

    Problem sending emails from a @WebRemote function

    darius Newbie


      I'm trying to use Renderer to send out an email from inside a WebRemote function and I get this exception: java.lang.UnsupportedOperationException. If I call the function from jsf using a button's action it works so I'm almost sure that it has something to do with @WebRemote.

      Here are a few code snippets:
      Java function:

      public void sendFeedback(String message)
       this.message = message;
       catch (Exception e)

      JS Function:
      function sendFeedback()
       var feedbackManager = Seam.Component.getInstance ("feedback");
       feedbackManager.sendFeedback (feedbackDialog.getData().feedbackComments);

      Any ideas on what is going on wrong?

      Thanks a lot,