Igor, were you suggesting the same approach as James did?

If so, I am already using @SpringBean annotations and I am wondering
if they will continue to work with the
http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
approach?

Thanks.

On Mon, Feb 8, 2010 at 4:41 AM, James Carman
<jcar...@carmanconsulting.com> wrote:
> You can use the Spring integration to actually create your application
> object for you:
>
> http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
>
> Then, you can wire in anything into it that you want, just like any
> other Spring bean (because it *is* just another Spring bean)
>
> On Sun, Feb 7, 2010 at 11:29 PM, Alec Swan <alecs...@gmail.com> wrote:
>> I use Wicket, Spring and wicket-spring extensions. Spring
>> configuration loads properties from config/env.properties file using
>> PropertyPlaceholderConfigurer. I would like to add more properties to
>> this file and read them from my Wicket application class. I tried to
>> inject a Spring Resource using @SpringBean annotation, but it doesn't
>> work in the my Wicket application class.
>>
>> I am looking for recommendations on how to read properties files from
>> wicket application class. Ideally I would like to use a single
>> properties file read by Wicket and Spring.
>>
>> Thanks,
>>
>> Alec
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to