Should be the same thing..
2010/1/26 Douglas Ferguson doug...@douglasferguson.us
I'm using modjk.
On Jan 25, 2010, at 4:05 PM, Jeremy Thomerson wrote:
How are you frontending Tomcat with Apache? If it's by proxying, you may
just be able to configure it to do the gzip for you on
Just figured out how to do UnitTesting with Spring 3 and Wicket.
Spring 3 introduced a check to see if a given context was a
WebApplicationContext. That means ApplicationContextMock is not suitable for
testing (giving the infamous No WebApplicationContext found: no
ContextLoaderListener
Is there any way to make the AjaxSelfUpdatingTimerBehavior execute X
number of times and then stop until a page refresh/reload?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
You can override getPreconditionScript method to test an counter value on
document object. When you refresh the page, you got a new document.
On Tue, Jan 26, 2010 at 10:05 AM, Sam Barrow s...@sambarrow.com wrote:
Is there any way to make the AjaxSelfUpdatingTimerBehavior execute X
number of
Please add this to http://cwiki.apache.org/WICKET/spring.html
On Tue, 2010-01-26 at 11:48 +0100, Jochen Mader wrote:
Just figured out how to do UnitTesting with Spring 3 and Wicket.
Spring 3 introduced a check to see if a given context was a
WebApplicationContext. That means
looks as it has been solved here:
http://stackoverflow.com/questions/2114351/dynamically-add-components-to-listview-in-wicket/
bert
On Sun, Jan 24, 2010 at 13:04, Sven Meier s...@meiers.net wrote:
Hi,
you'll have to tell the request target which components to redraw:
Put your list inside a
Yes, in this example when it comes to closing the second modal from the 'x'
button the callback returns false obviously. When it does not, everything gets
messed up and middle modal gets 'page expired'. How can I close the second
modal and get back to middle modal with no obstacles like these?
Here's the code:
first modal:
public class DisplayEventsPage extends WebPage implements RepeaterHoldingPage {
public DisplayEventsPage(final ModalWindow parent) {
ModalWindow dialog = new ModalWindow(modal);
AjaxLinkString entryRemovalLink = new
Hello,
My page displays a list of items, for each of them, an icon is available
to delete it. The action is managed in a Link.onClick() method.
When I click on the link, the page is refreshed but the item is always
in my list, I have to do refresh again manually the page to have a list
You're probably not using models correctly - specifically for your list
view. You could post some code, but make sure that you're reloading the
data for the list view after the onClick is called and the item is deleted.
--
Jeremy Thomerson
http://www.wickettraining.com
On Tue, Jan 26, 2010 at
http://ananthakumaran.github.com/imagebundler-wicket
I was wondering why would wicket need Duration class as long as java
provides a similar TimeUnit. Maybe it would be a good idea to deprecate this
class encourage usage of TimeUnit?
Alex Objelean
Please find my code just below :
public class NewsListPage {
protected static transient NewsDao myNewsDao;
public NewsListPage() {
PageableListViewNews news =
new PageableListViewNews(list, new NewsModel(), 15){
@Override
protected void
Please, can someone help me with this?
Thanks again!
Regards,
Martin
-Original Message-
From: Martin Asenov [mailto:mase...@velti.com]
Sent: Tuesday, January 26, 2010 4:17 PM
To: users@wicket.apache.org
Subject: RE: modal window contained and displayed by another modal window
Here's
Hi all,
I tried to use the getValidatorKeyPrefix() feature to have a more suitable
translation key for a RequiredTextField and the required message.
But Wicket wasn't able to find my key : the debug log said that it couldn't
find my key whereas it is well-formed (getValidatorKeyPrefix() +
Just making the example more clear:
add(new WebMarkupContainer(bodyId) {
@Override
public boolean isTransparentResolver() {
return true;
}
@Override
protected void onComponentTag(final ComponentTag tag) {
super.onComponentTag(tag);
I have basically concentrated on the CometD Service
This should be a simple bug to fix.
On Fri, Jan 22, 2010 at 10:34 AM, Roland Vares roland.va...@uptime.eewrote:
Hello,
I'm currently developing wicket based application, which displays alarms on
map and allows their modification.
New
Very cool Anantha, do you have a site online that uses the bundler that we
could take a peek at as a running example?
On Tue, Jan 26, 2010 at 7:42 AM, Anantha Kumaran
ananthakuma...@gmail.comwrote:
http://ananthakumaran.github.com/imagebundler-wicket
Stephane,
I'll let someone smarter than me address the wicket issue of removing the
item from the ListView and seeing if that helps -- but is there a chance you
are using Hibernate and the Level 2 ehcache plugin or any 2nd-level caching
with your persistence code? I ask because I've seen code
Hi,
I don't use Hibernate. My persistence layer uses JDBC.
What is strange when I click the delete link, it's the logs order :
Loading all news
News deleted
So it seems that the deletion is done after the data reload :(
Stéphane
Riyad Kalla a écrit :
Stephane,
I'll let someone smarter
java.util.concurrent.TimeUnit only covers units from nanos to seconds
(in java 1.5, that is)
So before wicket moves to java 1.6 we probably have a 'no go' here...
On Tue, Jan 26, 2010 at 3:42 PM, Objelean Alex alex.objel...@gmail.com wrote:
I was wondering why would wicket need Duration class as
Call news.getDefaultModel().detach(), and look for more info about
detachable models.
http://cwiki.apache.org/WICKET/detachable-models.html
On Tue, Jan 26, 2010 at 1:35 PM, Stéphane Jeanjean
stephane.jeanj...@softeam.com wrote:
Hi,
I don't use Hibernate. My persistence layer uses JDBC.
Hej,
2010/1/26 Objelean Alex alex.objel...@gmail.com:
I was wondering why would wicket need Duration class as long as java
provides a similar TimeUnit. Maybe it would be a good idea to deprecate this
class encourage usage of TimeUnit?
If I am correct TimeUnit doesn't store a duration, it is
missing line: call detach method just after delete your item.
On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos pedros...@gmail.com wrote:
Call news.getDefaultModel().detach(), and look for more info about
detachable models.
http://cwiki.apache.org/WICKET/detachable-models.html
On Tue, Jan 26,
The behaviour is the same with the following code :(
public void onClick() {
// TODO : check the refresh issue
getNewsDao().delete(item.getModelObject());
ourLogger.debug(News deleted);
by calling getDefaultModel inside onClick, you get an reference to the link
component model. You need to detach the model on your list view. You has an
reference to it on your variable news. So: news.getDefaultModel().detach()
If you need, you can change that variable modifiers or turn it an
Thanks Pedro, it's ok now ;-)
I use LoadableDetachableModel to avoid the call to detach() method. It
does not seem that is the right way. Somebody can explain me why ?
Stéphane
Pedro Santos a écrit :
by calling getDefaultModel inside onClick, you get an reference to the link
component
i will try to put it in the google appspot later. Here is the source code of
a sample http://github.com/ananthakumaran/imagebundler-wicket
On Tue, Jan 26, 2010 at 7:20 AM, Riyad Kalla rka...@gmail.com wrote:
Very cool Anantha, do you have a site online that uses the bundler that we
could take
This is very very cool.
Congrats Anantha!
On Jan 26, 2010, at 9:07 AM, Anantha Kumaran wrote:
i will try to put it in the google appspot later. Here is the source code of
a sample http://github.com/ananthakumaran/imagebundler-wicket
On Tue, Jan 26, 2010 at 7:20 AM, Riyad Kalla
I am trying to figure out how I could add a busy indicator to my wizard
so that when transitioning between steps the busy indicator appears.
The transition between steps in my wizard may take a long time.
1.How could this be done with just Wicket?
2. How could this be done
Hi!
You do not need Wicket to make a busy indicator. It's plain HTML + JavaScript.
The only thing about wicket that is relevant is that you want to
remove the busy indicator after ajax-request has been processed.
Here is an example:
Hello,
I have a modal window that is used to create a contact and needs to submit
data to the server once submit button is called.
The submit button is defined as follows:
button wicket:id=contact_submitbutton type=submitSUBMIT/button
contact_form.add(new Button(contact_submitbutton).add(new
Do you have an feedback panel on the model? If don't, add one and see if
your form don't pass in some validation like on required field.
On Tue, Jan 26, 2010 at 4:07 PM, Anna Simbirtsev asimbirt...@gmail.comwrote:
Hello,
I have a modal window that is used to create a contact and needs to
I have, but maybe its incorrect.
div wicket:id=popup_feedback id=popup_feedback/div
contact_form.add(new FeedbackPanel(popup_feedback, new
ContainerFeedbackMessageFilter(contact_form) ));
On Tue, Jan 26, 2010 at 1:32 PM, Pedro Santos pedros...@gmail.com wrote:
Do you have an feedback panel on
Take a look at the AjaxButton if you need an asynchronous submit, and
implement your onError handlers with:
target.addComponent( myFeedbackPanelThatMabyWillShowSomeMessageIfGetUpdated
);
On Tue, Jan 26, 2010 at 4:34 PM, Anna Simbirtsev asimbirt...@gmail.comwrote:
I have, but maybe its
Thanks, now in my feedback it displays errors that all required fields are
empty. But the problem is, that even if I put the values in those fields it
still does not see them and gives the same errors in the feedback panel.
On Tue, Jan 26, 2010 at 1:41 PM, Pedro Santos pedros...@gmail.com wrote:
Even using AjaxButton? Can you send the code?
On Tue, Jan 26, 2010 at 4:55 PM, Anna Simbirtsev asimbirt...@gmail.comwrote:
Thanks, now in my feedback it displays errors that all required fields are
empty. But the problem is, that even if I put the values in those fields it
still does not see
Martin,
Thanks. That should do it. I should be able to use Jquery instead using the
functions provided.
-Original Message-
From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
Sent: Tuesday, January 26, 2010 12:40 PM
To: users@wicket.apache.org
Subject: Re: Wizard busy
Seems weird to me as well that 'detach' has to be explicitly called. Also
still curious why Stephane was seeing the log ordering he did when the link
was clicked:
Loading all news
News deleted
I'd expect to see news deleted first, from his onClick handler then the
Doesn't it have to load the model so that it knows what item it's talking to?
On Tue, Jan 26, 2010 at 2:12 PM, Riyad Kalla rka...@gmail.com wrote:
Seems weird to me as well that 'detach' has to be explicitly called. Also
still curious why Stephane was seeing the log ordering he did when the
Ok, thanks for the quickstart.
I just submitted the fix to svn...
On Tue, Jan 19, 2010 at 2:38 AM, vineet semwal
vineetsemwal1...@gmail.comwrote:
thanks,
i will take a look at them.
On Mon, Jan 18, 2010 at 9:32 PM, Rodolfo Hansen kry...@gmail.com wrote:
On Fri, Jan 15, 2010 at 5:24 AM,
Do the comments in the inspiration design document about localization
also apply to your Wicket ImageBundle implementation? If Wicket's
built in image handling functions as a locale-specific factory does
image localization work as expected with bundles?
Ed.
On Tue, Jan 26, 2010 at 12:23 PM,
I changed it to use AjaxButton instead of AjaxFormSubmitBehavior and it
still does not see the values.
div class=submitareainput type=button
wicket:id=contact_submitbutton class=button/SUBMIT/div
FeedbackPanel contact_feedback = new FeedbackPanel(popup_feedback, new
TimeUnit is icky and storing time values in primitive types is a bad idea.
Alexandru Objelean wrote:
I was wondering why would wicket need Duration class as long as java
provides a similar TimeUnit. Maybe it would be a good idea to deprecate
this
class encourage usage of TimeUnit?
All data in Java is ultimately stored as some sort of primitive type.
On Tue, Jan 26, 2010 at 2:55 PM, Jonathan Locke
jonathan.lo...@gmail.com wrote:
TimeUnit is icky and storing time values in primitive types is a bad idea.
Alexandru Objelean wrote:
I was wondering why would wicket need
I have to add that its all done inside a modal window.
div class=addicon img src=images/add-ico.gif border=0nbsp;a
href=#a
href=#TB_inline?height=605amp;width=820amp;inlineId=CreateContactContentamp;modal=true
title= class=thickboxCreate Contact/a/a/div
On Tue, Jan 26, 2010 at 2:26 PM, Anna
Try now...
To me, the push service is overly complicated, and you could easily get away
with simply using Wicket's AjaxTimeoutBehavior as there are no technical
advantages over the later.
The comet version of push offers a couple of serious advantages for the
server, and client side. Why can't
Looks cool - but rather than generating a static string, why don't you
generate a string that includes a call to urlFor(Class, imageName) so that
you can allow for internationalization? (Wicket will generate the proper
internationalized URL for you this way)...
--
Jeremy Thomerson
i thought they were all stored as electrons
-igor
On Tue, Jan 26, 2010 at 12:00 PM, James Carman
jcar...@carmanconsulting.com wrote:
All data in Java is ultimately stored as some sort of primitive type.
On Tue, Jan 26, 2010 at 2:55 PM, Jonathan Locke
jonathan.lo...@gmail.com wrote:
Yes - James is right here - it's a loadable detachable model - so it needs
to load the data in order to repopulate the list before deleting the item.
My guess is either you need to call the detach so that on the re-render it
gets reloaded, or you need to make sure your delete is being committed
... touche? :)
On Tue, Jan 26, 2010 at 2:00 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
i thought they were all stored as electrons
-igor
On Tue, Jan 26, 2010 at 12:00 PM, James Carman
jcar...@carmanconsulting.com wrote:
All data in Java is ultimately stored as some sort of
Yeah - and although I haven't confirmed it myself, I have been told that all
dates are actually stored as 0's and 1's - and that must be why there was
such a fuss in 2000 - too many zeroes and not enough ones - or something
like that.
:)
--
Jeremy Thomerson
http://www.wickettraining.com
On
There is a difference between
MILLISECONDS.toSeconds(duration) and duration.toSeconds()
As for all data being stored as primitives, sometimes being able to
access it on higher level can be kinda nice...
-Matej
On Tue, Jan 26, 2010 at 9:00 PM, James Carman
jcar...@carmanconsulting.com wrote:
I was misinformed. I stand corrected! :)
On Tue, Jan 26, 2010 at 4:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
i thought they were all stored as electrons
-igor
On Tue, Jan 26, 2010 at 12:00 PM, James Carman
jcar...@carmanconsulting.com wrote:
All data in Java is ultimately
Or, call detach(), then call modelChanged()?
On Tue, Jan 26, 2010 at 4:02 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Yes - James is right here - it's a loadable detachable model - so it needs
to load the data in order to repopulate the list before deleting the item.
My guess is
Hello,
I have a page that I dynamically add components to using a repeating
view. At some point in the process, my components are rendered off the
visible browser page.
Is there a slick way in Wicket to ensure that a component dynamically
added to a repeating view is in view on the page?
Just ran across another base64-based method of spriting images that
Cappuccino is using:
http://cappuccino.org/discuss/2009/11/11/just-one-file-with-cappuccino-0-8
pretty interesting and supports back to IE6. Just wanted to share incase
anyone else reading on this subject was curious about other
I am trying to retrieve wicketstuff-core from repository and am getting
the following Missing artifact.
Missing artifact org.wicketstuff:wicketstuff-core:jar:1.4.2-SNAPSHOT:compile
my pom
...
repository
idwicket-snaps/id
urlhttp://wicketstuff.org/maven/repository/url
You could just have the ModalWindow's contents be set in the onClick of the
button that shows the window.
Then you know if the checkbox has been checked or not and you can add in the
appropriate panel, then just show the window.
In my app I have any number of modal windows that might show
What part of wicketstuff do you want to use in your project? The
wicketstuff-core artifact is not a JAR artifact. You have to specify the
actual JAR you need, like annotation, for example:
dependency
groupIdorg.wicketstuff/groupId
artifactIdannotation/artifactId
wicketstuff-minis
I found it:
dependency
groupIdorg.wicketstuff/groupId
artifactIdminis/artifactId
version1.4.1/version
/dependency
Thanks
mbrictson wrote:
What part of wicketstuff do you want to use in your project? The
wicketstuff-core artifact is not a JAR
Why not use Spring's StaticWebApplicationContext?
StaticWebApplicationContext ctx = new StaticWebApplicationContext();
ctx.getBeanFactory().registerSingleton(serviceOfDoom, mock);
Thanks for the Reply. I will look into it.
On Tue, Jan 26, 2010 at 12:59 PM, Jeremy Thomerson
jer...@wickettraining.com wrote:
Looks cool - but rather than generating a static string, why don't you
generate a string that includes a call to urlFor(Class, imageName) so that
you can allow for
For anybody who's interested, I got this to work by just
calling form.textField.setModelValue(new String[]{});
I had to make the fields member vars of the form, though.
If there's another cleaner way of doing it, I'd appreciate seeing it.
Flavius wrote:
I have a panel with a form on it.
You should only need access to the Model on the Form, which you would set to
empty, and then you have two options
1. Get access to the TextField so you can repaint it with AjaxRequestTarget
2. Use FormComponent's IVisitor pattern to visit everything in that form to
repaint
On Jan 26, 2010, at
You could just have the ModalWindow's contents be set in the onClick
of
the button that shows the window.
That's how I'm opening them but that's not the problem. The problem is
once I have a ModalWindow open I want to switch the contents without the
'flicker' of shutting down the ModalWindow
Hi!
That's how I'm opening them but that's not the problem. The problem is
once I have a ModalWindow open I want to switch the contents without the
'flicker' of shutting down the ModalWindow and opening up another one.
For us we have done it just by replacing the content panel:
Hi!
Actually no, we did not use setContent but we used
modalWindow.replace(newContent);
**
Martin
2010/1/27 Martin Makundi martin.maku...@koodaripalvelut.com:
Hi!
That's how I'm opening them but that's not the problem. The problem is
once I have a ModalWindow open I want to switch the
1.4.5
In window with list, I call modal window
(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow)
with my edit window (extends org.apache.wicket.markup.html.WebPage with
WebSession.get().createAutoPageMap()).
This edit window contains some link, wich also create modal window
Ah I thought the 'create new account' check box was on the parent page and
checked before the Window was opened. But its in the window itself. Right so
you want to replace a panel in the page. In that case:
I do this as well as I have a form in my ModalWindow that allows a user to
confirm an
Agree with Huake Ingmar. The functionality doesn't overlap at all. My
main reason for wanting the plugin to work is to switch easily between
the html and the java code for the same component. In a maven project
this is particular a hassle because the java code is in packages under
/src/main/java
I ended up creating an AjaxTabbedPanel inside the modal and let the
users switch between Sign in and Create account by choosing the
appropriate tab.
It actually a fairly reasonable solution.
I had tried the modalWindow.replace(newContent); idea but that didn't
work either for some reason.
I had not heard of wicket bench before reading this email thread. So, I
installed it and found that it doesn't play well with 'myeclipse'; not sure
where the fault lies. So I just don't use it as a default editor. I do
like some of the features. If you just want to switch between java and html
On Tue, Jan 26, 2010 at 10:00 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
i thought they were all stored as electrons
My vote goes to Umpalumpa's shifting miniature pumpkins on scales
Martijn
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4
74 matches
Mail list logo