Hi, I couldn't use imageLocation because I am trying to used the simple "tree" component, so this tag is not supported.
Now, I was able to run ok and the images are loaded from the correct place. I created a new project that it has only my code and the MyFaces distribution files. In my previous project, I had all MyFaces sources. I believe that I had mixed MyFaces (extented and standard components) code or even added too much jar files. In a clean installation, it is working fine. For the future, I will only install the portion of the MyFaces source code that I want to debug and avoid to have all the packages at once. Thanks, Norberto On 8/14/05, Dennis Byrne <[EMAIL PROTECTED]> wrote: > You probably want to use @imageLocation - > http://myfaces.apache.org/tlddoc/tomahawk/t/tree2.html . > > ---- Original message ---- > >Date: Sun, 14 Aug 2005 11:21:40 -0400 > >From: Sean Schofield <[EMAIL PROTECTED]> > >Subject: Fwd: CacheKey > >To: MyFaces Discussion <[email protected]> > >Cc: [EMAIL PROTECTED] > > > >This belongs on the user list. > > > >---------- Forwarded message ---------- > >From: norberto eichstaedt <[EMAIL PROTECTED]> > >Date: Aug 13, 2005 7:52 PM > >Subject: CacheKey > >To: [email protected] > > > > > >I'm trying to use the Myfaces examples... For the ones that > need > >images/icons, like the tree component, the sample > application is > >trying to load the images from a directory like: > > > >http://127.0.0.1:8080/examples/faces/myFacesExtensionResource > /tree.HtmlTree/1113412660000/images/node_open.gif > > > >"1113412660000" is calculated by a method in myfaces > framework called > >"getCacheKey". > > > >My questions are: > > > >How the Myfaces caching feature should work? Since I don't > have a path > >like that in my Tomcat project, should it had copied the > images to > >this folder or should I do by myself? > > > >I can create this folder manually, but my question in this > case is if > >myfaces will always look for the images in this same > directory, or > >will change it after some kind of timeout for the cache. > > > >Thanks, > > > >Norberto Eichstaedt > Dennis Byrne >

