|
|
@ -15,6 +15,7 @@ import com.fr.js.JavaScriptImpl; |
|
|
|
import com.fr.main.impl.WorkBook; |
|
|
|
import com.fr.main.impl.WorkBook; |
|
|
|
import com.fr.report.web.ToolBarManager; |
|
|
|
import com.fr.report.web.ToolBarManager; |
|
|
|
import com.fr.report.web.WebContent; |
|
|
|
import com.fr.report.web.WebContent; |
|
|
|
|
|
|
|
import com.fr.report.web.util.ReportEngineEventMapping; |
|
|
|
import com.fr.web.attr.ReportWebAttr; |
|
|
|
import com.fr.web.attr.ReportWebAttr; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
@ -58,8 +59,6 @@ public class SearchWebJSAction implements SearchJS { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void addJSInfos2ListFromWeb(JTemplate jTemplate, List<JSInfo> jsInfos) { |
|
|
|
private void addJSInfos2ListFromWeb(JTemplate jTemplate, List<JSInfo> jsInfos) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dealServerWebAttr(jTemplate, jsInfos); |
|
|
|
dealServerWebAttr(jTemplate, jsInfos); |
|
|
|
dealTemplateWebAttr(jTemplate, jsInfos); |
|
|
|
dealTemplateWebAttr(jTemplate, jsInfos); |
|
|
|
} |
|
|
|
} |
|
|
@ -115,6 +114,7 @@ public class SearchWebJSAction implements SearchJS { |
|
|
|
Listener listener = webContent.getListener(i); |
|
|
|
Listener listener = webContent.getListener(i); |
|
|
|
ITContent newContent = ITContent.copy(content); |
|
|
|
ITContent newContent = ITContent.copy(content); |
|
|
|
newContent.setReplaceObject(listener); |
|
|
|
newContent.setReplaceObject(listener); |
|
|
|
|
|
|
|
newContent.addOtherPos(Toolkit.i18nText(ReportEngineEventMapping.getLocaleName(listener.getEventName()))); |
|
|
|
SearchJSUtils.searchJSFromListener(jsInfos, newContent); |
|
|
|
SearchJSUtils.searchJSFromListener(jsInfos, newContent); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|