Re: AjaxEditableMultiLineLabel place cursor on click location

2016-03-19 Thread Simon B
Thanks for the quick reply, I'll have a go with that! Cheers Simon On 17 March 2016 at 14:39, Martin Grigorov-4 [via Apache Wicket] wrote: > Hi, > > This requirement sounds quite sophisticated! > Initially AEMLL is rendered in view mode - as a Label, i.e. a . > When you click on this then an Aj

simple automated accessibility testing

2016-03-19 Thread Boris Goldowsky
I¹m thinking it would be handy to automate testing of the simplest of validity & accessibility requirements ­ eg, checking that every element has an alt attribute, and every form input has a label. Eventually maybe taking this up a notch and connecting with existing HTML validation and a11y-checki

ResourceModel usage within ModalWindow content Panel

2016-03-19 Thread ChambreNoire
Hi, I'd like to be able to use localised string resources declared within the ModalWindow's parent panel from within the ModalWindow content Panel. Any ideas? Many Thanks, CN -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ResourceModel-usage-within-ModalWindow-con

Re: ResourceModel usage within ModalWindow content Panel

2016-03-19 Thread Sven Meier
Hi, if you're using a panel as the ModalWindow's content (not a separate page), you can use Wicket's usual resource resolving: https://ci.apache.org/projects/wicket/guide/7.x/guide/single.html#i18n_3 Regards Sven On 19.03.2016 13:17, ChambreNoire wrote: Hi, I'd like to be able to use local

AjaxEditableMultiLineLabel place cursor on click location

2016-03-19 Thread Simon B
Hi, First of all thank you to everyone for such a great framework! My question is that when I use the AjaxEditableMultiLineLabel and click on the displayed text the subsequent text in the textarea form element is *all* selected, this makes it difficult to then find the place that I wanted to edi

Re: ResourceModel usage within ModalWindow content Panel

2016-03-19 Thread ChambreNoire
Hey there, Indeed I'm using a Panel rather than a separate page. I could just use StringResourceModel("key", modalwindow.getParent(), null) but I was hoping for something less verbose that would cover all resourcemodel use in the modal content panel... Thanks, CN -- View this message in contex

Re: ResourceModel usage within ModalWindow content Panel

2016-03-19 Thread ChambreNoire
No that won't work anyway because the ModalWindow instance is added at the page level and reused throughout. So basically I need to pass the panel where the content panel is instantiated to this content panel so that it can resolve the resources. Bit ugly.. -- View this message in context: http:/

Re: ResourceModel usage within ModalWindow content Panel

2016-03-19 Thread ChambreNoire
Nevermind, using a PackageStringResourceLoader works fine! CN -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ResourceModel-usage-within-ModalWindow-content-Panel-tp4674067p4674077.html Sent from the Users forum mailing list archive at Nabble.com. ---