Jeremy,
Great work on this BTW. Quick question, any reason why
JavaScriptFilteredIntoFooterHeaderResponse is final? Would like to:
JavaScriptFilteredIntoFooterHeaderResponse javaScriptFooterResponse = new
JavaScriptFilteredIntoFooterHeaderResponse(response, "footerBucket") {
HI,
giving a quick look at your code it seems that your form's parent and
the form itself are removed in onsubmit method when it calls
callViewPersonPanel.
If you wanna call super.process first and then updateProcessedForm in
SubmitOnceForm, you should save current page reference and form pat
you have two options:
add the message into the feedback panel using javascript and dom
manipulation - you need to know the markup id of the feedbackpanel
or
let javascript issue an ajax request passing in the error message,
adding it to the feedback panel and repainting it.
-igor
On Thu, May 1
I'll validate my code again. It is running on Wicket 1.4.1 so maybe it was
linked to the older version.
Thanks everyone for the help, its good to know that it is working correctly
for others.
-Clint
On Thu, May 19, 2011 at 7:51 AM, Bertrand Guay-Paquet <
ber...@step.polymtl.ca> wrote:
> Hi,
>
>
Hi Andrea,
Here is form.onSubmit() functionality, as well as the panel swap
functionality and how I call it. It is pretty much all the functionality I
use:
public class CreateEditPersonPanel extends Panel {
private WebPage parentPage;
public CreatePersonPanel(String id, WebPage parentPage) {
Is it possible to do some validation in JavaScript, and if that fails, have
that error be displayed as one of the messages in the FeedbackPanel?
In other words, this FeedbackPanel message won't be from server-side
validation, it will originate from JavaScript.
--
View this message in context:
ht
I think I know the answer, it's an IE-specific issue.
Some more info: http://www.webmasterworld.com/html/3290988.htm
Essentially, in IE6 and 7, if your file input doesn't begin with "C:\" or
some other drive-letter path, IE won't even try to submit. But if it does,
then it will submit, even if th
My form doesn't reload on bad (invalid) filename entered in the FileUpload
input box.
But it *does* reload in these 2 cases:
1) Empty field
2) File exists
Does anyone know why? I have to display a message on "invalid file" just
like I do with the other two cases, "no file specified" and "file OK
Reminds me of a problem I had playing with jQuery Mobile.
jqM plays with hash links and with Wicket 1.4.17, it does not work properly.
I had to disable all Ajax links jQuery Mobile handles.
How to avoid that?
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099
On Thu, May 19, 2011 at 11:50
I have the same question :
Is there a way to force wicket to generate absolute urls
for the page being rendered?
for javascript, onclick events and A urls
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Widget-tp1867919p3535951.html
Sent from the Users forum
Probably your form is removed from component hierarchy when it is
submitted.That's why you don't get exceptions if you call get page
before form processing. When does your code replace panel? What's inside
form's onSubmit method?
Hi Andrea,
Thanks for your reply.
I call updateProcessedForms() A
Thanks for the replies.
I did what Pedro suggested and when I do the onClick handler in Wicket, the
flow is OK now.
(When I did it in HTML, I still get the alert box, but the flow would stop
afterwards.)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/JavaScript-onCl
Hi,
I am doing the same kind of processing and it works fine. I have a
FormComponentPanel with children FormComponentPanels. Here is what the
convertInput() method looks like for the "root" FormComponentPanel:
protected void convertInput() {
// Retrieve all children
final List fooList
Hi Andrea,
Thanks for your reply.
I call updateProcessedForms() AND THEN super.process(submittingComponent).
The reverse order to what it is shown on pg 49 on book. I described it wrong
on original post, I apologise. It is now corrected.
When calling createPerson Panel, I execute the following in
On 19/05/11 10:58, lucast wrote:
process(IFormSubmittingComponent submittingComponent) on SubmitOnceForm
class calls updateProcessedForms(); and super.process(submittingComponent)
if the form hasn't been processed, so I changed the order of the above so
that it calls super.process(submittingCom
Dear Forum,
On implementing prevent-multiple-form-submits, ch 2 - Wicket Cookbook, I
found that when calling
getToken() {
return new FormToken(getPage().getPageReference(),
getPageRelativePath());
}
I get an error on getPage() because the current form doesn't have a page or
par
You'll need to cache both hits and misses and then it should be fine.
On Thu, May 19, 2011 at 11:34 AM, Bas Gooren wrote:
> You could always preload all strings, or preload sets of strings. This way
> you'll have fewer database requests, and faster lookups since you'll have
> everything you need
You could always preload all strings, or preload sets of strings. This
way you'll have fewer database requests, and faster lookups since you'll
have everything you need in a local map.
Bas
Op 19-5-2011 8:23, schreef Mathias Nilsson:
Thanks,
My concern is also name component collition. The
or
Unbelievable how easy a solution can be...
sven, you are my hero. thanks. please stay the way you are - helpful!
hubert
Am 18.05.2011 um 20:06 schrieb Sven Meier:
> Hi,
>
> the method you want to override is the following:
>
>protected void onNodeLinkClicked(Object node, BaseTree tree,
>
With just a quick look:
setRedirect(true)
may help and not just setResponsePage()
Regards
Robert
On 05/19/2011 08:53 AM, rebecca wrote:
Thank you all for replying
It does sound like I'm trying to do something impossible, but I would like
to post my code here in case i did not explain the prob
20 matches
Mail list logo