0 Replies Latest reply on Oct 10, 2007 3:56 AM by ova

    3 issues related to JSF projects

    ova

      I don't know whether the issues below were already fixed. But I had that with RedHat Developer Studio Beta 1

      1.) I work with MyFaces Tomahawk which is present in the "Red Hat Palette". If I tip <t: and push Strg+Space, I get an exception: "Content Assist" did not complete normally. Please see the log for more information. java.lang.NullPointerException.

      2.) There isn't a file association for CSS files in Window --> Preferences --> General. Therefore I cannot open any *.css files. I get an exception:
      "An error has occurred. See error log for more details. org.eclipse.wst.css.core.internal.document.CSSModelImpl cannot be cast to org.w3c.dom.Node".

      3.) My web.xml has an filter entry

       <filter>
       <filter-name>SecurityFilter</filter-name>
       <filter-class>
       ip.client.commons.web.secfilter.filter.SecurityFilter
       </filter-class>
       <init-param>
       <param-name>config</param-name>
       <param-value>
       /WEB-INF/securityfilter-config.xml
       </param-value>
       <description>Configuration file location</description>
       </init-param>
       </filter>
      

      I get an error: "error: Attribute param-value references to /WEB-INF/securityfilter-config.xml that is not a valid struts config file".
      Clear, the file securityfilter-config.xm is not a struts config file. Why believes RedHat that it would be the struts config file ? All work great, if I go to Window --> Prefernces --> RedHat --> Verification --> Struts Rules and take out "Check Web Descriptor".

      Best Regards.
      Oleg.