Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BZ-1129694: validations and refactoring in forms
Conflicts: jbpm-console-ng-executor-service/jbpm-console-ng-executor-service-client/src/main/java/org/jbpm/console/ng/es/client/editors/quicknewjob/QuickNewJobViewImpl.ui.xml jbpm-console-ng-executor-service/jbpm-console-ng-executor-service-client/src/main/java/org/jbpm/console/ng/es/client/editors/requestlist/RequestListViewImpl.java
- Loading branch information
Showing
9 changed files
with
316 additions
and
120 deletions.
There are no files selected for viewing
92 changes: 92 additions & 0 deletions
92
...rc/main/java/org/jbpm/console/ng/es/client/editors/quicknewjob/QuickNewJobViewImpl.ui.xml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<!-- | ||
~ Copyright 2012 JBoss 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 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. | ||
~ See the License for the specific language governing permissions and | ||
~ limitations under the License. | ||
--> | ||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> | ||
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' | ||
xmlns:gwt='urn:import:com.google.gwt.user.client.ui' | ||
xmlns:bootstrap='urn:import:com.github.gwtbootstrap.client.ui'> | ||
|
||
<ui:with field="i18n" | ||
type="org.jbpm.console.ng.es.client.i18n.Constants"/> | ||
|
||
|
||
<ui:style> | ||
.mandatory-field { | ||
color: red; | ||
} | ||
</ui:style> | ||
|
||
<gwt:HTMLPanel> | ||
<bootstrap:Well> | ||
<bootstrap:Fieldset> | ||
<bootstrap:ControlGroup ui:field="jobNameControlGroup"> | ||
<bootstrap:ControlLabel for="jobNameText"> | ||
<span class="{style.mandatory-field}">*</span> | ||
<ui:text from="{i18n.Name}"/> | ||
</bootstrap:ControlLabel> | ||
<bootstrap:Controls> | ||
<bootstrap:TextBox bootstrap:id="jobNameText" ui:field="jobNameText" placeholder="{i18n.Name}"/> | ||
<bootstrap:HelpInline ui:field="jobNameHelpInline"/> | ||
</bootstrap:Controls> | ||
</bootstrap:ControlGroup> | ||
|
||
<bootstrap:ControlGroup ui:field="jobDueDateControlGroup"> | ||
<bootstrap:ControlLabel for="jobDueDate"> | ||
<ui:text from="{i18n.Due_On}"/> | ||
</bootstrap:ControlLabel> | ||
<bootstrap:Controls> | ||
<gwt:HorizontalPanel ui:field="jobDueSimplePanel"/> | ||
<bootstrap:HelpInline ui:field="jobDueDateHelpInline"/> | ||
</bootstrap:Controls> | ||
</bootstrap:ControlGroup> | ||
|
||
<bootstrap:ControlGroup ui:field="jobTypeControlGroup"> | ||
<bootstrap:ControlLabel for="jobTypeText"> | ||
<span class="{style.mandatory-field}">*</span> | ||
<ui:text from="{i18n.Type}"/> | ||
</bootstrap:ControlLabel> | ||
<bootstrap:Controls> | ||
<bootstrap:TextBox bootstrap:id="jobTypeText" ui:field="jobTypeText" placeholder="{i18n.Type}"/> | ||
<bootstrap:HelpInline ui:field="jobTypeHelpInline"/> | ||
</bootstrap:Controls> | ||
</bootstrap:ControlGroup> | ||
|
||
<bootstrap:ControlGroup ui:field="jobRetriesControlGroup"> | ||
<bootstrap:ControlLabel for="jobRetriesNumber"> | ||
<span class="{style.mandatory-field}">*</span> | ||
<ui:text from="{i18n.Retries}"/> | ||
</bootstrap:ControlLabel> | ||
<bootstrap:Controls> | ||
<bootstrap:IntegerBox bootstrap:id="jobRetriesNumber" ui:field="jobRetriesNumber" placeholder="{i18n.Retries}"/> | ||
<bootstrap:HelpInline ui:field="jobRetriesHelpInline"/> | ||
</bootstrap:Controls> | ||
</bootstrap:ControlGroup> | ||
|
||
<bootstrap:DataGrid ui:field="myParametersGrid"> | ||
|
||
</bootstrap:DataGrid> | ||
<bootstrap:Button ui:field="newParametersButton"></bootstrap:Button> | ||
</bootstrap:Fieldset> | ||
|
||
|
||
</bootstrap:Well> | ||
<bootstrap:ModalFooter> | ||
<bootstrap:Button type="PRIMARY" ui:field="createButton"></bootstrap:Button> | ||
</bootstrap:ModalFooter> | ||
</gwt:HTMLPanel> | ||
|
||
</ui:UiBinder> |
This file contains 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
This file contains 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
This file contains 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
35 changes: 0 additions & 35 deletions
35
...ava/org/jbpm/console/ng/es/client/editors/servicesettings/JobServiceSettingsViewImpl.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.