| ERROR | localShell | ContextLoader |
mework.web.context.ContextLoader 215 | Context initialization failed
java.lang.IllegalArgumentException: bundle context should be set before
refreshing the application context
at org.springframework.util.Assert.notNull(Assert.jav a:112
I'd like to link to static documents in the same web app that are named in
the database. Currently I'm using ExternalLink but that obviously doesn't
use the application context in it's path. This would be a nice to have for
development purposes.
Is there a way for me to get the application
see ContextImage for an example
-igor
On Thu, Aug 28, 2008 at 9:23 AM, jnesbitt [EMAIL PROTECTED] wrote:
I'd like to link to static documents in the same web app that are named in
the database. Currently I'm using ExternalLink but that obviously doesn't
use the application context in it's
to application context
Actually, this should Just Work (tm). Are you running on Tomcat?
Regards,
Alastair
On Mon, Mar 31, 2008 at 4:34 AM, [EMAIL PROTECTED] wrote:
You got it
-igor
On 3/30/08, Zheng, Xiahong [EMAIL PROTECTED] wrote:
Thanks Igor. But my resource in this case is style
(applicationContext.xml);
this causes issues cause things are created 2 times..
Thanks
--
View this message in context:
http://www.nabble.com/Application-Context-tp16592544p16592544.html
Sent from the Wicket - User mailing list archive at Nabble.com
);
this causes issues cause things are created 2 times..
Thanks
--
View this message in context:
http://www.nabble.com/Application-Context-tp16592544p16592544.html
Sent from the Wicket - User mailing list archive at Nabble.com
);
this causes issues cause things are created 2 times..
Thanks
--
View this message in context:
http://www.nabble.com/Application-Context-tp16592544p16592544.html
Sent from the Wicket - User mailing list archive at Nabble.com
Pinger wrote:
All the examples I see do something like
WebApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(
this.getServletContext());
how do I do the this.getServletContext() when I am not in the wicket file?
Maybe you could implement
.. or just implement ApplicationContextAware ofcourse :)
-- Edvin
Edvin Syse skrev:
Pinger wrote:
All the examples I see do something like
WebApplicationContext ctx =
WebApplicationContextUtils.getRequiredWebApplicationContext(
this.getServletContext());
how do I do the
that mean I need to write a similar component to accomplish that?
-Original Message-
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2008 3:48 PM
To: users@wicket.apache.org
Subject: Re: Resources relative to application context
see source of ContextImage
Yes, on tomcat 6.0.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Al Maw
Sent: Monday, March 31, 2008 10:12 AM
To: users@wicket.apache.org
Subject: Re: Resources relative to application context
Actually, this should Just Work (tm). Are you running
How does wicket find such resource, e.g. as follows?
link href=style/my.css type=text/css rel=stylesheet /
I found this only works if I mount my pages with
mount(/pages, PackageName.forClass(Home.class));
Otherwise, I need to specify absolute URL. This is fine. However, the
subsequent
see source of ContextImage for details
-igor
On Sun, Mar 30, 2008 at 11:50 AM, Zheng, Xiahong [EMAIL PROTECTED] wrote:
How does wicket find such resource, e.g. as follows?
link href=style/my.css type=text/css rel=stylesheet /
I found this only works if I mount my pages with
: Resources relative to application context
see source of ContextImage for details
-igor
On Sun, Mar 30, 2008 at 11:50 AM, Zheng, Xiahong [EMAIL PROTECTED]
wrote:
How does wicket find such resource, e.g. as follows?
link href=style/my.css type=text/css rel=stylesheet /
I found this only works
WicketTest(wicketApplication);
}
}
Hopes this helps.
Lars
On Fri, Mar 7, 2008 at 12:11 PM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
Hi,
my wicket applicatin uses the SpringComponentInjector and @SpringBean
annotations, which works great at runtime where the application
context is present
Checkout the blog tutorial, the unit test part
http://cwiki.apache.org/confluence/display/WICKET/Blog+Tutorial
Jörn Zaefferer wrote:
Hi,
my wicket applicatin uses the SpringComponentInjector and @SpringBean
annotations, which works great at runtime where the application
context is present
and @SpringBean
annotations, which works great at runtime where the application
context is present.
I'd like to use WicketTester for JUnit tests:
tester = new WicketTester(new MyApplication());
In MyApplication#init, the component injector is created:
addComponentInstantiationListener(new
spring wiki page shows how to set it up...
-igor
On Fri, Mar 7, 2008 at 3:11 AM, Jörn Zaefferer
[EMAIL PROTECTED] wrote:
Hi,
my wicket applicatin uses the SpringComponentInjector and @SpringBean
annotations, which works great at runtime where the application
context is present.
I'd
/WICKET/Blog+Tutorial
Jörn Zaefferer wrote:
Hi,
my wicket applicatin uses the SpringComponentInjector and @SpringBean
annotations, which works great at runtime where the application
context is present.
I'd like to use WicketTester for JUnit tests:
tester = new WicketTester(new MyApplication
19 matches
Mail list logo