You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ken <ke...@gmail.com> on 2006/06/22 15:26:58 UTC

minor inputHtml oversight

 Hi,

Must thank you all for great product.  Through Tomahawk 1.1.3 I've noticed a
minor issue with inputHtml.  Tomahawk logs following error:

- Unable to find resource resource/kupudrawers/kupublank.html for component
inputHtml.InputHtmlRenderer. Check that this file is available in the
classpath in sub-directory /resource of the package-directory.

In fact, kupublank.html is in the resource directory.  When I copy file to
resource/kupudrawers error message goes away.

What is best way for noncommitter such as myself to fix this problem for
everyone?

Thanks,
Ken

Re: minor inputHtml oversight

Posted by Matthias Wessendorf <ma...@apache.org>.
Hey Ken,

the logging means, thate kup...html must be inside the JAR in

org\apache\myfaces\custom\inputHtml\resource\kupudrawers

not in

org\apache\myfaces\custom\inputHtml\resource\

it looks like the renderer is putting it right into the second folder:

<snip>


writer.writeAttribute(HTML.SRC_ATTR,
addResource.getResourceUri(context, InputHtmlRenderer.class,
"kupublank.html"), null);


</snip>

can you give me more from the log message?

On 6/22/06, Ken <ke...@gmail.com> wrote:
>
>
>  Hi,
>
>  Must thank you all for great product.  Through Tomahawk 1.1.3 I've noticed
> a minor issue with inputHtml.  Tomahawk logs following error:
>
>  - Unable to find resource
> resource/kupudrawers/kupublank.html for component
> inputHtml.InputHtmlRenderer. Check that this file is available in the
> classpath in sub-directory /resource of the package-directory.
>
>  In fact, kupublank.html is in the resource directory.  When I copy file to
> resource/kupudrawers error message goes away.
>
>  What is best way for noncommitter such as myself to fix this problem for
> everyone?
>
>  Thanks,
>
>  Ken
>
>


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