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 you

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 report,

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 b

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

Re: Wicket talk at NL-JUG's J-Fall

2008-10-09 Thread Rob Sonke
Great, will be there. Rob Erik van Oosten wrote: Just to let you know. My talk 'Effective Wicket', targeted at starting Wicketeers has been accepted on NL-JUG's J-Fall. http://www.nljug.org/jfall/ Regards, Erik. - To

Re: Stream/download files through portlet

2008-10-14 Thread Rob Sonke
ebResource 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 grea

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 wro

Re: Stream/download files through portlet

2008-10-14 Thread Rob Sonke
1.1.4.3)." I think you may try: 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,

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 optio

Re: Stream/download files through portlet

2008-10-15 Thread Rob Sonke
I think you may try: 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 are

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 a

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 wrote: > I know it's not the error you report, but did you add > "liferay-web-xml-enable

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: lbl.item=Wicket

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

Re: Resolving nested properties

2015-02-21 Thread Rob Sonke
new MyCustomResolver()); 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 wrote: > Tobias, > > Somehow I'm missing your replies in gmail. But thanks for the suggestions. > Using custom

Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
ntly testing the implementation - it also replaces keys >>> found in hierarchy, because Wickets Localizer is going to be used for each >>> key which is going to be replaced. So the example of your first mail is >>> also covered. >>> >>> kind regards &

Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
to errors > > > > @others: What do you think? > > > > @Rob: the pattern should be modified a bit so that it is not greedy (.*?) > > - have a look in WicketStuff / submodul html5 - there is a class > > ReplacingResourceModel - the pattern you find there is a better

Re: Resolving nested properties

2015-03-04 Thread Rob Sonke
/minis/model/ReplacingResourceModel.java > > The pattern is like this: > > private static final Pattern PLACEHOLDER_PATTERN = Pattern.compile("\\$\\ > {(.*?)\\}"); > > kind regards > > Tobias > > 2015-03-04 9:57 GMT+01:00 Rob Sonke : > > > Agree M

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 tri

Re: Wicket portlet into liferay

2009-04-23 Thread Rob Sonke
t.xml, but still not working. Any idea of what is happening, or a solution to this problem Thanks very much in advance tonio On Tue, Apr 21, 2009 at 5:33 PM, Rob Sonke wrote: Hi, We're running wicket 1.4m2 on liferay 5.2.x and that's working fine. We only use the sun portlet con

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 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 http://subversion.visionet.de/proje

Re: AW: Wicket an jQuery: current status

2009-06-04 Thread Rob Sonke
.2. I 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 w

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 I

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 App

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) ((PortletRequestContext)PortletRequestContext.get()).getPortletRespo

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 c

Re: Strange classloader issues

2010-02-02 Thread Rob Sonke
3Cdiv%20class= back to wicket and that seems very weird. it seems that that is a piece of html with those div and class stuff. It could also be that this is done by some header contribution ? On Tue, Feb 2, 2010 at 08:49, Rob Sonke wrote: Hi, We're having strange errors on several of

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. Qu

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, franc

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 wrote: Thank you Kai for your post!! 2) Install a SpringComponentInjector in your application, e.g. class MyApplication exte

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, this

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 wrote: > On Mon, Dec 10, 2012 at 9:04 AM, Rob Sonke wrote: > > > Last week we fixed an issue w