);
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
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
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
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
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
, 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
-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
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
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.
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
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
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
, 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
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
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
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
);
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
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
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
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
.
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
)) {
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
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
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
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 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
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
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
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
/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
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.
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
'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
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
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.
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
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
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
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:
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
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
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
(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
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
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
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
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
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
();
}
}
}
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
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
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
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
);
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
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
().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
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
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
);
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
://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
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
body
div wicket:id=testDiv/div
/body
/html
-Heikki
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
: 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
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
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
) 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
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
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
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
to work fine,
-Heikki
70 matches
Mail list logo