ClientSideRendering with GWT

pierre <[email protected]> Sat, 17 Sep 2016 17:28:00 +0200
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4099746222672997957==
Content-Type: multipart/alternative;
 boundary="------------080202050803000807020800"

This is a multi-part message in MIME format.
--------------080202050803000807020800
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

I try to adapt the ClientSideRendering  of the AjaxExample2 
(http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample2.woa/wa/PageAction/ClientSideRendering)

Instead of writing the client in javascript, I would like to use GWT.
I am looking to any idea to use the service defined on the JSONProxy 
class with GWT :

   public class JSONProxy {
     public NSArray<ComplexPerson> family() {
       return _people;
     }

     public void voteForPerson(ComplexPerson person) {
       _people.get(_people.indexOf(person)).vote();
     }
   }


Thanks in advance of any hint
Pierre
https://github.com/wocommunity/wonder/tree/master/Examples/Ajax/AjaxExample2

--------------080202050803000807020800
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I try to adapt the ClientSideRendering  of the AjaxExample2
(<a class="moz-txt-link-freetext" href="http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample2.woa/wa/PageAction/ClientSideRendering">http://webobjects.mdimension.com/cgi-bin/WebObjects/AjaxExample2.woa/wa/PageAction/ClientSideRendering</a>)<br>
    <br>
    Instead of writing the client in javascript, I would like to use
    GWT. <br>
    I am looking to any idea to use the service defined on the <span
      class="pl-smi" style="box-sizing: border-box; color: rgb(51, 51,
      51);">JSONProxy class with GWT :<br>
    </span><br>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;">  public class JSONProxy {
    public NSArray&lt;ComplexPerson&gt; family() {
      return _people;
    }

    public void voteForPerson(ComplexPerson person) {
      _people.get(_people.indexOf(person)).vote();
    }
  }</pre>
    <br>
    Thanks in advance of any hint<br>
    Pierre<br>
<a class="moz-txt-link-freetext" href="https://github.com/wocommunity/wonder/tree/master/Examples/Ajax/AjaxExample2">https://github.com/wocommunity/wonder/tree/master/Examples/Ajax/AjaxExample2</a><br>
  </body>
</html>

--------------080202050803000807020800--

--===============4099746222672997957==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
WebObjects-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-dev

--===============4099746222672997957==--