Re: Feedback messages not showing on first request

2019-12-02 Thread Sven Meier
Hi, your isVisible() might be called to often or early. FeedbackMessagesModel caches the messages during request, so the call to #anyMessage() might result in a premature collection of messages. Try override #onConfigure() instead, this is preferred over overriding #isVisible():           

Re: Feedback messages not showing on first request

2019-12-02 Thread Entropy
The isVisible(): assetLookupOptionsFP = new FeedbackPanel("assetLookupOptionsFP"){ private static final long serialVersionUID = 1L; @Override public boolean isVisible() {

Re: Feedback messages not showing on first request

2019-11-28 Thread Sven Meier
Hi, hard to tell from your code snippet. Could you remove the irrelevant part (the request attribute) and show us the visibility control instead? A quickstart would help too. Have fun Sven On 26.11.19 16:53, Entropy wrote: We have a page where we are being required to have multiple

Re: Feedback Messages across Requests / Problem

2015-05-06 Thread Patrick Davids
Hm... yes, already thought about a similar solution, but I would like to avoid any custom feedback handlings. I like the way wicket does. The only custom requierment I have is, just showing 1 message. I think the problem I is more related to the across requests issue in combination with ajax

Re: Feedback Messages across Requests / Problem

2015-05-05 Thread Ernesto Reinaldo Barreiro
Store messages somewhere else? And on constructor check if there are any and add them to the page? On Tue, May 5, 2015 at 11:49 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, I have have a quite complicated feedback message case here. Could someone help me, please... We

Re: Feedback Messages prevent DropDownChoice updating Textfields

2014-02-12 Thread Daniela L
Hi, sometimes one doesn't see the obvious things, I simply had to add a lastName.clearInput(); in the onUpdate method and everything works as expected. I hope that helps anybody having the same problem :-) Best Regards Daniela Hi, I am trying to implement a Feedback for every Form Component and

Re: feedback messages not appearing using ajax button

2011-12-01 Thread Adam Gray
Perhaps you aren't overriding onError(AjaxRequestTarget) ? Add the feedback panel in there. On Fri, Dec 2, 2011 at 12:22 AM, Squash james.stewart...@gmail.com wrote: I am using a SecureAjaxButton to do some business functionality. This function throws an exception which I catch and then set

Re: feedback messages not appearing using ajax button

2011-12-01 Thread Squash
The feeback panel is being added to the AjaxTargetRequest as I can see it in the ajax debug window. The problem is that it is empty. I already have the onError method overriden for the button. I forgot to mention that in the previous post. @Override protected void

Re: feedback messages not appearing using ajax button

2011-12-01 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-2705 ?! On Fri, Dec 2, 2011 at 7:12 AM, Squash james.stewart...@gmail.com wrote: The feeback panel is being added to the AjaxTargetRequest as I can see it in the ajax debug window. The problem is that it is empty. I already have the onError method

Re: Feedback messages with parameter substitution

2011-01-06 Thread MZemeck
:Re: Feedback messages with parameter substitution Folks, I found the solution from the thread Using getString with parameters http://apache-wicket.1842946.n4.nabble.com/Usage-of-getString-with-parameters-model-td1875254.html . And this is what I did in the properties file

Re: Feedback messages with parameter substitution

2011-01-04 Thread James
Folks, I found the solution from the thread Using getString with parametershttp://apache-wicket.1842946.n4.nabble.com/Usage-of-getString-with-parameters-model-td1875254.html . And this is what I did in the properties file.. premessage.fileAlreadyUploaded=The file ${0} is already uploaded/pre

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-12-18 Thread Martin Willitts
I found I needed to use form.error(message) in the onSubmit method. luther.baker wrote: I'm not at a computer to try this ... but I do this all the time so it definitely works like you're hoping. You've posted alot of code so its a bit difficult to trace what is commented out and what

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-12-18 Thread Pieter Degraeuwe
Or you just implement (override) the onError(...) method of your AjaxSubmitLink()... there you can 'refresh' your feedbackpanel by adding it to the ajaxRequestTarget (It's on the todo list to make it abstract, so you have to implement it, just like the onSubmit(...) On Fri, Dec 18, 2009 at

Re: feedback messages

2009-12-02 Thread Gw
Thanks for ur help, Marco... :) GBU. On Mon, Nov 30, 2009 at 6:04 PM, Marco Mancini marcoman...@gmail.comwrote: Hi, Usualy i use this code: feedBackPanel.getFeedbackMessagesModel().setObject(null); target.addComponent(feedBackPanel); but i don't know if is it the right solution ^_^

Re: feedback messages

2009-11-30 Thread Marco Mancini
Hi, Usualy I use this code: feedbackPanel.getFeedbackMessagesModel().setObject(null); but i don't know if is it the right solution. ^_^ Marco 2009/11/30 Gw not4spamm...@gmail.com Hi all, Anybody knows how to prevent feedback messages from being cleaned up when an Ajax Link

Re: feedback messages

2009-11-30 Thread Marco Mancini
Hi, Usualy i use this code: feedBackPanel.getFeedbackMessagesModel().setObject(null); target.addComponent(feedBackPanel); but i don't know if is it the right solution ^_^ Marco 2009/11/30 Gw not4spamm...@gmail.com Hi all, Anybody knows how to prevent feedback messages from being

Re: Feedback messages, input and label

2009-10-08 Thread Swanthe Lindgren
Well, if you combine putting inputPwd=Password in your property file and putting label for=pwdwicket:message key=inputPwdthis text here will be replaced by your propertyfile value/wicket:message/label in you markup, I thing you'll get what you'r looking for. //Swanthe Tomás Rossi wrote:

Re: Feedback messages, input and label

2009-10-07 Thread Olivier Bourgeois
Have you tried something like this in your page.java : pwd.setLabel(new ModelString(Password)); ? 2009/10/7 Tomás Rossi tro...@mecon.gov.ar Hi, lets say you have this in you html form: -- ... label for=pwdPassword/label input type=password id=pwd wicket:id=inputPwd/ ...

Re: Feedback messages, input and label

2009-10-07 Thread Tomás Rossi
Yeah, it worked, thanks. Nonetheless, it'd be madness if I had to do that with every component of the system. Is this the only way? Couldn't this be done in a more automatic fashion, like for example, extracting it from the html label content which is associated to the input? Olivier

Re: Feedback messages, input and label

2009-10-07 Thread Igor Vaynberg
Nonetheless, it'd be madness no, this is spartaaa! form components search property files for their labels without you having to explicitly set a model. -igor if I had to do that with every component of the system. Is this the only way? Couldn't this be done in a more automatic fashion,

Re: Feedback messages, input and label

2009-10-07 Thread Matej Knopp
try putting inputPwd = Password in your property file. -Matej On Wed, Oct 7, 2009 at 5:33 PM, Tomás Rossi tro...@mecon.gov.ar wrote: Hi, lets say you have this in you html form: -- ... label for=pwdPassword/label input type=password id=pwd wicket:id=inputPwd/ ... --

Re: Feedback messages, input and label

2009-10-07 Thread Tomás Rossi
Yeah, we'd need 300 programmers for that task ;) So you have to specify the label for each component in a property file? And then you'd have a property file for each markup that contains a form? Mmhh... Igor Vaynberg escribió: Nonetheless, it'd be madness no, this is spartaaa! form

Re: Feedback messages, input and label

2009-10-07 Thread Pedro Santos
Wicket is Sparta? http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg17023.html On Wed, Oct 7, 2009 at 3:05 PM, Tomás Rossi tro...@mecon.gov.ar wrote: Yeah, we'd need 300 programmers for that task ;) So you have to specify the label for each component in a property file? And

Re: Feedback messages, input and label

2009-10-07 Thread Tomás Rossi
Ok, that's a little nicer, but still... It'd be better if the label could be deduced from the markup itself. Yet, no big deal. Thanks Matej Knopp escribió: try putting inputPwd = Password in your property file. -Matej On Wed, Oct 7, 2009 at 5:33 PM, Tomás Rossi tro...@mecon.gov.ar wrote:

Re: Feedback messages and ajax request

2009-08-03 Thread Matej Knopp
Feedbacks should be processed in prepareRender method which should be called on Ajax requests as well. If it isn't it would be a bug. -Matej On Mon, Aug 3, 2009 at 11:59 AM, Martin Makundimartin.maku...@koodaripalvelut.com wrote: Hi! In normal requests feedbackmessages are processed like

Re: Feedback messages and ajax request

2009-08-03 Thread Martin Makundi
Is it possible they are not ajax-processed at all if they are not visible in some earlier stage (=if there are no messages when isvisible is checked...??)? ** Martin 2009/8/3 Matej Knopp matej.kn...@gmail.com: Feedbacks should be processed in prepareRender method which should be called on Ajax

Re: Feedback messages and ajax request

2009-08-03 Thread Martin Makundi
I added a jira issue with a possible fix suggestion: https://issues.apache.org/jira/browse/WICKET-2411 ** Martin 2009/8/3 Martin Makundi martin.maku...@koodaripalvelut.com: Is it possible they are not ajax-processed at all if they are not visible in some earlier stage (=if there are no

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Erik van Oosten
You did not call target.addComponent for the feedbackpanel or any of its parents. Regards, Erik. jpalmer1...@mchsi.com schreef: I am using an AjaxSubmitLink to submit form data. Using this, however, is preventing feedback messages from being displayed. My code is as follows: public

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
I called target.addComponent for the feedbackpanel but still no luck. My updated code is as follows: final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink(verifyPinLink) { @Override public void onSubmit(AjaxRequestTarget target, Form form) {

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Jason Lea
I think you need to override final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink(verifyPinLink) { |*onError http://wicket.sourceforge.net/apidocs/wicket/ajax/markup/html/form/AjaxSubmitLink.html#onError%28wicket.ajax.AjaxRequestTarget,%20wicket.markup.html.form.Form%29*(AjaxRequestTarget

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
Actually, validation messages are now getting displayed for validation performed on components but I am still unable to get error messages that I have added to be displayed. For example, in the following code, I need a way to display the line No PIN found for PIN but I am not sure how to do that.

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Luther Baker
I'm not at a computer to try this ... but I do this all the time so it definitely works like you're hoping. You've posted alot of code so its a bit difficult to trace what is commented out and what is not ... but starting with your original post, uncomment the following: final

Re: Feedback messages disappearing before display

2008-08-11 Thread nanotech
Hi, I believe you want to display the feedback message in TestPage. If so, do something like this: 1. make sure you have feedback panel added on the page where you will be landing after redirect. 2. Then you can get hold of the feedback panel in the current page like shown below: FeedbackPanel

Re: Feedback messages disappearing before display

2008-08-11 Thread insom
I tried to follow your suggestions, but it is still not displaying messages in the panel. nanotech wrote: I believe you want to display the feedback message in TestPage. Yes, that's correct. TestPage extends BaseTemplate, which contains this: BaseTemplate.java: MessagePanel messagePanel

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom [EMAIL PROTECTED] wrote: I have a submit button that adds a message to my FeedbackPanel, like so: if (isTestPassed()) { ... } else

Re: Feedback messages disappearing before display

2008-08-11 Thread Matej Knopp
If you want to show messages on another page you need to use session feedback messages (getSession().info) -Matej On Mon, Aug 11, 2008 at 9:47 PM, insom [EMAIL PROTECTED] wrote: I have a submit button that adds a message to my FeedbackPanel, like so: if (isTestPassed()) { ... } else

Re: Feedback messages disappearing before display

2008-08-11 Thread insom
That solved it. I'm surprised -- considering that the original getSession().getFeedbackMessages() showed the message, I had assumed that it was being attached to the session. I guess I still have a lot to learn :) Thanks for your help. Matej Knopp-2 wrote: If you want to show messages on

Re: Feedback messages and setResponsePage

2007-11-16 Thread narup
hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is not showing up with setResponse page. i am doing Page userPage = getUserPage(); //1.2.6 version code which was fine // userPage.getFeedbackMessage().info(userPage, getUser().getDescription() + Saved); //now i changed

Re: Feedback messages and setResponsePage

2007-11-16 Thread Eelco Hillenius
On Nov 16, 2007 11:36 AM, narup [EMAIL PROTECTED] wrote: hello i am upgrading from wicket 1.2.6 to 1.3 rc1, and feedback messaging is not showing up with setResponse page. i am doing Page userPage = getUserPage(); //1.2.6 version code which was fine //

Re: Feedback messages and setResponsePage

2007-10-05 Thread Igor Vaynberg
getsession().info/error/warn will work across pages -igor On 10/5/07, dkarnows [EMAIL PROTECTED] wrote: Greetings, I've noticed when I do: info(blah blah blah); setResponsePage(...); that whether or not the feedback displays seems to be dependent on which version of