Since nobody replied (yet) and I cannot believe that I am the only one
having this problem, and I found a way to bypass the problem I wanted to
share my solution
The executeBehavior method on the WicketTester looks like this.
public void executeBehavior(final AbstractAjaxBehavior behavior) {
wicket can also do that for you
On Wed, Aug 5, 2009 at 06:45, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
As I remember, GWT appends some garbage to JS filenames as they change
to prevent this.
-- Tony
On 8/5/09, John Armstrong siber...@siberian.org wrote:
Install the web
Hi,
I am trying to do a checkout of wicketstuff but I get redirected to the
same URL:
e...@oostblok:~/projects/wicketstuff$ svn co
http://wicketstuff.org/maven/repository/org/wicketstuff/tinymce/
svn: Repository moved temporarily to
how, how?
On Wed, Aug 5, 2009 at 3:24 PM, Johan Compagnerjcompag...@gmail.com wrote:
wicket can also do that for you
On Wed, Aug 5, 2009 at 06:45, Anton Veretennikov
anton.veretenni...@gmail.com wrote:
As I remember, GWT appends some garbage to JS filenames as they change
to prevent this.
Application.getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true);
-Matej
On Wed, Aug 5, 2009 at 9:35 AM, Anton
Veretennikovanton.veretenni...@gmail.com wrote:
how, how?
On Wed, Aug 5, 2009 at 3:24 PM, Johan Compagnerjcompag...@gmail.com wrote:
wicket can also do that for
I love wicket :)
On Wed, Aug 5, 2009 at 3:40 PM, Matej Knoppmatej.kn...@gmail.com wrote:
Application.getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true);
-Matej
On Wed, Aug 5, 2009 at 9:35 AM, Anton
Veretennikovanton.veretenni...@gmail.com wrote:
how, how?
On Wed,
what are you trying to do?
that url is no subversion repo, but a maven repo.
maybe you were looking for this:
http://sourceforge.net/projects/wicket-stuff/develop
mf
2009/8/5 Erik van Oosten e.vanoos...@grons.nl
Hi,
I am trying to do a checkout of wicketstuff but I get redirected to the
Aacchh!!
Me hit forehead with table
Martin Funk wrote
what are you trying to do?
that url is no subversion repo, but a maven repo.
maybe you were looking for this:
http://sourceforge.net/projects/wicket-stuff/develop
mf
I apologize for this remark. I should've taken a couple of breaths and
set gmail beer goggles up. Blame it on 4 weeks of baby invoked sleep
deprivation (and no, I didn't get a good nights sleep last night, 4am
when the little screamer finally slept—or I passed out... not sure
which one).
Martijn
Hi all,
I would like to announce a very small yet useful project for anyone who is
doing a lot of integration tests in their Wicket projects.
Enhanced WicketTester project's site is
http://code.google.com/p/enhancedwickettester/ where one can download
binary, code, check examples. Any comments
Looks good! Some of the love Wicket Tester needed.
Will give it a shot soon.
Francisco
2009/8/5 Paul Szulc paul.sz...@gmail.com:
Hi all,
I would like to announce a very small yet useful project for anyone who is
doing a lot of integration tests in their Wicket projects.
Enhanced
Hello!
I have a form in a panel like so:
public class MyPanel extends Panel
{
Object someModelObject;
public MyPanel( ... )
{
setModel( new Model( Object ) );
add( new MyForm( ... ) );
}
private static MyForm extends Form
{
private
hmm what I have is this:
@Override
protected void onSelectionChanged(Object newSelection) {
// TODO Auto-generated method stub
super.onSelectionChanged(newSelection);
I prefer firebug .. :)
2009/8/5 John Armstrong siber...@siberian.org:
Install the web developers toolkit plugin for firefox. Its a must if your
doing front-end web development. Among many many many other features it lets
you do things like easily disable the cache, javascript etc.
Its a must
Works,
Thx Igor.
I try to use setResponsePage to BlogDetails on the constructor of the Blog
page and it works too.
So any recommendation picking between *setResponsePage* and throw *
RestartResponseException*?
Regards,
uudashr
On Wed, Aug 5, 2009 at 11:21 AM, Igor Vaynberg
Don't use setResponsePage in the constructor. There have been enough
reports of failures reported to this list.
Martijn
On Wed, Aug 5, 2009 at 12:53 PM, uud ashruuda...@gmail.com wrote:
Works,
Thx Igor.
I try to use setResponsePage to BlogDetails on the constructor of the Blog
page and it
Following Igor's example, you will need to override the newItem() method.
It is inherited into DataView from RefreshingView. Something like:
new DataView() {
@Override
protected item newItem(..) {
return new OddEvenItem(...);
}
}
On Wed, Aug 5, 2009 at 12:22 AM, arungupta
An application that runs fine in 1.3.6 is throwing the following
exception when started using jetty:run:
2009-08-05 05:58:49.387::INFO: No Transaction manager found - if your
webapp requires one, please configure one.
ERROR - DiskPageStore - Couldn't load DiskPageStore index
from
Sorry everyone if this question has been posted before (I've searched the
mailing list and not found a definitive answer)...
With the help of this list, I now have a good grasp of URL mounting/encoding
- at least for bookmarkable pages. My issue is how to ensure that session
based URLs don't give
From this message I think you have wicket in your container/lib (or
container/shared) folder. Don't do that, but put it in your webapp's
WEB-INF/lib folder
Martijn
On Wed, Aug 5, 2009 at 3:08 PM, Arun Guptaarun.gu...@gmail.com wrote:
An application that runs fine in 1.3.6 is throwing the
If a FormComponent has raw input (FormComponent.hasRawInput() == true) then it
will use that value when rendering instead of its model object. I find that
pretty often (or more likely always) have to call FormComponent.clearInput()
when updating a component's model object during an ajax
Use HybridUrlCodingStrategy..
Alex Objelean
randomaccessandy wrote:
Sorry everyone if this question has been posted before (I've searched the
mailing list and not found a definitive answer)...
With the help of this list, I now have a good grasp of URL
mounting/encoding
- at least for
Oh, I use that too. I couldn't survive without it. I always use it
to inspect the DOM and find out just where that weird styling is
coming from. :) But for looking at request/response headers and
details, I prefer HttpFox. And if I need to try twiddling with
requests, TamperData. A tool for
I use both religiously. They make life oh so much better on oh so many
ways..
Anyhow, anyone touching the DOM, JavaScript and CSS should know these tools
IMHO. They really change the way you do webdev.
John-
On Wed, Aug 5, 2009 at 6:57 AM, Jeremy Thomerson
jer...@wickettraining.comwrote:
Oh, I
your request cycle has access to the url that caused the page expired
exception. at that point you cannot know anything else because there
is no longer a session either.
what you might want to do is append itemid to the urls generated by
the ajaxtabbedpanel.
-igor
On Wed, Aug 5, 2009 at 1:52
Ah, mvn *clean* jetty-run did the job.
Migrating to 1.4 now :)
Is there
Thanks,
-Arun
Martijn Dashorst wrote:
From this message I think you have wicket in your container/lib (or
container/shared) folder. Don't do that, but put it in your webapp's
WEB-INF/lib folder
Martijn
On Wed,
Paul,
It looks like the entire project is simply two classes that extend
Wicket's default implementations. Have you considered simply creating
a JIRA and attaching a patch that would add these methods to the
default WicketTester and FormTester? This would allow your work to
reach a broader
now that it has been out in the wild under GPL i am not sure it is as
simple as that...
-igor
On Wed, Aug 5, 2009 at 8:06 AM, Jeremy
Thomersonjer...@wickettraining.com wrote:
Paul,
It looks like the entire project is simply two classes that extend
Wicket's default implementations. Have you
As long as the original author submits it under the ASL 2.0 [0], no
problemo (make sure the source files include the Apache License
boilerplate header [1]).
Even better if Paul sends in a ICLA [2], to ensure we have a
documented right to redistribute his patches under the Apache License.
Martijn
WOW... Thanks Igor and the rest of you for all the responses. I was pretty
burnt last night when I finally discovered that probably several of the the
myriad of approaches I went through to simply center a date picker worked
but because Firefox was caching my first failed attempt I wasn't seeing
I'm trying to get Wicket working with the method-level security support in
Spring (Acegi) Security. I've got the integration working up to a point
having followed these articles:
- http://forum.springsource.org/showthread.php?t=67974
-
Short version:
What's the right way to View Model lists of Hibernate data that
are not Entities (@CollectionsOfElements) and already loaded via
an Entity?
What if they are Entities, but are already loaded via another Entity
(@OneToMany)?
Long version:
Absorbing the mantra ListView is bad for
to start: the core problem is how does wicket identify which row you
clicked in a listview? the url contains the component path of the link
you clicked. a listview item only keeps the index of the element in
the list, so when you click that link the sequence is
Hi,
I use the modal window (with a component). But unfortunately white is
used as background color. This is definied in model.css:164
div.wicket-modal div.w_content {
width: 100%;
background-color: white;
}
I tried to override that, but since the modal.css is added after my own
From the top of my head:
throw new RedirectToInterceptPage
redirectToOriginalDestination()
Martijn
On Wed, Aug 5, 2009 at 6:24 PM, Andrew Easterandrew.eas...@gmail.com wrote:
I'm trying to get Wicket working with the method-level security support in
Spring (Acegi) Security. I've got the
You can use !important in your override css.
-Matej
On Wed, Aug 5, 2009 at 9:06 PM, Johannes
Schneidermaili...@cedarsoft.com wrote:
Hi,
I use the modal window (with a component). But unfortunately white is
used as background color. This is definied in model.css:164
div.wicket-modal
Hi all,
I have a problem with the Palette component:
I'm using a palette with a model populated by an EJB entity, and I want it
to show the correct selection status when it is displayed.
I mean that when the 'edit' button is clicked on a user, the current 'event'
that s\he has selected is shown
In
As many of our guests enjoy their hard-won summer holidays, we will hold our next London Wicket Event on October 7th (dates/location/presentation TBC here soon).
In the meantime, for those of you who may be about to experience withdrawal symptoms missing our apres-Wicket refreshments, we're
I think the HTML validator is not too well suited for unit tests in
combination with WicketTester: their scope is different. That said,
you can let WicketTester write the rendered HTML to files, and
validate those files in a separate test, using the HTML validator
stand-alone (not as a markup
With the well-suitedness I mean that the XHTML validator markup filter
is intended for interactive feedback, and WicketTester should be as
autonomous as possible, requiring no interaction at all.
Martijn
On Wed, Aug 5, 2009 at 9:28 PM, Martijn
Dashorstmartijn.dasho...@gmail.com wrote:
I think
Are there any plans to improve the current ImageMap implementation? My
problems are:
1. The rendered HTML ist no valid XHTML.
2. The constructor does not support a ResourceReference for the image
3. I can't see a way to control the area tags (e.g. add style, class
or alt attributes).
Stefan
https://issues.apache.org/jira/browse/WICKET-1936
On Wed, Aug 5, 2009 at 4:13 PM, Stefan Lindnerlind...@visionet.de wrote:
Are there any plans to improve the current ImageMap implementation? My
problems are:
1. The rendered HTML ist no valid XHTML.
2. The constructor does not support a
Thanks very much. I have some follow up questions below, please
On Wed, Aug 5, 2009 at 2:22 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
to start: the core problem is how does wicket identify which row you
clicked in a listview? the url contains the component path of the link
you
Hello, I am learning Wicket now and feel a bit confused by the new concepts in
Wicket regarding how they work together and in what order.
The big concepts I am talking about include:
Application
Session
Request
RequestCycle
RequestCycleProcessor
RequestTarget
SessionStore
Request
Response
Ah! Thank you. But I can't see a way to control the rendering of the area tag.
Are there planst o support this?
Stefan
-Ursprüngliche Nachricht-
Von: James Carman [mailto:jcar...@carmanconsulting.com]
Gesendet: Mittwoch, 5. August 2009 22:26
An: users@wicket.apache.org
Betreff: Re:
The area tag is controlled by the AbstractLink that you attach to it.
So, if you put an AttributeModifier on it, it'll modify the area.
On Wed, Aug 5, 2009 at 4:46 PM, Stefan Lindnerlind...@visionet.de wrote:
Ah! Thank you. But I can't see a way to control the rendering of the area
tag. Are
Welcome to Wicket! The best thing you can do is buy Wicket in Action.
It has charts that show the interactions between these various
components.
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Aug 5, 2009 at 3:41 PM, David Changdavid_q_zh...@yahoo.com wrote:
Hello, I am learning
On Wed, Aug 5, 2009 at 1:34 PM, Troy Caubletroycau...@gmail.com wrote:
Thanks very much. I have some follow up questions below, please
On Wed, Aug 5, 2009 at 2:22 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
to start: the core problem is how does wicket identify which row you
clicked
Jeremy, I bought and read that book already. I have a good understanding of the
technology now, but still feel lack of precise understanding of them.
Cheers!
--- On Wed, 8/5/09, Jeremy Thomerson jer...@wickettraining.com wrote:
From: Jeremy Thomerson jer...@wickettraining.com
Subject: Re:
step 1) go to http://www.google.com
step 2) in text box type wicket lifecycle without the quotes
step 3) hit i am feeling lucky button
-igor
On Wed, Aug 5, 2009 at 1:56 PM, David Changdavid_q_zh...@yahoo.com wrote:
Jeremy, I bought and read that book already. I have a good understanding of
Thanks! Worked...
But if anyone reads this - I think that could/should be improved in the
ModalWindow...
Regards,
Johannes
Matej Knopp wrote:
You can use !important in your override css.
-Matej
On Wed, Aug 5, 2009 at 9:06 PM, Johannes
Schneidermaili...@cedarsoft.com wrote:
Hi,
I
What is there to improve? You can set modal window custom CSS class
and style it from scratch. Or you can override properties of the
standard stylesheet.
-Matej
On Wed, Aug 5, 2009 at 11:12 PM, Johannes
Schneidermaili...@cedarsoft.com wrote:
Thanks! Worked...
But if anyone reads this - I
I need to define couple of URLs in my app that return JSON data on GET
request and are not tied to any view. Planning to use
QueryStringUrlCodingStrategy and append the URL as
type=runlogschart=barchart. Then in the WebPage, extract the query
string and process them.
How do I ensure that JSON
Igor, thanks for the tip. I read that wiki page The Life-Cycle of a Wicket
Application. The page has useful info but it is still lacking. It does not
mention RequestCycleProcessor, RequestTarget, or Response objects. Can any
Wicket expert update this page?
Have a better understanding now but
The best way for you to see how each of those things gets involved is
to create the basic page that you mentioned - with a label. Then set
a debug point in your editor in the WicketFilter's doFilter method and
step through. Or, go the opposite way - set a couple debug points in
Label (i.e.
Why would you use wicket for this? The simplest approach is a plain servlet..
Alex Objelean
arungupta wrote:
I need to define couple of URLs in my app that return JSON data on GET
request and are not tied to any view. Planning to use
QueryStringUrlCodingStrategy and append the URL as
I think that if you search the mailing list archives, there are a
couple examples of this. I know that there was an email from Bruno
Borges about creating a REST API with Wicket around last November.
The pointers that were brought out in that thread would be very useful
to you.
Basically, mount
and when you do figure it out dont forget to take the time to update
that lacking wiki page.
-igor
On Wed, Aug 5, 2009 at 2:35 PM, Jeremy
Thomersonjer...@wickettraining.com wrote:
The best way for you to see how each of those things gets involved is
to create the basic page that you mentioned
Some background ...
I'm trying to build a sample application using different Web frameworks and
Wicket is one of them. More details at:
http://kenai.com/projects/runner/pages/Home
Regarding pure Servlet approach, I agree and that's what I'm going to do
when I built my sample application using a
Jeremy, thanks for the good tip. It makes sense, though not the best way. The
more I read about Wicket, the more I like it:-) Just hope to know every detail.
Wicket is a great tool but learning curve is tall.
--- On Wed, 8/5/09, Jeremy Thomerson jer...@wickettraining.com wrote:
From:
Hi,
I've got a panel with an AjaxEditableMultiLineLabel. When a user input a
large text in it (more than 8 000 or 10 000 caracters) nothing happen. The
textarea remains in edit mode.
No javascript error is raised, but when I look in the ajax debug console,
here's what I got :
INFO:
will do. thanks!
--- On Wed, 8/5/09, Igor Vaynberg igor.vaynb...@gmail.com wrote:
From: Igor Vaynberg igor.vaynb...@gmail.com
Subject: Re: How Wicket's big concepts/objects work together and in what
order?
To: users@wicket.apache.org
Date: Wednesday, August 5, 2009, 5:37 PM
and when you
I have a Form on my page that has amongst others 3 fields: zipcode,
city, and state. I would like it when the user enters data in the
zipcode field, an ajax request be generated to lookup and populate the
city and state fields in the form. However, I don't want the underlying
model (an
why is it even with Wicket?
Wicket is for building UIs, is json a UI? no. use a servlet.
-igor
On Wed, Aug 5, 2009 at 2:41 PM, arunguptaarun.gu...@gmail.com wrote:
Some background ...
I'm trying to build a sample application using different Web frameworks and
Wicket is one of them. More
the simplest way is to use javascript to set the values on the textfields
-igor
On Wed, Aug 5, 2009 at 3:07 PM, Steve Loweryslow...@gatessolutions.com wrote:
I have a Form on my page that has amongst others 3 fields: zipcode,
city, and state. I would like it when the user enters data in the
yes please do. i am going to guess that this is happening because
those characters are sent back on the url via a GET, we should switch
the label to use a POST instead. it was never intended for such large
text blocks.
patch is welcome also :)
-igor
On Wed, Aug 5, 2009 at 2:46 PM,
Hi all,
Since I've seen many great answers on this list it's time to ask one of my
questions ;-)
The thing that strikes me as odd is how hard it is right now to handle file
uploads and respond as if it were an AJAX request.
I've built (based on various sources) a solution which uses a Panel
That's a good point, so I guess I'll use a standard Servlet which seems to be
the right thing to do anyway. Seems like adding BookmarkablePage will
complicate things and I prefer KISS :)
Thanks,
-Arun
igor.vaynberg wrote:
why is it even with Wicket?
Wicket is for building UIs, is json a
also your learning point: # Edit/Save/Deploy/Refresh cycle is time
consuming is completely wrong.
if you wouldve used the quickstart you wouldve gotten the Start class.
you can use this to launch your app with an embedded jetty container.
as long as wicket is in development mode you get markup
Thanks!
I saw the article on RESTful URLs with Wicket and using it for a different
purpose. But as Igor said, I'll use Servlet for serving my JSON and then use
them to create the UI in Wicket.
-Arun
http://java.dzone.com/news/wicket-creating-restful-urls
jthomerson wrote:
I think that if
well, its complex because you have to hack this in, browser's built in
ajax support doesnt handle multipart requests yet.
sounds like you are overcomplicating it by prerendering the iframe in
the output. i think it would be easier to create the iframe on the fly
via javascript, and give it
Thanks for the tip!
I'm indeed using jetty:run and that surely speeds up the cycle. It's good to
know that markup/property files are reloaded live as well, should've thought
about it :)
-Arun
igor.vaynberg wrote:
also your learning point: # Edit/Save/Deploy/Refresh cycle is time
Igor,
First off: thanks for the amazingly fast response!
Yes, it feels like I'm overcomplicating things. But then again: there does
not seem to be an easy way.
An upload + AJAX refresh always needs 2 requests, which means (for me) that
I need to preserve the upload somewhere between those
i dont think jetty:run will get you class reloading - which means any
time you modify a java file it has to restart the app - annoying.
besides, how do you use a debugger?
much easier to just right click Start and select debug as a java application
my two cents
-igor
On Wed, Aug 5, 2009 at
Ok, thanks for the tip.
Looks like all I needed was to call modelChanged() directly on the
TextField.
Cheers,
=David
On Aug 5, 2009, at 10:21 PM, Craig McIlwee wrote:
If a FormComponent has raw input (FormComponent.hasRawInput() ==
true) then it will use that value when rendering
Then I'm not understanding your original point. Is jetty:run not the embedded
Jetty ?
How do I use the Start class ?
I agree about the debugging part. Which IDE is preferred by the Wicket
community ?
-Arun
igor.vaynberg wrote:
i dont think jetty:run will get you class reloading - which
As a new user, I am not sure I understand, I need to setup
@requireHTTPS to work and I have the following Code:
What am I doing wrong? I have Wicket 1.4.0
error SecureRequestCycleProcessor cannot be resolved to a type
package com.test.sslstuff2;
import
i've done this with php and ajax. the form posts, using target, to a hidden
iframe. the response rendered back to the iframe is javascript. The only thing
the iframe renders is javascript.
In your page you have javascript functions for the onSuccess() or onFailure()
that are specific to
If you used the quickstart to get your project going, you have a file
called Start.java. From your IDE, just run Start.java in debug mode
and you will get automatic class reloading, etc. If you didn't use
the quickstart, then create a quickstart and copy that file out of it.
Modify it to fit
JIRA open : http://issues.apache.org/jira/browse/WICKET-2419
http://issues.apache.org/jira/browse/WICKET-2419
You mean changing wicketAjaxGet by wicketAjaxPost for the saveCall on
the onblur event?
And yes, users always find a way to use components the way they were not
supposed to be used...
On Wed, Aug 5, 2009 at 4:10 PM, Bas Goorenb...@iswd.nl wrote:
Igor,
First off: thanks for the amazingly fast response!
Yes, it feels like I'm overcomplicating things. But then again: there does
not seem to be an easy way.
An upload + AJAX refresh always needs 2 requests, which means (for
On Wed, Aug 5, 2009 at 4:10 PM, Bas Goorenb...@iswd.nl wrote:
One of the working components I built using IFRAMEs is actually not that
complex (400 LOC),
i just wrote something that is about 30 lines of javascript that does
this. only works in firefox so far. see WICKET-2420.
-igor
On Wed, Aug 5, 2009 at 6:43 PM, TahitianGabrielglan...@piti.pf wrote:
JIRA open : http://issues.apache.org/jira/browse/WICKET-2419
http://issues.apache.org/jira/browse/WICKET-2419
You mean changing wicketAjaxGet by wicketAjaxPost for the saveCall on
the onblur event?
yes
-igor
And yes,
Interesting, it looks like you simply POST the form to the AJAX url using an
IFRAME.
How does it work server-side? I would expect that it does not work, since
the form action no longer contains it's usual value, and the new form action
points directly to an interface (IBehaviorListener).
But
yes, the form action is rewritten to the behavior url. the behavior
url processes the form the same way it does when an ajax request is
used, but because we do not use an ajax request the form contains its
multipart data.
i tested it on a small example and it works like a charm save
javascript
Ok, that's how I understood as well.
But jetty:run is good for the first feel of app, right ?
-Arun
jthomerson wrote:
If you used the quickstart to get your project going, you have a file
called Start.java. From your IDE, just run Start.java in debug mode
and you will get automatic
Sure - or deploying quickly to a test server, etc (although it depends
on you keeping the console open).
--
Jeremy Thomerson
http://www.wickettraining.com
On Wed, Aug 5, 2009 at 11:13 PM, arunguptaarun.gu...@gmail.com wrote:
Ok, that's how I understood as well.
But jetty:run is good for
I guess you've checked that selectedEvents is not empty?
If it's not, I think you should check your model representing the choices.
BTW,
AFAIK, the selected choices should be a subset of the 'all available'.
Please corect me if i'm wrong.
Eyal Golan
egola...@gmail.com
Visit:
88 matches
Mail list logo