I have the same problem now with Wicket 1.4-rc1.

Anyone knows if this is a bug or am I doing something wrong?

Thanks,
Marc


hbf wrote:
> 
> I have a shared resource that I add in my application's init() method  
> via
> 
>      SharedResources sharedResources = getSharedResources();
>      sharedResources.add("repo", new MyResouce());
>      sharedResources.putClassAlias(Application.class, "app");
>      sharedResources.putClassAlias(MyResouce.class, "tmp");
> 
> I can access my resource via e.g.
> 
>   
> http://localhost:8080/app/resources/org.apache.wicket.Application/repo?nid=12
> 
> but both
> 
>    http://localhost:8080/app/resources/app/repo?nid=12
>    http://localhost:8080/app/resources/tmp/repo?nid=12
> 
> do not work. Any ideas why?
> 
> Thanks!
> Kaspar
> 

-- 
View this message in context: 
http://www.nabble.com/Class-aliases-for-shared-resources-tp15954706p21228904.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to