Re: Repeating form on a page

2011-07-29 Thread heikki
); setResponsePage(APage.class); } }); } } thanks in advance for your reply, kind regards Heikki Doeleman -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Repeating-form-on-a-page

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 Nabble.com

i18n for more than attribute

2011-08-05 Thread heikki
for that, because it causes a runtime exception complaining that the same attribute appears twice. How can I have i18n translations for more than one attribute in the same element? thanks in advance for your help, kind regards Heikki Doeleman -- View this message in context: http://apache-wicket.1842946.n4

Re: i18n for html header elements

2011-08-06 Thread heikki
the wicket:message... appears as the title. What am I doing wrong here? Surely it must be possible to 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

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-tp3722544p3723525

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 archive

Re: i18n for more than attribute

2011-08-06 Thread heikki
-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 forum mailing list archive at Nabble.com

URLs without counter parameter

2011-08-06 Thread heikki
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-parameter-tp3724144p3724144.html Sent from

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 Doeleman -- View this message in context

Re: i18n for more than attribute

2011-08-06 Thread heikki
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 mailing list. kind regards Heikki Doeleman

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: http

Stateless pagination

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

Reloading i18n on demand

2011-09-08 Thread heikki
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-wicket.1842946.n4.nabble.com/Reloading

Re: Reloading i18n on demand

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

Re: Mounting external pages to root

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

Re: Mounting external pages to root

2011-10-11 Thread heikki
); 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 advance for your response, kind regards Heikki Doeleman -- View

Mounting page to mutliple urls with different pageparameter

2011-11-04 Thread heikki
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://apache-wicket.1842946.n4.nabble.com/Mounting-external-pages-to-root-tp3890756p3989966.html Sent from the Users forum mailing list archive

Re: Mounting page to mutliple urls with different pageparameter

2011-11-04 Thread heikki
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 would have any further advice, thanks very much, in advance. Kind regards Heikki Doeleman -- View this message in context: http://apache-wicket.1842946.n4

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
. 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 Sent from the Users forum mailing list archive at Nabble.com

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-to-root

How to have a list of iframes ?

2011-11-17 Thread heikki
to achieve this ? I've also looked at InlineFrame (to use instead of WebMarkupContainer) but it seems most concerned with instantiating 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

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread heikki
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 mailing list archive at Nabble.com

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 jcompag...@gmail.comwrote: 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

How to prevent linebreaks after radio input ?

2012-04-18 Thread heikki
. 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-radio-input-tp4568121p4568121.html Sent from the Users forum mailing list archive at Nabble.com

How to prevent duplicates when using HeaderContributor

2012-05-03 Thread heikki
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-HeaderContributor-tp4605975.html Sent

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 Heikki Doeleman

How to prevent form input appended as URL parameters ?

2013-01-28 Thread heikki
size=20 / input type=submit value=submit / /form After submitting the result 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

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

2013-01-28 Thread heikki
/mountednextpagepath?2txt=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 Nabble.com

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
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 -- View this message in context: http

AbstractDefaultAjaxBehavior response handling

2013-04-03 Thread heikki
'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 message in context: http://apache-wicket.1842946

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

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
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 Nabble.com

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

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:

Wicket returning XML or JSON ?

2013-04-25 Thread heikki
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-tp4658271.html Sent from

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

JQuery contribution question

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

AbstractDefaultAjaxBehavior complete handler

2013-06-04 Thread heikki
(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 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com

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

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

AjaxEditableMultiLineLabel inside Link

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

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 p...@bors.ws wrote: Up to recently we got away with running our unit tests fully integrated

Is it possible to change MarkupStream ?

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

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 are using

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 onClick handler We

RE: Dynamically show and edit a textarea in a table

2008-12-28 Thread Heikki Uotinen
); 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: Dynamically show and edit a textarea in a table To let you know

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
().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: feedback message

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: users

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: Flash/ExternalInterface does not work in IE if movie is fetched via Wicket/Ajax

2009-09-07 Thread Heikki Uotinen
); 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: Mikko Pukki

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

2009-09-08 Thread Heikki Uotinen
://download.syncrontech.com/public/quickstart_noname.zip Could someone confirm this and suggest how to proceed ? -Heikki -Original Message- From: Heikki Uotinen [mailto:heikki.uoti...@syncrontech.com] Sent: 7. syyskuuta 2009 9:21 To: users@wicket.apache.org Subject: RE: Flash/ExternalInterface

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

2009-09-09 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

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

2012-04-03 Thread Heikki Uotinen
body div wicket:id=testDiv/div /body /html -Heikki

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

2012-04-04 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 heikki.uoti...@syncrontech.com wrote: Ok, this leak can

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

2012-04-11 Thread Heikki Uotinen
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 2012 18:50 To: users

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: script type=text/javascript

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

2012-04-11 Thread Heikki Uotinen
) 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 heikki.uoti...@syncrontech.com wrote: Hi, I tested against apache-wicket-6.0.0-beta1

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

2012-04-12 Thread Heikki Uotinen
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 Ajax (Wicket 1.5.5) Hi, 1

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: Nico [mailto:nico.kan

Iframe problem with jQuery 1.10.1 in IE

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