Well, Wicket defines the "correct" place as the same package as the component.

   But this is wrong:

   - it breaks working html
   - although the border is a component, the stuff inside is not part of it.

       Ari S.


On 10/3/05, Ari Suutari <[EMAIL PROTECTED]> wrote:
Hi,

Assume following html:

<span wicket:id="border">
    <img wicket:id="img" src="test.png"/>
</span>

Now, If the application is in package syncrontech.test except that
border is syncrontech.borders.NiceBorder (I have a separate package
for common thingies) wicket is unable to find test.png during runtime, instead
I get:


wicket.WicketRuntimeException: Unable to find package resource [path = 
syncrontech/borders/test.png, style = null, locale = fi]

Ie. it looks for image in wrong place (correct place is 
syncrontech/test/test.png).

I'm using wicket 1.1-rc1.

    Ari S.



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to