Re: Constructors take vararg of Component? (Enhancement RFC)

2013-01-07 Thread Martin Grigorov
Hi, The component constructor doesn't call #add() at the moment (and I think this wont change soon without a better reason). So even if adding the varargs this wont help. But you can create your own components which do this: public class MyForm extends FormEntity { public MyForm(String id,

Re: [6.4.0] RadioColumn event in dataTable

2013-01-07 Thread dmalescot
thanks, it works perfectly :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/6-4-0-RadioColumn-event-in-dataTable-tp4655161p4655178.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Constructors take vararg of Component? (Enhancement RFC)

2013-01-07 Thread Jochen Mader
Why aren't you using fluent interfaces? The API ist built around that and allows for a much cleaner structure inside your constructors. Just watch out for those Auto-Formaters ;) new FormRsvpPage(frmRsvp, cpm) .add(new StatusPanel(pnlRsvp)) .add(new ConfirmPanel(pnlConfirm))

Re: Wicket Atmosphere does not run in Firefox 17

2013-01-07 Thread Noven
Emond, Finally I can make it run in Firefox by disable using websocket in web.xml init-param     param-nameorg.atmosphere.useWebSocket/param-name     param-valuefalse/param-value     /init-param Don't know if there's drawback doing that since it comes as default setting in

Re: BeanValidation - IllegalStateException: Could not resolve Property from component

2013-01-07 Thread heapifyman
The PropertyValidator is added in the BeanValidationBorder. Unfortunately, I don't know what property the FormComponent is for, when BeanValidationBorder is created. So I guess, I have to get rid of CompoundPropertyModel and pass PropertyModels to my FormComponents' constructors. Interestingly,

Re: wicket 6 form example?

2013-01-07 Thread Martin Grigorov
Hi, I think https://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q=shows an example for this. It is also based on Wicket 1.3 but this area is not different in Wicket 6. jQuery is just a detail about internals. The Java APIs are still the same. All you

Re: wicket 6 form example?

2013-01-07 Thread Andy Van Den Heuvel
Thanks, I will try it out On Mon, Jan 7, 2013 at 12:55 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, I think https://code.google.com/p/londonwicket/downloads/detail?name=LondonWicket-FormsWithFlair.pdfcan=2q=shows an example for this. It is also based on Wicket 1.3 but this area is

Re: mark bookmarkable Link as selected

2013-01-07 Thread Dirk Wichmann
Ah, I see, thats exact what I'm searching for. I've wrapped the BookmarkableLink in a Panel and override onConfigure() so the default wont match. Thanks, a lot Cheers Dirk Mit freundlichem Gruß *Dirk Wichmann* d...@team-wichmann.de mailto:d...@team-wichmann.de Mobil: +49 163 569 2 563 Am

Re: Applying jQuery Effects (fadeIn, fadeOut) to Wicket 6 components issue.

2013-01-07 Thread Martin Grigorov
Hi, Your investigation is fully correct! I think you can overcome this by adding an invisible panel. I.e. at the server side add style='display:none' to the Panel. Wicket JS will replace the old with the new one and then your fadeIn effect will show it. On Mon, Jan 7, 2013 at 3:01 PM, Carlson

Re: Applying jQuery Effects (fadeIn, fadeOut) to Wicket 6 components issue.

2013-01-07 Thread Hans Lesmeister 2
Martin Grigorov-4 wrote I.e. at the server side add style='display:none' to the Panel. Wicket JS will replace the old with the new one and then your fadeIn effect will show it. And with: panel.setVisible(false); panel.setOutputMarkupPlaceholderTag(true); the style-attribute is added for you by

Re: Applying jQuery Effects (fadeIn, fadeOut) to Wicket 6 components issue.

2013-01-07 Thread Martin Grigorov
On Mon, Jan 7, 2013 at 5:10 PM, Hans Lesmeister 2 hans.lesmeis...@lessy-software.de wrote: Martin Grigorov-4 wrote I.e. at the server side add style='display:none' to the Panel. Wicket JS will replace the old with the new one and then your fadeIn effect will show it. And with:

Static image

2013-01-07 Thread René Vangsgaard
Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId + .png)) But the link becomes stateful. I just found val img = new Image(img, new UrlResourceReference(new