It seems like my Spring config doesn't take effect. If I use a not existent
application class name in my applicationContext.xml the Wicket application
starts without an error message (the error with missing bean appears on first
request).
Wicket starts even with:
bean id=wicketApplication
Hello Christian,
Have you add the following statement in your web.xml :
context-param
param-namecontextConfigLocation/param-name
param-valueclasspath:applicationContext.xml/param-value
/context-param
?
On Sat, 21 Feb 2009 09:09:18 +
Hello Nicolas,
Have you add the following statement in your web.xml
Yes, exactly as you wrote:
context-param
param-namecontextConfigLocation/param-name
param-valueclasspath:applicationContext.xml/param-value
/context-param
I've also tried to use a wrong name for the xml
Hi Christian,
I am using the same config as you (as far as I can tell), with the
exception I always use: @SpringBean (name=nameHere) so I always use
the name of a bean. So far I never had trouble with that. Perhaps its
the wicket version you are using different from ours? I use 1.4rc2 and
Hello!
(this post went to the guice + the wicket mailing list)
I would really like GuiceProxyTargetLocator to have a public
constructor. Currently it is package-access.
Furthermore findBindingAnnotation should be made public static
I had to create a
Only a cent: security-constraint on web.xml can work only on certain URIs
security-constraint
display-nameSSL/display-name
web-resource-collection
web-resource-nameMake sure login path is
secured/web-resource-name
descriptionWe like ssl web
Hi *,
I added to a panel two fragments. The ajax response looks like
attchement. I would like to check if the attribute class for tag
pnlHeader1 is as expected.
But the TagTester only gives me the component tag with same id. Can i
extract the CDATA area to?
PS: I surely can parse the markup
Actually my code is almost the same as that.
I have SWFObject that extends AbstractBehavior and implements
IHeaderContributor.
Since my chart is getting it's settings from an xml file and data from a
text file, i added those to the getVariables().
The chart won't render on any of the pages of
It seems that in 1.4-SNAPSHOT HeaderContributor.forJavaScript among
other is deprecated, but I am unable to find any documentation about
what I should be using instead.
What is the replacement for the methods in HeaderContributor?
- Brill
Hi Brill,
You can use: JavascriptPackageResource.getHeaderContribution(..).
Martijn
On Sat, Feb 21, 2009 at 5:17 PM, Brill Pappin br...@pappin.ca wrote:
It seems that in 1.4-SNAPSHOT HeaderContributor.forJavaScript among other
is deprecated, but I am unable to find any documentation about
More wap trouble. Apparently you must call setRedirect(false) BEFORE
invoking setResponsePage.. don't exactly know why, I found no explicit
reason.
Another problem that popped up is about how to easily make
convertToHtmlUnicodeEscapes=true for Labels? XML is strict such that
it requires all
Thanks, thats perfect.
I guess they are still working on the javadoc etc because there was no
note anywhere I could find on that and nothing on the How to do
things with wicket wiki page.
- brill
On 21-Feb-09, at 11:35 AM, Martijn Reuvers wrote:
Hi Brill,
You can use:
I have a panel with which I'm implementing IHeaderContributor and the
following code:
@Override
public void renderHead(IHeaderResponse response) {
response.renderOnLoadJavascript(alert('test'));
}
...
which output in the HTML:
...
script
Hey everyone!
I'm creating a basic webapp using Wicket, Tomcat 5.5, Maven 2 and Eclipse. I
got it all to work together in the end, but now I'm having trouble with my
images.
Say I have a class Documents: /src/main/java/XYZ/Frontend/Documents.java
And a directory with some images in the
Addendum to my last:
Apparently the simple alert case *is* working in Safari 3.2.1 but *is
not* in Firefox 3.0.6.
This suggests to me that the script has not been updated for Firefox,
or that firefox just doesn't support the script (which I find hard to
believe).
is anyone else using
Alright so since we're talking about static resources that could easily be
served by my servlet container, the problem actually is getting the /img/
directory into the context root.
I put this in my pom.xml:
plugin
groupIdorg.apache.maven.plugins/groupId
I am experiencing serious problems with the redirects.. sometimes I
can browse fine, but at other times the session is abruptedly
terminated when the wap device fails to handle the redirect.
Did you experience any of these problems, what was your solution?
**
Martin
2009/2/20 Jeremy Thomerson
You say they are in src/main/resources
but you have src\main\resources
Could this be it? / vs \
I bundle a different way but that might work for you.
cheers,
Steve
On 21/02/2009, at 9:02 PM, svfarmer wrote:
Alright so since we're talking about static resources that could
easily be
served
We used Shrinkray recently.
http://www.shrinkraywireless.com/
- Brill
On 21-Feb-09, at 5:18 PM, Martin Makundi wrote:
I am experiencing serious problems with the redirects.. sometimes I
can browse fine, but at other times the session is abruptedly
terminated when the wap device fails to
I wonder if this is related to a bug that was fixed in firefox 3.0.6...
https://bugzilla.mozilla.org/show_bug.cgi?id=444322
Firefox 3 onload and DOMContentLoaded event firing before the page is
fully loaded
We experienced that problem with Firefox 3.0.5 made a work around for
it, and then
if they are static just put them into src/main/webapp - you should
have that dir.
problem is whatever is in src/main/resources is copied into
WEB-INF/classes and servlet container does not stream anything out of
WEB-INF for security reasons.
-igor
On Sat, Feb 21, 2009 at 1:02 PM, svfarmer
The back and foreslashes are not the issue, I might have mixed them up in my
post but they seem to be configured correctly. Everything ends up in the
path it should, but the 'img' directory is just not published to my Tomcat.
Steve Swinsburg-2 wrote:
You say they are in src/main/resources
Thanks for your reply!
You are spot on there, I also figured out how to put my resources into
WEB-INF/classes. These ARE published correctly when using Tomcat, but are
indeed of no use for static linking. So this does not resolve my problem.
-Tjeerd
igor.vaynberg wrote:
if they are static
Hmm... that could be related.
For the moment I've worked around it in a somewhat kludgy way, but I
plan to go back and try again with a cleanroom test app as soon as I
have some time to look into it more.
- Brill
On 21-Feb-09, at 6:18 PM, Jason Lea wrote:
I wonder if this is related to
you can link to resources in the classpath using urlfor(new
resourcereference(class_in_resource_package, resourcename))
-igor
On Sat, Feb 21, 2009 at 4:45 PM, svfarmer twboer...@gmail.com wrote:
Thanks for your reply!
You are spot on there, I also figured out how to put my resources into
25 matches
Mail list logo