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

