Hi,
now that all is looking fine I'm observing a strange behaviuor.
The same method, to 'check/uncheck' all from a button,
public void modifyAllCheckBoxes(final boolean select) {
visitChildren(CheckBox.class, new IVisitor() {
@Override
public Object component(Compon
Sweet!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Big-Brazilian-e-Stores-using-Wicket-tp3539473p3539633.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
class specialpanel extends feedbackpanel implements iheadercontributor {
abstractdefaultajaxbehavior callback;
public specialpanel() {
callback=new abstractdefaultajaxbehavior() {
getCallbackUrl(boolean active) {
return super.getCallbackUrl+"&message='+message+''";
You could override the variablesMap() method to add in your values that the
message in the properties file contains:
Similar to the message: '${input}' isn't a valid widget.
-Clint
On Fri, May 20, 2011 at 2:34 PM, eugenebalt wrote:
> In the Validators we override the method getResourceKey() t
I've come to know that these websites are using Wicket on their mainstream
apps (not just intranet stuff):
- www.americanas.com.br (go to this specific URL:
https://carrinho.nova.americanas.com.br/CustomerWeb/pages/Login and look at
the source for 'wicket')
- www.submarino.com.br
- www.shoptime.c
How can I change the order (priority) of validator messages?
I have a Form-level validator and 3 Component-level validators. The
Form-level one is coming up on the bottom. I need to make it display first.
I tried adding the Form after adding the validator on the Page, but that's
not working.
Th
In the Validators we override the method getResourceKey() to get a message
from .properties.
My problem is, my error message includes the value of a component on the
form. So I only know the full message AFTER I get to onValidate().
How can I construct the message string here? Is there a way to p
Hi Ayodeji,
The book is not an introduction to Wicket. It's for current users of Wicket.
I can personally say its a really good book and I wish it was published 5
months ago, at the beginning of my pet project.
you can find it in https://www.packtpub.com/ in hardcopy or electronic copy.
Amazon sell
Working now, disregard. The HiddenField route works for saving the user's
input, I had a small mistake.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Setting-the-value-of-a-HiddenField-from-JavaScript-tp3539234p3539264.html
Sent from the Users forum mailing list arch
Hi,
As was posted before, the FileUploadField resets its model on Submit. We
lose the user's input.
I need to save the user's input because, in case the file doesn't exist, the
error message has to mention it by name: "File [XYZ] does not exist."
In JavaScript, I can easily get the user's input.
Is Wicket cookbook the most comprehensive wicket book around? Is it available
in hard copy too?
Sent via my BlackBerry Device from MTN
-Original Message-
From: Andrea Del Bene
Date: Fri, 20 May 2011 18:08:06
To:
Reply-To: users@wicket.apache.org
Subject: Re: Wicket Cookbook - preventi
Sorry, but can someone help? This is pretty urgent.
I like the 2nd idea, it looks easier to implement. I need to issue an AJAX
request for the FeedbackPanel inside of JavaScript. The only thing is, I
haven't used AJAX by itself. Thanks
--
View this message in context:
http://apache-wicket.184294
Hi Andrea,
That's correct, I move back from the view person panel to the create person
one with browser 'back' button.
Many thanks,
Lucas
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Cookbook-preventing-multiple-form-submits-tp3535159p3539086.html
Sent from
Thanks, which one is easier?
Are there any examples of how this would be done?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Set-FeedbackPanel-with-Error-from-JavaScript-tp3536164p3538940.html
Sent from the Users forum mailing list archive at Nabble.com.
--
By the way, I gave for granted that you move back from the view person
panel to the create person one with browser 'back' button. Is it correct
or do you use a specific link or button?
Hi Andrea,
As you have suggested, on the SubmitOnceForm class, I've added two
variables, page reference and pag
Your welcome lucast!
Don't hesitate to post again if you need more help or some other tricks.
Hi Andrea,
As you have suggested, on the SubmitOnceForm class, I've added two
variables, page reference and page relative path,
on calling process I get the copy the values:
public void process
Never mind.
I just found the cometd web site and the following post:
http://cometd.org/documentation/2.x/howtos/servlet-containers
I added to my web.xml:
continuation
org.eclipse.jetty.continuation.ContinuationFilter
continuation
/cometd/*
and th
Not sure if any anyone else has experienced this.
On startup of my wicket app...I get the following messages:
I searched the web and nothing I found was conclusive.
Any help would be appreciated.
java.lang.IllegalStateException: STATE!=START
at
org.mortbay.jetty.AbstractGenerator.setVersion
I've just ordered a copy and already received the eBook ! :)
Thanks Igor !
Mihai
On 04/13/2011 07:43 PM, Igor Vaynberg wrote:
thanks! i am happy you are enjoying it!
-igor
On Wed, Apr 13, 2011 at 1:24 AM, lucast wrote:
Hi Igor,
Congratulations on your new book. I have already got a copy a
Hi Andrea,
As you have suggested, on the SubmitOnceForm class, I've added two
variables, page reference and page relative path,
on calling process I get the copy the values:
public void process(IFormSubmittingComponent submittingComponent)
{
pageReference = getPage()
OK, I found the problem : I used style.css instead of styles.css.
Now, .css and images folder are in the right place (next to BasePage.html in
the package) and they are in the class path.
Thanks to that configuration, when I tried, I had this warning message :
INFO - haredResourceRequestTarget - s
1. the images in .css should use relative urls to the .css file.
For beginning put .css and the images in the same folder and reference them
with url('someImage.png')
2. Did you move style(s).css in fr/statlife/protoE4N/ folder ?
If you use Wicket's resources then you should put the .css (and the
OK, I tried "/style.css" but it didn't work : style is apply but error page
is called (maybe for images used in style.css?)
So, I try to implement the other solution.
I found example on the wiki (
https://cwiki.apache.org/WICKET/including-css-resources.html). I try with
on basePage.ht
On Fri, May 20, 2011 at 11:48 AM, Mathilde Pellerin <
mathilde.pelle...@gmail.com> wrote:
> it was in the webapp folder, so I put it in the WEB-INF folder and I put
> images folder in the WEB-INF folder to, put the error page is still called.
>
> I don't understand what happen cause css styles are
sorry. it should be next to WEB-INF/, not inside it.
On Fri, May 20, 2011 at 11:48 AM, Mathilde Pellerin <
mathilde.pelle...@gmail.com> wrote:
> it was in the webapp folder, so I put it in the WEB-INF folder and I put
> images folder in the WEB-INF folder to, put the error page is still called.
>
it was in the webapp folder, so I put it in the WEB-INF folder and I put
images folder in the WEB-INF folder to, put the error page is still called.
I don't understand what happen cause css styles are visibly there in base
page and in extends pages.
this is my basePage head :
Prototype E4N
a
where is located styles.css in the file system ?
it should either be in WEB-INF/ folder or you should use
On Fri, May 20, 2011 at 11:27 AM, Mathilde Pellerin <
mathilde.pelle...@gmail.com> wrote:
> You are right again : when I remove the css file of ma BasePage, errorPage
> constructor is not ca
You are right again : when I remove the css file of ma BasePage, errorPage
constructor is not called.
So, what is the good practice to declare style css file when you use Markup
Inheritance?
I thougth that put the link :
in the head of basePage was enougth, but visibly not...
2011/5/20 Martin
You have a resource with broken url. Some css/js/image cannot be found.
On Fri, May 20, 2011 at 11:00 AM, Mathilde Pellerin <
mathilde.pelle...@gmail.com> wrote:
> thanks for your answer.
> You are right : the second call is not due to Accueil Page.
> In fact, I have an error404 page which is cal
thanks for your answer.
You are right : the second call is not due to Accueil Page.
In fact, I have an error404 page which is called when user try an url that
is not in the application. I don't know why, but the ErrorPage constructor
is called each time that I follow a link.
This is the part of web
It shouldn't be called as you described it.
Put a breakpoint in BasePage's constructor and see the thread stack.
On Fri, May 20, 2011 at 10:17 AM, Mathilde Pellerin <
mathilde.pelle...@statlife.fr> wrote:
> Hi all,
>
> I am new in wicket and I encountering a problem with my Markup inheritance.
>
Hi all,
I am new in wicket and I encountering a problem with my Markup inheritance.
In my BasePage (that extends WebPage), I have a menu with some
BookmarkablePageLink :
Accueil
Infos E4N
FAQ
Contact
and for each link I have a code like this in my BasePage constructor
32 matches
Mail list logo