This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Send ZK onChange server event | |
| * @param zkid - zk component id | |
| * @param value - text to set in value | |
| * example client control: | |
| * <textbox id="zkid" onChange="@command('methodName', param1=self.value)" visible="false"/> | |
| * | |
| * example server method: | |
| * @Command | |
| * public void methodName(@BindingParam("param1") String param1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Require _.deep.js from https://gist.github.com/furf/3208381 | |
| */ | |
| _.mixin({ | |
| deepPick: function (obj) { | |
| var ArrayProto = Array.prototype; | |
| var copy = {}; | |
| var keys = ArrayProto.concat.apply(ArrayProto, ArrayProto.slice.call(arguments, 1)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select '${DbVis-Date}$ ${DbVis-Time}$' as PollTime, status_msg from table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To install protobuf 2.3.0 in mac os (10.10) you need to do folowing: | |
| install mac os developer tools | |
| download and extract protobuf 2.3.0 : https://code.google.com/p/protobuf/downloads/list | |
| open src/google/protobuf/message.h | |
| and change lines to (see https://code.google.com/p/protobuf/issues/detail?id=570 and http://alfredgamulo.com/problem-installing-protobuf-2-3-0-on-mac/ if you want) | |
| #ifdef __DECCXX | |
| // HP C++'s iosfwd doesn't work. |
OlderNewer