File tree Expand file tree Collapse file tree
modules/gui/src/com/haulmont/addon/admintools/gui/config_loader Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,13 +50,16 @@ public class ConfigLoader extends AbstractWindow {
5050 protected Notifications notifications ;
5151 @ Inject
5252 protected Dialogs dialogs ;
53+ @ Inject
54+ private Label <String > helpLabel ;
5355
5456 protected Path configDir ;
5557
5658 @ Override
5759 public void init (Map <String , Object > params ) {
5860 super .init (params );
5961 configDir = Paths .get (configuration .getConfig (GlobalConfig .class ).getConfDir ()).getParent ();
62+ helpLabel .setValue (String .format (getMessage ("helpMessage" ), configuration .getConfig (GlobalConfig .class ).getConfDir ()));
6063 }
6164
6265 public void apply () {
Original file line number Diff line number Diff line change 2424 <layout expand =" vBox"
2525 spacing =" true"
2626 width =" 100%" >
27- <label id =" helpLabel" value = " msg://helpMessage " />
27+ <label id =" helpLabel" htmlEnabled = " true " />
2828 <label id =" helpLabel2" value =" msg://helpMessage2" />
2929 <hbox expand =" configPathField"
3030 spacing =" true"
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ dropZoneDescription = Drop file here
2323fileNotUploaded = Please upload a configuration file
2424configPath = Relative path
2525pathValidMessage = Is not valid path "%s"
26- helpMessage = File will be uploaded to a web application server in the config directory ./tomcat/conf/
26+ helpMessage = File will be uploaded to a web application server in the config directory <br><b>%s</b>
2727helpMessage2 = You can specify a relative path in the field below.
You can’t perform that action at this time.
0 commit comments