CleverGWT

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
m (Data objekty a rozhraní)
m
Line 25: Line 25:
});
});
</java>
</java>
-
 
-
== ClvCanvasGrid ==
 
-
 
-
== GridActionBar ==
 
-
 
-
== ContentWin ==
 
-
 
-
== UserLoginWin ==
 
-
 
-
== ServiceCallback ==
 
-
 
-
== SecuredServiceServlet ==
 
== BCrypt ==
== BCrypt ==
Line 44: Line 32:
boolean verified = BCrypt.checkpw("password", hashed);
boolean verified = BCrypt.checkpw("password", hashed);
</java>
</java>
-
 
-
== Ostatní objekty ==
 
-
 
-
* Chain
 
-
* KeyValueString
 
-
* NotificationBadge
 

Revision as of 07:06, 20 June 2012

ClvListGrid

ClvListGrid grid = new ClvListGrid(new ClvListGrid.Delegate() {
 
			@Override
			public void executeUpdate(ClvListGridResponse response) {
				// Map<String, Object> reqMap = response.getRequestMap();
				// response.response(...
			}
 
			@Override
			public void executeRemove(ClvListGridResponse response) {}
 
			@Override
			public void executeFetch(ClvListGridResponse response) {}
 
			@Override
			public void executeAdd(ClvListGridResponse response) {}
 
			@Override
			public DataSourceField[] createFields() {
				return new DataSourceField[] { new DataSourceTextField("Field Name") };
			}
		});

BCrypt

String hashed = BCrypt.hashpw("password", BCrypt.gensalt());
boolean verified = BCrypt.checkpw("password", hashed);
Personal tools