| <!-- --> | |
| <!-- Copyright 2008 Google Inc. --> | |
| <!-- Licensed under the Apache License, Version 2.0 (the "License"); you --> | |
| <!-- may not use this file except in compliance with the License. You may --> | |
| <!-- may obtain a copy of the License at --> | |
| <!-- --> | |
| <!-- http://www.apache.org/licenses/LICENSE-2.0 --> | |
| <!-- --> | |
| <!-- Unless required by applicable law or agreed to in writing, software --> | |
| <!-- distributed under the License is distributed on an "AS IS" BASIS, --> | |
| <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or --> | |
| <!-- implied. License for the specific language governing permissions and --> | |
| <!-- limitations under the License. --> | |
| <!-- GWT UI Binder support. --> | |
| <module> | |
| <inherits name="com.google.gwt.resources.Resources" /> | |
| <source path="client"/> | |
| <resource path="resources"/> | |
| <public path="public" /> | |
| <!-- By default UiBinder implementations are generated to use SafeHtmlTemplates | |
| to help protect against the introduction of cross-site scripting (XSS) attacks. | |
| This deprecated property can be used to disable that integration while the | |
| kinks are worked out. Its use is strongly discouraged, and the property will | |
| be removed in the near future. --> | |
| <define-configuration-property name="UiBinder.useSafeHtmlTemplates" is-multi-valued="false"/> | |
| <set-configuration-property name="UiBinder.useSafeHtmlTemplates" value="true"/> | |
| <!-- Set this property to false to revert to the old code gen strategy, | |
| and lose features like support for LazyPanel and forward references. This | |
| property will soon disappear. --> | |
| <define-configuration-property name="UiBinder.useLazyWidgetBuilders" is-multi-valued="false"/> | |
| <set-configuration-property name="UiBinder.useLazyWidgetBuilders" value="true"/> | |
| <generate-with class="com.google.gwt.uibinder.rebind.UiBinderGenerator"> | |
| <when-type-assignable class="com.google.gwt.uibinder.client.UiRenderer"/> | |
| </generate-with> | |
| <generate-with class="com.google.gwt.uibinder.rebind.UiBinderGenerator"> | |
| <when-type-assignable class="com.google.gwt.uibinder.client.UiBinder"/> | |
| </generate-with> | |
| </module> |