|
|
|
@ -110,6 +110,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
private UICheckBox extendParametersCheckBox; |
|
|
|
|
private ReportletParameterViewPane parameterViewPane; |
|
|
|
|
private UIComboBox exportTypeComboBox; |
|
|
|
|
private UILabel fileNameTipLabel; |
|
|
|
|
|
|
|
|
|
public CurrentTemplatePane() { |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createBorderLayout()); |
|
|
|
@ -167,7 +168,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
fileNameFormulaEditor = new FormulaEditor(Toolkit.i18nText("Fine-Design_Report_Parameter_Formula")); |
|
|
|
|
fileNameFormulaEditor.setVisible(false); |
|
|
|
|
fileNameFormulaEditor.setEnabled(false); |
|
|
|
|
UILabel fileNameTipLabel = new UILabel("<html><body style=\"color:rgb(147,147,147)\">" + Toolkit.i18nText("Fine-Design_Basic_Export_JS_Title_Tip_Front") + "\\/:*?\"<>|" + Toolkit.i18nText("Fine-Design_Basic_Export_JS_Title_Tip_Back") + "</html>"); |
|
|
|
|
fileNameTipLabel = new UILabel("<html><body style=\"color:rgb(147,147,147)\">" + Toolkit.i18nText("Fine-Design_Basic_Export_JS_Title_Tip_Front") + "\\/:*?\"<>|" + Toolkit.i18nText("Fine-Design_Basic_Export_JS_Title_Tip_Back") + "</html>"); |
|
|
|
|
fileNameTipLabel.setVisible(false); |
|
|
|
|
fileNameRadioGroup.addActionListener(new ActionListener() { |
|
|
|
|
@Override |
|
|
|
@ -221,6 +222,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
|
|
|
|
|
if (!js.isDefaultFileName()) { |
|
|
|
|
fileNameFormulaEditor.setEnabled(true); |
|
|
|
|
fileNameFormulaEditor.setVisible(true); |
|
|
|
|
fileNameTipLabel.setVisible(true); |
|
|
|
|
fileNameFormulaEditor.setValue(BaseFormula.createFormulaBuilder().build(js.getFileName())); |
|
|
|
|
} |
|
|
|
|
if (js.isExtendParameters()) { |
|
|
|
|