Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
42c740d7
Commit
42c740d7
authored
16 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
[LMS-708] add: - Some help text to sample batch registration.
SVN: 9441
parent
3870c70c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/sample/GenericSampleBatchRegistrationForm.java
+19
-1
19 additions, 1 deletion
...pplication/sample/GenericSampleBatchRegistrationForm.java
with
19 additions
and
1 deletion
openbis/source/java/ch/systemsx/cisd/openbis/plugin/generic/client/web/client/application/sample/GenericSampleBatchRegistrationForm.java
+
19
−
1
View file @
42c740d7
...
...
@@ -37,6 +37,7 @@ import com.extjs.gxt.ui.client.widget.form.FormPanel.Encoding;
import
com.extjs.gxt.ui.client.widget.form.FormPanel.Method
;
import
com.extjs.gxt.ui.client.widget.layout.FlowLayout
;
import
com.extjs.gxt.ui.client.widget.layout.FormLayout
;
import
com.google.gwt.user.client.ui.HTML
;
import
com.google.gwt.xml.client.Document
;
import
com.google.gwt.xml.client.Node
;
import
com.google.gwt.xml.client.XMLParser
;
...
...
@@ -48,6 +49,7 @@ import ch.systemsx.cisd.openbis.generic.client.web.client.application.IViewConte
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.InfoBoxCallbackListener
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.AbstractRegistrationForm
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.widget.ClickableFormPanel
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.widget.HelpHtml
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.ui.widget.InfoBox
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.application.util.StringUtils
;
import
ch.systemsx.cisd.openbis.generic.client.web.client.dto.BatchRegistrationResult
;
...
...
@@ -61,7 +63,11 @@ import ch.systemsx.cisd.openbis.plugin.generic.client.web.client.IGenericClientS
*/
public
final
class
GenericSampleBatchRegistrationForm
extends
LayoutContainer
{
private
static
final
String
SESSION_KEY
=
"sample-batch-registration"
;
private
static
final
String
PREFIX
=
"sample-batch-registration"
;
public
final
static
String
ID
=
GenericConstants
.
ID_PREFIX
+
PREFIX
;
private
static
final
String
SESSION_KEY
=
PREFIX
;
private
static
final
String
FIELD_LABEL_TEMPLATE
=
"File"
;
...
...
@@ -88,6 +94,12 @@ public final class GenericSampleBatchRegistrationForm extends LayoutContainer
this
.
sampleType
=
sampleType
;
add
(
infoBox
=
createInfoBox
());
add
(
createUI
());
add
(
createHelp
());
}
private
final
static
HTML
createHelp
()
{
return
new
HelpHtml
(
PREFIX
);
}
private
final
static
InfoBox
createInfoBox
()
...
...
@@ -148,6 +160,12 @@ public final class GenericSampleBatchRegistrationForm extends LayoutContainer
return
panel
;
}
/**
* Field specifying the session key needed by the file uploader on the server side.
* <p>
* This key is the session attribute key where you can access the uploaded files.
* </p>
*/
private
final
static
HiddenField
<
String
>
createHiddenField
()
{
final
HiddenField
<
String
>
hiddenField
=
new
HiddenField
<
String
>();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment