gadget rpc
http://www.oqube.com/journal/journal/2009/02/05/Google-Gadgets---Shindig-RPC-Enlightment

On Sun, Feb 14, 2010 at 6:15 PM, balderman <[email protected]> wrote:

> Hi
> I have a gadget which is doing AJAX activity against a servlet.
> When the code is outside the wave it works fine.
> When it works inside the wave we got the exception:
> java.security.AccessControlException
>
> Gadget code below:
>
>  <?xml version="1.0" encoding="UTF-8" ?>
> - <Module>
> - <ModulePrefs title="Go to Photo Album" height="250" scaling="false">
>  <Require feature="wave" />
>  </ModulePrefs>
> - <Content type="html">
> - <![CDATA[
>
>
>        <head>
>                <script type="text/javascript" src="
> http://www.google.com/jsapi";></
> script>
>                <script
> type="text/javascript">google.load('jquery','1.3.2');</
> script>
>
>                <script type="text/javascript">
>
>                function send()
>                {
>
>                        $('#div2').load("
> http://itsm-poc.appspot.com/itsmbackend";,
> {"waveID" : "a", "email" : "b", "description" : "c", "Impact" :
> "none" , "Urgency" : "low"})
>                }
>
>                </script>
>        </head>
>
>        <body>
>                <h1>Submit New Request ...</h1>
>
>                <form method="post" action="/itsmbackend">
>                        <div>
>                                <table>
>                                        <tr><td></td><td>
>                                                <input type="button"
> onclick="send();" name="button1"
> value="button">
>                                        </td></tr>
>                                </table>
>                        <div id="div2"></div>
>                        </div>
>                </form>
>        </body>
>
>
>  ]]>
>  </Content>
>  </Module>
>
>
> Thanks
>
> Avishay
>



-- 
Avishay Balderman

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to