Ah, that's true, wicket takes care of resolving the URL and including the
content.
I see your point. My concern was for containers that don't explode the WAR
when deployed, but I think yours should work for that too, and it avoids the
subclass.
Thanks!
Jason Mihalick wrote:
Thanks,
and Java web applications (what is a war, what is a web.xml file).
Wicket, being component based, has great appeal for people with
non-web GUI experience only.
You're right about that. I included a link to a primer on Java web
applications in the Wiki
Hi Wicketers,
No doubt you guys are a vibrant community. It was nice listening to all the
rant and raves and jitters and it is even more exciting to see some positive
action on this small but important issue.
I am for Wicket, so I criticized it to make it even more widely adaptable,
because
Hello all,
Maybe it's just late but I'm pretty confused by how the following code
snippets are supposed to work and the differences between them:
redirectToInterceptPage(new Login(getPage()));
throw new RestartResponseAtInterceptPageException(new
Login(getPage()));
Hi!
I have a modal window. In this window there is a form and recount
button.
When user enters incorrect data and hit recount I want to refresh the form
and feedback panel inside it.
I added ValidatingBehavior to the recount button like this:
AjaxFormValidatingBehavior behavior
When I removed AjaxFormValidatingBehavior and add onError directly to the
button it works ok both in ie and ff:
IndicatingAjaxButton recount = new
IndicatingAjaxButton(recount, form) {
protected void onSubmit(AjaxRequestTarget target, Form
form) {
I am trying to create a link that will replace one panel with another
on the page. This seems as though it should be an easy task but after
many attempts and searching the net for examples I have yet to get it
working so the replacement can happen more than one without the
component
Why don't you just put the following code into the head-part of your BasePage?
head
link rel=stylesheet type=text/css href=yourpath/your.css
/
/head
Wicket does not touch thie header if it's the head in your BasePage. If you
place some panels at your page and
On 9/8/07, Grzegorz Kossakowski [EMAIL PROTECTED] wrote:
Hello Wicket devs and users!
On behalf of Cocoon GetTogether organizers I would invite you to Cocoon GT
2007 that will take place
in Rome, Italy this year!
First two days are reserved for community meet up called Hackathon. Hackathon
On Sunday, September 9, 2007, 8:55:35 AM, chickabee [EMAIL PROTECTED] wrote:
I looked into Maven and did all the Quick-Start exercise, I have the
application up and running using Maven. Quick Start has following obvious
flaws:
1. It is based on Maven. (I am not apache community with 25
YOU GUESS WHAT?!!
I JUST RENAMED THE FILE TO dialogTable.htm AND NOW IT IS WORKING!!
it is the fact of not being able to serve html-files!
is there a way to change this behaviour or is it an absolute necessary
security feature?
Yes, this *was* a security feature.The feature can be configured
I hope my css is loaded after the DatePicker css. When I override some styles
of other wicket components (e.G. TabPanel) the changes take effect. Only the
DatePicker is not affected. The DatePicker component seems to use it's default
css because I did not specify any DatePicker css in my page
Problem is solved with a workaround. Thank you all.
-Ursprüngliche Nachricht-
Von: Stefan Lindner [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 9. September 2007 12:26
An: users@wicket.apache.org
Betreff: RE: DatePicker style in old Wicket 2.0
I hope my css is loaded after the
You don't need the
IResourceSettings resourceSettings = this.getResourceSettings();
resourceSettings.addResourceFolder( WEB-INF/content );
resourceSettings.setResourceStreamLocator( new
In your application. The path to your resource is the relative to the root of
your war
All the opinions above are my own; not the wicket community,
not the developers of wicket. I really, really wish that
users of open source software would show more respect to
the developers who put so much time and effort into the
products that those users use, however.
I second this.
What you are describing only makes sense if the loginpanel is located
on the loginpage.
Typically the redirectToInterceptPage works by storing the current
page in the session before going to the new page, the stored page is
retrieved and set as the new destination when
If I remove this code:
IResourceSettings resourceSettings = this.getResourceSettings();
resourceSettings.addResourceFolder( WEB-INF/content );
resourceSettings.setResourceStreamLocator( new
then Wicket cannot find my pages (i.e., BasePage.html, Page1.html,
Page2.html), which are
put your html files beside your java files:
e.g:
org/dummy/here
- MyPage.java
- MyPage.html
I tried your suggestion below:
link rel=stylesheet type=text/css
href=WEB-INF/content/css/style.css/
WEB-INF is NOT for public content! - usually you should put your css
files either
1.3betae3
With no @SpringBean annotation, I can get to the HomePage.
When I put it back in (to inject the DAO, see below), and the
ComponentInjector gets called to do it job, I get:
--- Error ---
WicketMessage: Can't instantiate page using constructor public
On 9/9/07, chickabee [EMAIL PROTECTED] wrote:
1. It is based on Maven. (I am not apache community with 25 projects
running
in parallel, I just want to make a small app using wicket. Maven is
overkill).
so write a quick ant script. the generated project itself has no
dependencies on maven
Did you try moving *all* wicket dependencies to SNAPSHOT?
You are now mixing snapshot with 1.3.0-beta3
Martijn
On 9/9/07, jweekend [EMAIL PROTECTED] wrote:
Here's the pom.xml.
Rergards - Cemal
http://jWeekend.co.uk jWeekend.co.uk
project xmlns=http://maven.apache.org/POM/4.0.0;
heh, seems a lot of people run into it. the short is that you have to do
this:
lets say you have a ref to the panel: private Panel panel;
what you do is this:
panel.replaceWith(new Panel());
and then later again
panel.replaceWith(new Panel());
^ the second time will fail beause you have
Hi Guys,
What is the preferred strategy for customization of error page under HTTP
404 - File not found situations, any helpful pointer will be appreciated.
At present i have used error directive in web.xml and I wonder how should i
go about it, if i want to handle this from within wicket.
oi. the basic problem is that WEB-INF is inaccessible via direct urls. this
is because it houses stuff like classes and you dont want the user to have
access to those.
so there is a way to make it work, but it will involve wicket or another
servlet streaming those static resources, which is a lot
has any one noticed that the modal window when opens up ,
shows the contents of the parent page, before showing it's actual content.
The time for which it shows parent page's content depends on how much
time it takes to fetch it's content via ajax.
Is it possible to show a busy indicator in the
Interesting. I was using session.invalidateNow() which did not remove it
from disk. But session.invalidate() worked like a charm. Should
session.invalidateNow() also remove the session from disk immediately?
thanks for your help
Eelco Hillenius wrote:
Chris Lintz wrote:
Hi,
When a
oh yeah, netbeans to the rescue!
btw, tim and i have been good friends since the 4th grade.
Ayodeji Aladejebi wrote:
hey chickabee,
am concerned for people like you and what you are missing so i have
decided
to help you so you wont find yourself in some
my help only works if you use
We're choosing an item from a list and then using ajax to populate a
view of the item, together with a listview of purchasable details.
For any given item there may or may not be images. Either managing
the relevant components in a page-level collection or using a visitor
to find them works. The
Allow me to hijack this topic because my eye sees the magic word
ISecureComponent :D
Glad to come across another user of Wasp and Swarm. Any comments /
questions about them?
Maurice
On 9/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
heh, seems a lot of people run into it. the short is that you
On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
[...] Also thanks to Matej who recently
added a very, very optimized page store variant, *and* contributed an
efficient page store that can be used in a cluster.
Which page store class are you referring to?
Martijn,
Good spot, thanks. The exclusions (copied from the phonebook pom.xml)
probably didn't help, in this case, to keep things clearer.
If the eclipse targets are deleted (properly cleaned) _and_ the library
versions are consistent in the pom before the build/run it all works fine.
FYI, I
Hola / Hi,
queria pedir disculpas y advertir a todo aquel que haya recibido una
invitacion mia para quechup.com. Yo me registre por una invitacion que
a mi vez recibi de un contacto de confianza, sin prestar demasiada
atencion al procedimiento y sin saber muy bien de que se trataba. En
I doubt Google will like the query string part of that URL. Have you looked
at the other URL schemes? I think the answer is that you do need to make
your pages bookmarkable so Google has something to put in its index. It may
only be seeing the bit before the query string so all your pages look
On 9/9/07, Sam Hough [EMAIL PROTECTED] wrote:
I doubt Google will like the query string part of that URL. Have you looked
at the other URL schemes? I think the answer is that you do need to make
your pages bookmarkable so Google has something to put in its index. It may
only be seeing the bit
On 9/9/07, Sean Sullivan [EMAIL PROTECTED] wrote:
On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
[...] Also thanks to Matej who recently
added a very, very optimized page store variant, *and* contributed an
efficient page store that can be used in a cluster.
Which page store class
/me makes mental note for chapters 6 and 8 in the book
--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/
Thanks for your responses.
I should of thought about this issue before I developed the site with wicket
;-) i just wanted to try something new.
I will investigate the other url schemes but i think everything should be
bookmarkable. It should be easy to refactor my tabs into pages and I suppose
I
Are these dead? if not, where can I find them? I could not find a valid
link that references these items?
--
View this message in context:
http://www.nabble.com/Wicket-Stuff-CdApp---tf4410764.html#a12582883
Sent from the Wicket - User mailing list archive at Nabble.com.
Even the regular DiskPageStore is optimized for use in clustered
environment, as it reuses serialized page instances when the session
is being replicated.
-Matej
On 9/9/07, Sean Sullivan [EMAIL PROTECTED] wrote:
On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
[...] Also thanks to Matej
Are these dead? if not, where can I find them? I could not find a valid
link that references these items?
CdApp is no longer maintained, as various some were disagreeing with
the hibernate support classes it used and I got tired of having to
defend that. You should look at databinder[1] and
Did you try google?
http://www.google.com/search?q=wicket-stuff
The cd app seems to be no longer supported, but you may checkout the
sources here (wicket 1.2):
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-contrib-examples
Martijn
On 9/9/07, Doug
A maven archetype is really helpful and the quickstart guide is good
but for me personally I would rather see the documentation
restructured a bit. The thing I miss is a small text explaining what
the different JAR-files actually contain. Something like this (pardon
my english, it is not my native
Thanks Martijn...that was what I was looking for. The wicket-stuff link to
the svn repository is broken.
Based on the previous threads, I expected that this was not supported
anymore. I am glad that it is still accessible b/c this is another example
of how to use wicket...especially from a
I hate to say it, but I'll do it anyway:
It is a wiki so if you think something is
missing/incomplete/incorrect/needs restructuring... log on and make it
better! Not only will you benefit from the change, but the rest of the
community will have a better life too!
As for the component
But the extension examples - e.g. the modal window examples are not hosted
there.
I did try to extrapolate from an earlier email referring to example for
1.3 - but did not find the extention examples on either of those pages.
-Ed
Date: Mon, 10 Sep 2007 00:32:52 +0200
From: [EMAIL
hm,
i can see the modal window examples for both versions:
Wicket 1.3.0-SNAPSHOT: http://wicketstuff.org/wicket13/ajax/modal-window
Wicket 1.2.x:
http://wicketstuff.org/wicket12/ajax/?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.modal.ModalWindowPage
gerolf
On 9/10/07, Ed _ [EMAIL
perhaps blobimageresource or something like it.
Doug Leeper wrote:
I am looking for an example that obtains an image from the db and displays
it. Can anyone point me in the right direction? I couldn't find the
cdApp in wicket-contrib-examples
I know that I need to use a Resource or
I know i'm a little late on this thread, but as the author of qwicket, i
take particular issue with saying because it's glued with hibernate and
spring that it's no good. The express purpose of qwicket is to create a
template for spring/hibernate/wicket based applications. So if it's no good
On 9/9/07, Doug Leeper [EMAIL PROTECTED] wrote:
I am looking for an example that obtains an image from the db and displays
it. Can anyone point me in the right direction? I couldn't find the cdApp
in wicket-contrib-examples
I know that I need to use a Resource or some derivative of one,
Totally agree.
I like to understand what is going on so I created a 'sandbox' type project
in Netbeans, manually referenced the wicket libraries, created the
application and webpage class with related HTML, and the Web.xml. I was up
and running in under an hour. The application runs on Tomcat
This has been rejected as invalid for fixing... But should'nt at least
something have been added to the component. Currently Image are not
valid for ajax calls, and you wont see the problem until you catch it in
your browser.. Either we write something in the javadocs or??? Could be
nice to
as far as i know Image works just fine with ajax. if you want an image that
is not cached use NonCachingImage.
-igor
On 9/9/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:
This has been rejected as invalid for fixing... But should'nt at least
something have been added to
Hi
i have to add an menu container in wicket frame work what id should i use?
td div id=menucontainer
div id=bobcontent1-title class=handcursor1span
class=spanDifference/span/div
div id=bobcontent1 class=switchgroup1
table
hmmm... the hierarchies seem to match. The only weird things I see
are that your img tags are unclosed (Wicket may require valid xml
templates -- I'm not sure because I always use xhtml) and your call
to add the topForm component uses an explicit this reference. I
can't remember if this
54 matches
Mail list logo