Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
16:37 schrieb Rob Sonke: Tobias, Somehow I'm missing your replies in gmail. But thanks for the suggestions. Using custom models would be a last resort for me. Because I will have to replace all occurences. I'm somehow hoping to hook into the localizer. On Sat, Feb 21, 2015 at 2:01 PM, Rob

Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
a look in WicketStuff / submodul html5 - there is a class ReplacingResourceModel - the pattern you find there is a better one. kind regards Tobias Am 04.03.2015 um 09:09 schrieb Rob Sonke r...@tigrou.nl: Hi, It took a while to dive into this but I wrote a simple solution

Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
this: private static final Pattern PLACEHOLDER_PATTERN = Pattern.compile(\\$\\ {(.*?)\\}); kind regards Tobias 2015-03-04 9:57 GMT+01:00 Rob Sonke r...@tigrou.nl: Agree Martin, thanks for the tips (also Tobias). I'll look into an implementation of an extra Localizer, good names

Re: Resolving nested properties

2015-02-21 Thread Rob Sonke
Tobias, Somehow I'm missing your replies in gmail. But thanks for the suggestions. Using custom models would be a last resort for me. Because I will have to replace all occurences. I'm somehow hoping to hook into the localizer. On Sat, Feb 21, 2015 at 2:01 PM, Rob Sonke r...@tigrou.nl wrote

Resolving nested properties

2015-02-21 Thread Rob Sonke
Hi all, I'm trying to achieve a fairly simple thing within .properties files to avoid a lot of duplicate words through different files. For example there's is a HomePage.properties with: lbl.foo=This is an example text, we love ${lbl.item} And then in MyWebApplication.properties:

Re: Resolving nested properties

2015-02-21 Thread Rob Sonke
()); but this doesnt seem possible. With such an option, we can implement this easily ourselves. Rob On Sat, Feb 21, 2015 at 4:37 PM, Rob Sonke r...@tigrou.nl wrote: Tobias, Somehow I'm missing your replies in gmail. But thanks for the suggestions. Using custom models would be a last resort

Re: Wicket6 setResponsePage() stackoverflow error.

2014-11-25 Thread Rob Sonke
Gabriel, did you consider offering the patch to the wicketstuff project? Maybe those changes are general improvements for all of us. Thanks for sharing anyway! On Tue, Nov 25, 2014 at 7:49 PM, Gabriel Landon glan...@piti.pf wrote: I know it's not the error you report, but did you add

Re: Expiration page not shown in case of back button usage

2012-12-11 Thread Rob Sonke
Yes I know but by using the back button it seems to be ignored. Like it tries to serve the same page no matter we have a session or not. On Tue, Dec 11, 2012 at 9:59 AM, Martin Grigorov mgrigo...@apache.orgwrote: On Mon, Dec 10, 2012 at 9:04 AM, Rob Sonke r...@tigrou.nl wrote: Last week we

Expiration page not shown in case of back button usage

2012-12-10 Thread Rob Sonke
Last week we fixed an issue with Wicket 6 where mounted pages were being reconstructed after the session expired. That was due to this (new) setting which we set to false now: getPageSettings().setRecreateMountedPagesAfterExpiry(false); This worked perfectly for clicking on (ajax) links but,

Re: Strange classloader issues

2010-02-02 Thread Rob Sonke
Thanks, might something caused by a headercontributor, it often involves something with ajax or javascript. I'll look into it today On 2/2/10 10:46 AM, Johan Compagner wrote: look at your html code because somehow you get those kind of urls

Strange classloader issues

2010-02-01 Thread Rob Sonke
Hi, We're having strange errors on several of our online wicket apps which we can't reproduce but popping up in the logs everyday. It seems that Wicket in some way is messing up it's full class names with other stuff like html. I'll add some examples below. Is this is an issue, if yes, how

Re: Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Rob Sonke
Could you maybe explain why you need it? Do you want to pass data inside your portlet or to another portlet? Rob On 8/13/09 1:43 PM, Gonzalo Aguilar Delgado wrote: Hi all!, I have some questions about parameter passing in portal environment. I saw that WebPage class can have access to the

Re: Portlet and ... 2.0 (How to pass parameters?)

2009-08-13 Thread Rob Sonke
It's up to you but I think there is a more beautiful/easier way. Just configure the public render params the same in the portlet.xml. Use this to set params in e.g. an onClick: ActionResponse actionResponse = (ActionResponse)

Re: DatePicker

2009-08-12 Thread Rob Sonke
What problem do you have? I haven't used the default datepicker in wicket yet but I guess it has its default class names linked which you can override in your own css files. Rob On 8/12/09 3:25 PM, hakan.stei...@foxt.com wrote: Hi, I'm having some problem configuring the DatePicker the way

Re: AW: Wicket an jQuery: current status

2009-06-04 Thread Rob Sonke
don't know if this project is still active. -Urspr√ľngliche Nachricht- Von: Rob Sonke [mailto:r...@tigrou.nl] Gesendet: Donnerstag, 4. Juni 2009 07:22 An: users@wicket.apache.org Betreff: Re: Wicket an jQuery: current status Nice, is there any connection between your project and wickext

Re: Wicket an jQuery: current status

2009-06-03 Thread Rob Sonke
Nice, is there any connection between your project and wickext and the existing code in wicketstuff? On 6/3/09 10:18 PM, Stefan Lindner wrote: Hi all, as I told you, I am working on a Apache Wicket - jQuery integration. The current status can be found under

Re: DropDownChoices: How to force a selection.

2009-05-30 Thread Rob Sonke
It should work with the value in your model. In your case something like selectedDistrito.setSelectedChoice(1); Rob On 5/30/09 3:02 AM, Marco Santos wrote: Here is the creation of the DDC: private void buildDistritosComboBox() { DistritosModel distritosModel = new DistritosModel();

Re: Wicket portlet into liferay

2009-04-23 Thread Rob Sonke
Hi, Nice to hear that everything seems to work now. About the datepicker, which one is that? Because I'm using one from the wicketstuff projects (http://www.dynarch.com/static/jscalendar-1.0/index.html) and that one is working fine. But we're about to migrate to a jquery based one. Rob On

Re: Wicket portlet into liferay

2009-04-21 Thread Rob Sonke
Hi, We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We only use the sun portlet container instead of the one from Liferay. Search the mailinglist and the liferay forum for the steps which you'll have to perform. Rob On 4/21/09 4:45 AM, Tonio Caputo wrote: Hi, I've

Re: Web application using Wicket and iBATIS can't find DAOs?? ...pls help...its urgent

2009-02-06 Thread Rob Sonke
Btw, we're working with the same combination (spring/ibatis/wicket) and you'll love it :) Rob Kai Mutz wrote: Edwin Ansicodd mailto:erik.g.hau...@gmail.com wrote: Thank you Kai for your post!! 2) Install a SpringComponentInjector in your application, e.g. class MyApplication

Re: [OT] wicket users around the world

2008-12-11 Thread Rob Sonke
Middelburg in the Netherlands francisco treacy wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you come from and/or where you work with wicket... for instance, here argentinian/belgian working with wicket in antibes,

Re: Wicket integration with good charts api

2008-11-04 Thread Rob Sonke
Google charts good enough? (see wicket stuff projects) Tomasz Dziurko wrote: My client needs in his application very good looking charts (simple bars with some gradienst and 3D effects). Unfortunately he didn't like what JFreeChart library offers so I must find and implement another solution.

Re: Meetings in the Netherlands (or neighbouring countries)

2008-10-28 Thread Rob Sonke
Not really a meeting but at november the 12th there's the NLJug's JFall again with at least one wicket session. I'll be there anyway. Rob Harro Lissenberg wrote: A colleague and I are getting more and more interested in Wicket and where wondering if any meetings/presentations/lectures in or

Re: Stream/download files through portlet

2008-10-15 Thread Rob Sonke
: PortletRequestContext ctx = (PortletRequestContext) RequestContext.get(); PortletResponse presp = ctx.getPortletResponse(); presp.addProperty(header, value); this is kind of a hack but it might work.. Rob Sonke wrote: No, too bad. The headers aren't picked up. Serkan Camurcuoglu wrote

Re: Stream/download files through portlet

2008-10-14 Thread Rob Sonke
case, doesn't overriding setHeaders() in DynamicWebResource and adding your http header in this method work? By the way, which portlet container are you working with? Rob Sonke wrote: Hi, We're using wicket for our portlets now for almost 3/4 year and it's great. We're following/try

Re: Stream/download files through portlet

2008-10-14 Thread Rob Sonke
No, too bad. The headers aren't picked up. Serkan Camurcuoglu wrote: For the DynamicWebResource case, doesn't overriding setHeaders() in DynamicWebResource and adding your http header in this method work? By the way, which portlet container are you working with? Rob Sonke wrote: Hi

Re: Stream/download files through portlet

2008-10-14 Thread Rob Sonke
= (PortletRequestContext) RequestContext.get(); PortletResponse presp = ctx.getPortletResponse(); presp.addProperty(header, value); this is kind of a hack but it might work.. Rob Sonke wrote: No, too bad. The headers aren't picked up. Serkan Camurcuoglu wrote: For the DynamicWebResource case

Stream/download files through portlet

2008-10-14 Thread Rob Sonke
Hi, We're using wicket for our portlets now for almost 3/4 year and it's great. We're following/try to help with the full implementation of jsr 286 in wicket too (Thijs and me, see other threads). But I'm having a problem now with offering files through a portlet. There are actually two

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Rob Sonke
I understand that but why not adding it by default to the constructor of all ajax components? Rob Igor Vaynberg wrote: wicket only knows that the component needs it when you add it to the ajax request target. by the time you add it to the ART the component has already been rendered into the

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Rob Sonke
Oh stupid, you're right. Only the targets needs the setOutputMarkupId true... Igor Vaynberg wrote: like which ones? -igor On Fri, Oct 3, 2008 at 12:44 PM, Rob Sonke [EMAIL PROTECTED] wrote: I understand that but why not adding it by default to the constructor of all ajax components

Re: [OT] Wicket in Action Jubilation

2008-09-06 Thread Rob Sonke
Mine arrived today, ordered at Manning and shipped to the Netherlands. I was already excited about the ebook but I can't wait to dive into this one! Great work guys! Jonathan Locke wrote: i just got mine today. it is really really nice!!! Martijn Dashorst wrote: Thanks for the

Re: Problem with CheckBox and CheckGroup

2008-05-13 Thread Rob Sonke
There is no such thing as setSelected(true). You'll have work with a model like: new CheckBox(checkbox, new PropertyModel(yourModel, checkboxSelected)); in that case you can lookup your model like yourModel.getCheckboxSelected(); (which you could do in your onUpdate()) You can select your