-
1. Re: No longer serving static/META-INF resources...
tb01923 Sep 13, 2007 2:39 PM (in response to tb01923)The file is still included in the JAR.
-
2. Re: No longer serving static/META-INF resources...
alexsmirnov Sep 13, 2007 2:48 PM (in response to tb01923)How are you load this resource ? Please, provide code where this url generated.
Version 3.1.0 have different prefix for a resource framework, "a4j_3_1_0" is a mandatory part of the url. -
3. Re: No longer serving static/META-INF resources...
tb01923 Sep 13, 2007 3:37 PM (in response to tb01923)It was in a jsf component written by another person in the organization, in the renderer they write out the script tag and path.
Whats the recommended way we develop jsf components that have required resources? -
4. Re: No longer serving static/META-INF resources...
tb01923 Sep 13, 2007 3:39 PM (in response to tb01923)They don't programtically generate the URL using any special A4J or rich faces logic
-
5. Re: No longer serving static/META-INF resources...
alexsmirnov Sep 13, 2007 3:55 PM (in response to tb01923)For a properly use richfaces resources framework, url must be renerated from special InternetResource object, created by org.ajax4jsf.resource.Internet.InternetResourceBuilder :
String uri =org.ajax4jsf.resource.Internet.InternetResourceBuilder.getInstance().createResoutce(null), "/path/to/foo.js").getUri(facesContext,null);
or, to encode complete html tag with properly attributes :InternetResourceBuilder.getInstance().createResoutce(null), "/path/to/foo.js").encode(facesContext,null);
-
6. Re: No longer serving static/META-INF resources...
tb01923 Sep 13, 2007 4:42 PM (in response to tb01923)even though the resource is contained within another JAR (not the WAR)?
I will try. Thank you