@ -110,6 +110,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
private UICheckBox extendParametersCheckBox ;
private UICheckBox extendParametersCheckBox ;
private ReportletParameterViewPane parameterViewPane ;
private ReportletParameterViewPane parameterViewPane ;
private UIComboBox exportTypeComboBox ;
private UIComboBox exportTypeComboBox ;
private UILabel fileNameTipLabel ;
public CurrentTemplatePane ( ) {
public CurrentTemplatePane ( ) {
this . setLayout ( FRGUIPaneFactory . createBorderLayout ( ) ) ;
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 = new FormulaEditor ( Toolkit . i18nText ( "Fine-Design_Report_Parameter_Formula" ) ) ;
fileNameFormulaEditor . setVisible ( false ) ;
fileNameFormulaEditor . setVisible ( false ) ;
fileNameFormulaEditor . setEnabled ( 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 ) ;
fileNameTipLabel . setVisible ( false ) ;
fileNameRadioGroup . addActionListener ( new ActionListener ( ) {
fileNameRadioGroup . addActionListener ( new ActionListener ( ) {
@Override
@Override
@ -221,6 +222,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane<ExportJavaScript
if ( ! js . isDefaultFileName ( ) ) {
if ( ! js . isDefaultFileName ( ) ) {
fileNameFormulaEditor . setEnabled ( true ) ;
fileNameFormulaEditor . setEnabled ( true ) ;
fileNameFormulaEditor . setVisible ( true ) ;
fileNameFormulaEditor . setVisible ( true ) ;
fileNameTipLabel . setVisible ( true ) ;
fileNameFormulaEditor . setValue ( BaseFormula . createFormulaBuilder ( ) . build ( js . getFileName ( ) ) ) ;
fileNameFormulaEditor . setValue ( BaseFormula . createFormulaBuilder ( ) . build ( js . getFileName ( ) ) ) ;
}
}
if ( js . isExtendParameters ( ) ) {
if ( js . isExtendParameters ( ) ) {