Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List objects = new ArrayList();
- objects.add(new PersonRpc("a name", new Integer(1), "a date", "a city", "a country"));
- objects.add(new PersonRpc("2nd name", new Integer(2), "2nd date", "2nd city", "2nd country"));
- Clickinator click = new Clickinator(){
- public Replicated getReplicated() {
- return (Replicated) GWT.create(PersonRpc.class);
- }};
- HashMap customHeaders = new HashMap();
- customHeaders.put("Name", "Nyaaame Boiii");
- click.setCustomHeaders(customHeaders);
- List excludedColumns = new ArrayList();
- excludedColumns.add("date");
- excludedColumns.add("city");
- excludedColumns.add("country");
- click.update(objects, excludedColumns);
- RootPanel.get().add(click);
Add Comment
Please, Sign In to add comment