import java.util.Arrays;
import java.util.List;
public class TaglibJavaScriptInjector implements MultiHostInjector {
private static final ElementPattern<XmlAttributeValue> JS_ELEMENT_PATTERN =
xmlAttributeValue()
<BUG>.withLocalName(string().startsWith("on"))

.inVirtualFile(or(virtualFile().ofType(StdFileTypes.JSP),</BUG>
virtualFile().ofType(StdFileTypes.JSPX)))
.withSuperParent(2, xmlTag().withNamespace(StrutsConstants.TAGLIB_STRUTS_UI_URI));

import java.util.Arrays;
import java.util.List;
public class TaglibJavaScriptInjector implements MultiHostInjector {
private static final ElementPattern<XmlAttributeValue> JS_ELEMENT_PATTERN =
xmlAttributeValue()
.withLocalName(StandardPatterns.or(string().startsWith("on"),
string().startsWith("doubleOn"))) // **TransferSelect-tags
.inVirtualFile(or(virtualFile().ofType(StdFileTypes.JSP),
virtualFile().ofType(StdFileTypes.JSPX)))
.withSuperParent(2, xmlTag().withNamespace(StrutsConstants.TAGLIB_STRUTS_UI_URI));
