work fine,
-Heikki
No,
I used Firefox 21.0, with the app running in Tomcat 6.
Any ideas, anyone ?
thanks
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-MarkupStream-tp4659757p4659832.html
Sent from the Users forum mailing list archive at
();
}
}
}
return sb.toString();
}
Can you see why I get java.io.IOException: Stream Closed ?
thanks,
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-MarkupStream-tp4659757p4659769.html
Sent from the Users forum
hieve this?
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-MarkupStream-tp4659757.html
Sent from the Users forum mailing list archive at Nabble.com.
--
dear Paul,
I've recently used Mockito and am quite happy with it. You can easily mock
any class and make it behave as you need.
Best regards
Heikki Doeleman
On Tue, Jun 11, 2013 at 5:08 PM, Paul Bors wrote:
> Up to recently we got away with running our unit tests fully integrate
t that
the AjaxEditableMultiLineLabel no longer works, I guess because it is a
child component of the link and also gets disabled.
Do you have any tips ?
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxEditableMultiLineLabel-inside-Link-tp4659348.html
thanks. I checked of course that there are no JS errors. I also checked if
any of overridden onComplete(), getCompleteHandler(), and
getSuccessHandler() are executed, and they are not.
So I'm still a bit puzzled here. My behavior's respond() method works fine
and does not throw exceptions or anyth
Thanks for your replies.
Could it be that it has something to do with Wicket version ? Wicket
Examples seems to run on Wicket 1.5.10 ?
I also tried the suggested success handler, by adding this to my behavior
@Override
public CharSequence getSuccessHandler(Component compo
ng I tried, but with the same result (no js executed on
complete), is client-side:
Wicket.Ajax.get({"u":myListenerUrl + params, "coh": myfunction });
(where myfunction is an existing js function).
Do you see what I'm doing wrong ?
Kind regards
Heikki Doeleman
Hi,
we had similar issue and could not find jira ticket for this, thus created
WICKET-5210 with quickstart.
Our workaround was changing our jQuery('#someid').. to jQuery('[id=someid]')..
to match all same (two) ids.
Rgds,
Heikki
-Original Message-
From: N
eed jQuery for non-Wicket-related clientside stuff
too.
Ideally a jQuery version of my choice, not contributed by Wicket but a
simple local or remote link, although if it's more easy to simply always
contribute jQuery through Wicket that would be fine too.
Any suggestions ?
Kind regards,
thanks,
that example does indeed work fine, but I'd rather have *no* markup file,
just generate the XML or JSON myself and send that back in the response.
So I need a mounted IResource to do that ? Any tip how to go about it for
this use case, e.g. use a ByteArrayResource ?
--
View this messa
getting that to work that I found is for
Wicket 1.5
(http://stackoverflow.com/questions/12138115/wicket-rest-does-not-work-with-wicket-1-5).
thanks in advance,
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-returning-XML-or-JSON-tp46
hi,
the js loading issue was apparently due to having both my own and a
select2-contributed jquery library in the same page. Solved.
This select2 solution does exactly what I was looking for, thanks !
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-force-use
thanks for your replies,
@Igor : trying it, however when loading the page I get: "TypeError:
$(...).select2 is not a function". Can you give some instruction as how to
wire things together? From the wicket-select2-examples, it is not obvious to
me where any JS gets included.
@Sebastien: sure, a v
n easy way to do this ?
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-force-user-to-select-from-AutoComplete-choices-tp4658033.html
Sent from the Users forum mailing list archive at
hi Sven,
thanks ! I see now how it works.
The basic thing is that AbstractDefaultAjaxBehavior does not write anything
to responses, you have to subclass it and write to the response according to
your needs, in this subclass.
kind regards
Heikki Doeleman
--
View this message in context
Eventually I'd probably do something with it other than only displaying it
:-)
So maybe my approach is not ideal ? In short, and more generally put, I want
to be able to construct a URL client-side dynamically to do an Ajax request
using Wicket.Ajax.get(), and then do something with the response.
thanks for your response, but I'm not quite sure what you mean.
How so is my response a non-Ajax response ?
I'd have thought that when doing an Ajax request, I'd get an Ajax response;
and the way to "set up" that response, from what it says on
https://cwiki.apache.org/WICKET/calling-wicket-from-
d is that the div 'aResult' text would get replaced with the
contents of the Ajax call. It doesn't happen. And as I said the Ajax
response is empty (when viewed in Firebug).
Does anyone see what I'm missing here ?
thanks and kind regards
Heikki Doeleman
--
View this messa
how
to go about this. Is there some callback method in this case, similar to
AjaxButton.onSubmit(), that gives a reference to the target?
Hopefully I made my question clear, and it's obvious and I just missed
something..
All help greatly appreciated,
kind regards
Heikki Doeleman
--
Vi
yes, they are: "&txt=userprovided".
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-form-input-appended-as-URL-parameters-tp4655843p4655850.html
Sent from the Users forum mailing list archive at Nabble.com.
name/mountednextpagepath?2&txt=userprovided
Any ideas ?
thanks
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-form-input-appended-as-URL-parameters-tp4655843p4655847.html
Sent from the Users forum mailing list archive at Na
t is the next page, but with a URL like
mywebapp/mountedpagepath?txt="userprovided". I don't want to have the posted
form fields appended to the URL. How can I do that ?
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.
OK, that's a good solution, thanks !
Just in case that quickstart becomes unavailable, for reference I'll
summarize the method here:
the base HTML page has
The corresponding base Java class has
and any pages with an overridden title, override getTitle()
Kind regards
Heikk
d to write my own implementation of IHeaderResponse for this ?
It would seem like a pretty common use case to me, did anyone already solve
it ?
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-duplicates-when-using-HeaderContr
As expected KB2675157 fixed this IE9 issue, nice timing though.
-Original Message-
From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com]
Sent: 12. huhtikuuta 2012 10:18
To: users@wicket.apache.org
Subject: RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)
Ok
HTML:
some value
another value
Obviously I want to control my HTML layout and I don't want automatically
generated elements. How can I do that ?
thanks in advance
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-linebreaks-after-radi
"select iexplore.exe"-> Properties..->
Performance Graph -> Private bytes
-Original Message-
From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com]
Sent: 11. huhtikuuta 2012 14:38
To: users@wicket.apache.org
Subject: RE: IE9 Memory leak when updating component with
ee whether it helps somehow
2) create a ticket in Wicket Jira with a quickstart and detailed description
how to reproduce and how to measure and let someone else to debug it for you.
On Wed, Apr 11, 2012 at 1:50 PM, Heikki Uotinen
wrote:
> Hi,
>
> I tested against apache-wicket-6.0.
Hi,
I tested against apache-wicket-6.0.0-beta1 with that simple example in the
first mail.
Application still leaked memory on IE9 document mode, same behavior as with
1.5.5.
Confirmed that it is using jQuery:
Suggestions ?
-Original Message-
From: Chris Colman [mailto:chr...@s
> how exactly did you solve it with jQuery ?
Since this leak seems to be caused by wicket-ajax calls then solution would be
bypassing
those, this would be the last resort.
-Original Message-
From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com]
Sent: 5. huhtikuuta
: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)
Hi,
Can you share your findings ?
What exactly you think caused the memory leak and how exactly did you solve it
with jQuery ?
On Wed, Apr 4, 2012 at 8:14 AM, Heikki Uotinen
wrote:
> Ok, this leak can be avoided by updat
Ok, this leak can be avoided by updating rapidly changing components with
jQuery
before upgrading to Wicket 6,
-Heikki
-Original Message-
From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com]
Sent: 3. huhtikuuta 2012 16:17
To: users@wicket.apache.org
Subject: IE9 Memory leak
Date now = new Date();
return now.toString();
}
-Heikki
What's the point in refreshing if it returns exactly the same page as
before ?
On Thu, Mar 22, 2012 at 11:32 PM, Johan Compagner wrote:
> No this is bad, i agree with Igor, the latest page should be refreshed, not
> reset!
>
> By the way, the hybrid in 1.4 what we are using does look at the mou
much easier to use than e.g.
things based on JSP. Keep up the good work, guys !
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-is-a-Flawed-Framework-tp4080411p4082988.html
Sent from the Users forum
tantiating a Page to render in an iframe, if I'm correct.
thanks in advance,
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-have-a-list-of-iframes-tp4080744p4080744.html
return 1;
}
else {
return 0;
}
}
}
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-
Please see my implementation here http://pastebin.com/h0rhtFLz.
Surely there's a better of way dealing with this ?
thank you and kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3996292.html
sorry, just saw your reply about pastebin after posting.
Here it is: http://pastebin.com/uRNyxZbV.
Thanks and kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3990244.html
Sent from the Users
n my RootRequestMapper correctly say either
"to Index page" or "to Another page" -- even in those cases above where a
blank HTML page is served, though constructor of said pages is not invoked
then.
So I guess I'm missing some small but essential detail somewhere .. if you
when requesting /b, with /c in my browser address bar, and the
page saying "Hello, c", where I want to end up with /b in my address bar and
the page saying "Hello, b".
Your advice is very much appreciated,
kind regards
Heikki Doeleman
--
View this message in context:
http://ap
quot;/secure", SignedInPage.class);
mountPage("/", SignInPage.class);
and I have also this method
public Class getHomePage() {
return SignInPage.class;
}
The logoutform on SignedInPage has this in onSubmit() :
setResponsePage(SigninPage.class);
Thanks in
is method
The logoutform on SignedInPage has this in onSubmit() :
Thanks in advance for your response,
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3894477.html
Sent from the Users forum mailing
is'll serve my purpose for the moment just fine -- as soon as I have time
I'll investigate more how to achieve actual on demand reloading (without
polling).
thanks and kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Reloading
ould suppose it could be possible that they're re-loaded on demand, after
which the heavy caching could take place again. But I haven't found any
information on this.
Anyone have a suggestion ?
thanks in advance
Heikki Doeleman
--
View this message in context:
http://apache-wic
a repeater, without making the page stateful.
Sure, I suppose some info about the collection and current page etc. must be
remembered on the server, but we still have good old HttpSession that could
maybe be used for it ?
Any hints appreciated !
thanks and kind regards
Heikki Doeleman
--
View this
OK,
it turned out that a form in my base page with links to change the language
was the stateful component. I've now changed things so it is a stateless
form and it works like a charm.
Thanks for hinting at StatelessChecker !
Kind regards
Heikki Doeleman
--
View this message in context:
n 1.5.
As a result, many of the example code that is around on the web, doesn't
just work if you're using 1.5.
I did not mean to offend by using that word -- if I did, my apologies. I'm
still quite new to Wicket and I find it an excellent framework and also a
very responsive mai
I'll live with translated 'title' attributes and non-translated
'alt' attributes, due to time constraints -- but I do intend to find out
what's happening exactly and when I do, I'll post my results here.
Thank you for your replies,
kind regards
Heikki Doelem
sorry, did not escape html in my post. That should be:
with
# contact
in the HTML.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/URLs-without-counter-parameter-tp3724144p3724147.html
Sent from the Users forum mailing list archive at Nabble.com.
-
actPage.class));
with
# contact
in the HTML.
Is it possible to get rid of those ?x that are appended to the URLs ?
thank you in advance for your answers
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/URLs-without-counter-pa
and the result is really as I described, only the first of the
comma-separated attributes gets translated.
thanks
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/i18n-for-more-than-attribute-tp3722544p3723591.html
Sent from the Users for
, now that
it's clear that the translation as such is done correctly.
thank you and kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/i18n-for-html-header-elements-tp3722490p3723536.html
Sent from the Users forum mailing list a
hi,
thanks, but that doesn't work; only the first in the comma-separated list
gets translated.
Anyone have an idea how to do this ?
thanks
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/i18n-for-more-than-attribute-tp3722544p37
use i18n for
header elements ?
Kind regards,
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/i18n-for-html-header-elements-tp3722490p3723142.html
Sent from the Users forum mailing list archive
ement?
thanks in advance for your help,
kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/i18n-for-more-than-attribute-tp3722544p3722544.html
Sent from the Users forum mailing list archive at Nabble.com.
---
OK ! Indeed, this solves it, and now all's perfect.
Thank you so much !
Kind regards
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Repeating-form-on-a-page-tp2002098p378.html
Sent from the Users forum mailing list archive at Nabbl
"remove") {
@Override
public void onSubmit() {
A selected = (A) getForm().getModelObject();
ADAO.delete(selected);
setResponsePage(APage.class);
Thanks,
https://issues.apache.org/jira/browse/WICKET-2457
-Heikki
-Original Message-
From: Matej Knopp [mailto:matej.kn...@gmail.com]
Sent: 9. syyskuuta 2009 0:10
To: users@wicket.apache.org
Subject: Re: Flash/ExternalInterface does not work in IE if movie is fetched
via Wicket/Ajax
here than other browsers.
Demonstration is still at (there is no need for Flash CS4 to test this)
http://download.syncrontech.com/public/quickstart_noname.zip
Could someone confirm this and suggest how to proceed ?
-Heikki
-Original Message-
From: Heikki Uotinen [mailto:heikki.u
ateElement("div");
tempDiv.innerHTML = flashMovie;
document.body.appendChild(tempDiv);
Here is complete code (ajax.swf can be found in zip files)
http://pastebin.com/fbc0aa9a
Here is AS3 code in ajax.fla
http://pastebin.com/d4efd47b
-Heikki
-Original Message-
From: Mik
Maybe this helps
http://www.nabble.com/How-to-catch-the-error-in-custome-error-page--td9645296.html
-Heikki
-Original Message-
From: carlo c [mailto:carlo.camer...@gmail.com]
Sent: 25. helmikuuta 2009 7:16
To: users@wicket.apache.org
Subject: How to Show Error Of Page In Deployment
Pass the field type in the TextField's constructor
http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.TextFieldPage
-Heikki
-Original Message-
From: miro [mailto:miroconn...@yahoo.com]
Sent: 29. tammikuuta 2009 17:52
To:
getPage().error("Please assing grants");
target.addComponent(feedback);
return;
}
...
-Heikki
-Original Message-
From: Vance Fellers [mailto:nvfellers...@yahoo.com]
Sent: 30. joulukuuta 2008 21:38
To: users@wicket.apache.org
Subject:
protected void onSelectionChanged(Object newSelection) {
...
}
-Heikki
-Original Message-
From: wch2001 [mailto:wch2...@hotmail.com]
Sent: 30. joulukuuta 2008 9:59
To: users@wicket.apache.org
Subject: How to get DropDownChoice value without commit form?
Dear
kLink onClick");
}
};
item.add(rejectComment1);
rejectComment2Div.add(rejectComment2);
item.add(rejectComment2Div);
-Heikki
-Original Message-
From: Claudio Miranda [mailto:clau...@claudius.com.br]
Sent: 29. joulukuuta 2008 3:50
To: users@wicket.apache.org
Subject: Re: Dynamicall
Maybe something like
MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, "ADMIN");
-Heikki
-Original Message-
From: Arie Fishler [mailto:arie@gmail.com]
Sent: 18. joulukuuta 2008 16:08
To: users@wicket.apache.org
Subject: Assigning an Action to an onCli
Maybe
MetaDataRoleAuthorizationStrategy.authorize(link3, Component.ENABLE, "ADMIN");
-Heikki
-Original Message-
From: Arie Fishler [mailto:arie@gmail.com]
Sent: 18. joulukuuta 2008 16:08
To: users@wicket.apache.org
Subject: Assigning an Action to an onClick handler
We
70 matches
Mail list logo