[JBoss JIRA] (JBIDE-10579) Web.xml validation incorrectly warns on valid filter
by Cody Lerum (Created) (JIRA)
Web.xml validation incorrectly warns on valid filter
----------------------------------------------------
Key: JBIDE-10579
URL: https://issues.jboss.org/browse/JBIDE-10579
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M5
Reporter: Cody Lerum
Given the following web.xml snippet eclipse shows a warning for
"filter-name references to compressionFilter that is not a filter"
This may be because http://code.google.com/p/webutilities/source/browse/tags/webutilities-0.0... extends http://code.google.com/p/webutilities/source/browse/tags/webutilities-0.0... which implements javax.servlet.Filter;
{code}
<filter-mapping>
<filter-name>compressionFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping>
<filter>
<display-name>CompressionFilter</display-name>
<filter-name>compressionFilter</filter-name>
<filter-class>com.googlecode.webutilities.filters.CompressionFilter</filter-class>
<init-param>
<param-name>compressionThreshold</param-name>
<param-value>500</param-value> <!-- compress anything above 1kb -->
</init-param>
<init-param>
<param-name>ignoreURLPattern</param-name>
<param-value>.*\.(flv|mp3|mpg)</param-value> <!-- regex -->
</init-param>
<init-param>
<param-name>ignoreMimes</param-name>
<param-value>images/*,video/*, multipart/x-gzip</param-value> <!-- ignore -->
</init-param>
<init-param>
<param-name>ignoreUserAgentsPattern</param-name>
<param-value>.*MSIE.*</param-value> <!-- regex -->
</init-param>
</filter>
{code}
Here is the maven dep for this filter
{code}
<dependency>
<groupId>com.googlecode.webutilities</groupId>
<artifactId>webutilities</artifactId>
<version>0.0.5</version>
<scope>compile</scope>
</dependency>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] Created: (JBIDE-9756) Openon for expressions with multiple options doesn't work on Mac
by Max Rydahl Andersen (JIRA)
Openon for expressions with multiple options doesn't work on Mac
----------------------------------------------------------------
Key: JBIDE-9756
URL: https://issues.jboss.org/browse/JBIDE-9756
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Reporter: Max Rydahl Andersen
Assignee: Alexey Kazakov
Priority: Critical
Fix For: 3.3.0.M4
when trying to open on for this snippet in kitchensink quickstart:
<h:commandButton id="register"
action="#{memberRegistration.register}" value="Register" />
tooltip hover shows the right class
F3 doesn't do anything
Ctrl+Click shows a white box that looks like it should contain a list of possible open ons.
...tried on Mac
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (JBIDE-10162) form-login-page verification failure with correct data
by Jesper Skov (Created) (JIRA)
form-login-page verification failure with correct data
------------------------------------------------------
Key: JBIDE-10162
URL: https://issues.jboss.org/browse/JBIDE-10162
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.3.0.M4
Environment: Windows XP, Eclipse Indigo SR1
Reporter: Jesper Skov
In a web.xml file we have this bit of code:
{code}
<servlet>
<description></description>
<display-name>LoginServlet</display-name>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>dk.jyskebank.core.jsf.login.FacesLoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/loginServlet</url-pattern>
</servlet-mapping>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/loginServlet</form-login-page>
<form-error-page>/login/loginfail.jsp</form-error-page>
</form-login-config>
</login-config>
{code}
The 'Check form-login-page attribute' verification rule marks this as a failure, saying:
error: Attribute form-login-page references to /loginServlet that does not exist in web content
In a way, the verifier is right; the jar with the LoginServlet.class lives outside the web content folder, but it copied into WEB-INF/lib as part of Deployment Assembly.
And the jar is on build classpath, obviously.
I tried copying the jar into the web content folder directly, but it has no effect on the verifier.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months
[JBoss JIRA] (JBIDE-10300) NPE for tld file which is in jar taglib and opened by "JBoss Tools XML Editor"
by Vitali Yemialyanchyk (Created) (JIRA)
NPE for tld file which is in jar taglib and opened by "JBoss Tools XML Editor"
------------------------------------------------------------------------------
Key: JBIDE-10300
URL: https://issues.jboss.org/browse/JBIDE-10300
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.3.0.M5
Reporter: Vitali Yemialyanchyk
Assignee: Alexey Kazakov
1) use https://issues.jboss.org/browse/JBIDE-10173 as example project;
2) add org.jboss.tools.jsf.jsfnature and org.jboss.tools.jst.web.kb.kbnature to the project;
3) open stopka-ui-test\src\main\webapp\test.jspx in VPE;
4) use Ctlr+LMouse click on <stopka:css> to open corresponding tld file;
5) stopka.tld is opened;
6) move the mouse over the editor - and you will get:
Unexpected runtime error while computing a text hover
java.lang.NullPointerException
at org.jboss.tools.common.el.core.resolver.ELResolverFactoryManager.getResolvers(ELResolverFactoryManager.java:105)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:418)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:231)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:198)
at org.jboss.tools.jst.web.kb.PageContextFactory.createPageContext(PageContextFactory.java:187)
at org.jboss.tools.jst.jsp.jspeditor.info.FaceletTagInfoHoverProcessor.computeHoverHelp(FaceletTagInfoHoverProcessor.java:91)
at org.eclipse.wst.xml.ui.internal.taginfo.XMLTagInfoHoverProcessor.getHoverInfo(XMLTagInfoHoverProcessor.java:257)
at org.jboss.tools.common.text.xml.info.ChainTextHover.getHoverInfo2(ChainTextHover.java:145)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months