Re: Repeating form on a page

2011-07-29 Thread heikki
"remove") { @Override public void onSubmit() { A selected = (A) getForm().getModelObject(); ADAO.delete(selected); setResponsePage(APage.class);

Re: Repeating form on a page

2011-08-05 Thread heikki
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

i18n for more than attribute

2011-08-05 Thread heikki
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. ---

Re: i18n for html header elements

2011-08-06 Thread heikki
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

Re: i18n for more than attribute

2011-08-06 Thread heikki
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

Re: i18n for html header elements

2011-08-06 Thread heikki
, 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

Re: i18n for more than attribute

2011-08-06 Thread heikki
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

URLs without counter parameter

2011-08-06 Thread heikki
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

Re: URLs without counter parameter

2011-08-06 Thread heikki
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. -

Re: i18n for more than attribute

2011-08-06 Thread heikki
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

Re: i18n for more than attribute

2011-08-06 Thread heikki
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

Re: URLs without counter parameter

2011-08-07 Thread heikki
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:

Stateless pagination

2011-08-08 Thread heikki
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

Reloading i18n on demand

2011-09-08 Thread heikki
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

Re: Reloading i18n on demand

2011-09-09 Thread heikki
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

Re: Mounting external pages to root

2011-10-11 Thread heikki
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

Re: Mounting external pages to root

2011-10-11 Thread heikki
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

Mounting page to mutliple urls with different pageparameter

2011-11-04 Thread heikki
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

Re: Mounting page to mutliple urls with different pageparameter

2011-11-04 Thread heikki
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

Re: Mounting page to mutliple urls with different pageparameter

2011-11-04 Thread heikki
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

Re: Mounting page to mutliple urls with different pageparameter

2011-11-06 Thread heikki
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

Re: Mounting page to mutliple urls with different pageparameter

2011-11-07 Thread heikki
return 1; } else { return 0; } } } kind regards Heikki Doeleman -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-

How to have a list of iframes ?

2011-11-17 Thread heikki
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

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread heikki
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

Re: What real life scenario calls for page ID?

2012-03-22 Thread 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

How to prevent linebreaks after radio input ?

2012-04-18 Thread heikki
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

How to prevent duplicates when using HeaderContributor

2012-05-03 Thread heikki
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

Re: How to prevent duplicates when using HeaderContributor

2012-05-03 Thread heikki
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

How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
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.

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
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

Re: How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
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.

Repeaters and AjaxSelfUpdatingTimerBehavior

2013-03-22 Thread heikki
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

AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
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

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
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-

Re: AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
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.

Re: AbstractDefaultAjaxBehavior response handling

2013-04-05 Thread heikki
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

How to force user to select from AutoComplete choices

2013-04-16 Thread heikki
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

Re: How to force user to select from AutoComplete choices

2013-04-16 Thread heikki
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

Re: How to force user to select from AutoComplete choices

2013-04-16 Thread heikki
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

Wicket returning XML or JSON ?

2013-04-25 Thread heikki
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

Re: Wicket returning XML or JSON ?

2013-04-25 Thread heikki
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

JQuery contribution question

2013-05-23 Thread heikki
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,

AbstractDefaultAjaxBehavior complete handler

2013-06-04 Thread heikki
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

Re: AbstractDefaultAjaxBehavior complete handler

2013-06-04 Thread heikki
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

Re: AbstractDefaultAjaxBehavior complete handler

2013-06-04 Thread heikki
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

AjaxEditableMultiLineLabel inside Link

2013-06-10 Thread heikki
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

Re: Unit testing a repeater or data table by mocking its data

2013-06-11 Thread heikki
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

Is it possible to change MarkupStream ?

2013-06-24 Thread heikki
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. --

Re: Is it possible to change MarkupStream ?

2013-06-25 Thread heikki
(); } } } 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

Re: Is it possible to change MarkupStream ?

2013-06-26 Thread 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

RE: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-06 Thread Heikki Uotinen
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

RE: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-08 Thread Heikki Uotinen
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

RE: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-08 Thread Heikki Uotinen
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

RE: How to Show Error Of Page In Deployment MOde

2009-02-24 Thread Heikki Uotinen
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

RE: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
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

Re: Assigning an Action to an onClick handler

2008-12-18 Thread Heikki Uotinen
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

RE: Dynamically show and edit a textarea in a table

2008-12-28 Thread Heikki Uotinen
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

RE: How to get DropDownChoice value without commit form?

2008-12-30 Thread Heikki Uotinen
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

RE: feedback message without a form

2008-12-30 Thread Heikki Uotinen
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:

RE: textfield to take only numnbers

2009-01-29 Thread Heikki Uotinen
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:

IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-03 Thread Heikki Uotinen
Date now = new Date(); return now.toString(); } -Heikki

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-03 Thread Heikki Uotinen
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

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-05 Thread Heikki Uotinen
: 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

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-11 Thread Heikki Uotinen
> 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

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-11 Thread Heikki Uotinen
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

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-11 Thread Heikki Uotinen
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.

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-12 Thread Heikki Uotinen
"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

RE: IE9 Memory leak when updating component with Ajax (Wicket 1.5.5)

2012-04-18 Thread Heikki Uotinen
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

RE: Re:aj Component twice in markup while ax refresh in Wicket 6.7 (migrated from 1.5.10)

2013-05-28 Thread Heikki Uotinen
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

Iframe problem with jQuery 1.10.1 in IE

2013-11-13 Thread Heikki Uotinen
work fine, -Heikki