This content has been marked as final.
Show 7 replies
-
1. Re: Custom component, scripts do not load, seam
nbelaevski Sep 5, 2009 7:52 AM (in response to blabno)Hi,
Are SCRIPT/LINK HTML tags for resources output to the page or not? -
2. Re: Custom component, scripts do not load, seam
blabno Sep 7, 2009 5:31 AM (in response to blabno)No, links are not output.
-
3. Re: Custom component, scripts do not load, seam
nbelaevski Sep 7, 2009 6:07 AM (in response to blabno)Have you properly configured Seam filter? What loading strategy for scripts is used?
-
4. Re: Custom component, scripts do not load, seam
blabno Sep 9, 2009 8:40 AM (in response to blabno)<context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>classic</param-value> </context-param> <context-param> <param-name>org.richfaces.CONTROL_SKINNING</param-name> <param-value>disable</param-value> </context-param> <context-param> <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name> <param-value>disable</param-value> </context-param> <context-param> <param-name>org.richfaces.LoadStyleStrategy</param-name> <param-value>ALL</param-value> </context-param> <context-param> <param-name>org.richfaces.LoadScriptStrategy</param-name> <param-value>ALL</param-value> </context-param> <listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener> <filter> <filter-name>Seam Filter</filter-name> <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class> </filter> <filter-mapping> <filter-name>Seam Filter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <servlet> <servlet-name>Seam Resource Servlet</servlet-name> <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/seam/resource/*</url-pattern> </servlet-mapping> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>facelets.SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.seam</url-pattern> </servlet-mapping> <security-constraint> <display-name>Restrict raw XHTML Documents</display-name> <web-resource-collection> <web-resource-name>XHTML</web-resource-name> <url-pattern>*.xhtml</url-pattern> </web-resource-collection> <auth-constraint/> </security-constraint> </web-app>
-
5. Re: Custom component, scripts do not load, seam
nbelaevski Sep 9, 2009 9:56 AM (in response to blabno)Hi,
Please try with DEFAULT loading strategies. -
6. Re: Custom component, scripts do not load, seam
blabno Sep 10, 2009 2:32 AM (in response to blabno)That helped. What can i do to make script import work with ALL setting ?
Thank you my grandmaster ! -
7. Re: Custom component, scripts do not load, seam
nbelaevski Sep 10, 2009 6:15 AM (in response to blabno)Unfortunately, not much. Scripts/styles for ALL loading strategy are generated when RF is build and then do not includes ones for any custom components.
Here is the issue for this: https://jira.jboss.org/jira/browse/RF-7675