You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by always_rick <sh...@hotmail.com> on 2013/02/09 11:00:15 UTC
wicket 6.x add additional folder
Hi,
I stick to wicket 1.5.4 for quite a long while.
I used to getResourceSettings().addResourceFolder( folderName ) in app
init() to achieve adding additional folder.
However, I don't see API 6.x has such as a method in ResourceSettings.
Do I miss something?
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: wicket 6.x add additional folder
Posted by always_rick <sh...@hotmail.com>.
Thanks a lot.
Sorry for my careless reading...
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212p4656215.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: wicket 6.x add additional folder
Posted by Francois Meillet <fr...@gmail.com>.
getResourceSettings().getResourceFinders().add(your IResourceFinder);
exemple:
getResourceSettings().getResourceFinders().add(new WebApplicationPath(getServletContext(), "some/path));
more on https://cwiki.apache.org/WICKET/migration-to-wicket-60.html
François
Le 9 févr. 2013 à 11:00, always_rick <sh...@hotmail.com> a écrit :
> Hi,
>
> I stick to wicket 1.5.4 for quite a long while.
>
> I used to getResourceSettings().addResourceFolder( folderName ) in app
> init() to achieve adding additional folder.
>
> However, I don't see API 6.x has such as a method in ResourceSettings.
>
> Do I miss something?
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-6-x-add-additional-folder-tp4656212.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org