Well, right.

viewHandler.getResourceURL does basicly

facesContext.getExternalContext().getRequestContextPath() + path

Stylesheet for instance does the same

context.getExternalContext().getRequestContextPath()+stylesheet.getPath()

Should be unified. Sure!
Can you open a (minor) issue ?

-Matthias


On 6/9/06, Rogerio Pereira <[EMAIL PROTECTED]> wrote:
Hi,

I checked the weblets code and this solution uses
ViewHandler.getResourceURL, right now only tree, tree2, swapimage and
jscookmenu uses ViewHandler.getResourceURL and script, stylesheet and
graphicImage don't, are there any issues about use
ViewHandler.getResourceURL to resolve resources URIs?

--
Yours truly (Atenciosamente),

Rogério


--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to