Authorization through Spring Security

2010-12-23 Thread Dmytro Seredenko
Guys, did anyone use Spring Security for managing authorization for Wicket-driven webapp? It's still unclear to me: can I use SS 3 as an authorization tool with configuration like: or there is no way to omit wicket-auth-roles? P.S. Although Wicket 'auth' annotations work, I couldn't

Re: no error when html is missing components in 1.4.12

2010-12-23 Thread Jeremy Thomerson
On Thu, Dec 23, 2010 at 8:16 PM, fachhoch wrote: > > previous version of wicket complains about missing components in html , > like > If I add button in my page and did not add this html it compalin missing > component , now I am using wicket 1.4.12 I noticed if component added in > page but n

Re: adding behaviour to a panel

2010-12-23 Thread Jeremy Thomerson
On Thu, Dec 23, 2010 at 8:26 PM, fachhoch wrote: > > I am trying to create a single page app with replacing panels in the page. > > one of my panel needs some jquery and css for which I created a behaviour > and added it to the panel . > when my page is first called it initially has panel (A)

adding behaviour to a panel

2010-12-23 Thread fachhoch
I am trying to create a single page app with replacing panels in the page. one of my panel needs some jquery and css for which I created a behaviour and added it to the panel . when my page is first called it initially has panel (A) , when user clicks on a ajaxbutton I am repalcing this panel

no error when html is missing components in 1.4.12

2010-12-23 Thread fachhoch
previous version of wicket complains about missing components in html , like If I add button in my page and did not add this html it compalin missing component , now I am using wicket 1.4.12 I noticed if component added in page but not in page wicket does not complain, is this normal ? -- Vi

Re: Submitting a form via ajax on hitting the Return Key

2010-12-23 Thread Josh Kamau
Thanks Jeremy. I will try one of those solutions. Josh On Fri, Dec 24, 2010 at 3:12 AM, Jeremy Thomerson wrote: > On Thu, Dec 23, 2010 at 6:03 PM, Josh Kamau wrote: > > > Hi there; > > > > I would like to implement submitting of forms when the return key is hit > > via > > ajax. Is there away

Re: Submitting a form via ajax on hitting the Return Key

2010-12-23 Thread Jeremy Thomerson
On Thu, Dec 23, 2010 at 6:03 PM, Josh Kamau wrote: > Hi there; > > I would like to implement submitting of forms when the return key is hit > via > ajax. Is there away of doing this - I would prefer a solution that doesnt > involve javascript but any answer is welcome. > It's AJAX. And it's res

Submitting a form via ajax on hitting the Return Key

2010-12-23 Thread Josh Kamau
Hi there; I would like to implement submitting of forms when the return key is hit via ajax. Is there away of doing this - I would prefer a solution that doesnt involve javascript but any answer is welcome. Kind regards. Josh.

Where are the feedback messages in the redirect buffer?

2010-12-23 Thread Chris Wewerka
Hi, in our app someone used ONE_PASS_RENDER to bypass/workaround problems with the redirect-after-post pattern in a Apache/Tomcat scenario where the app was not mounted under root path in tomcat, but was mounted under root path in the apache. I figured out the problems with missing rewrite ru

Re: Localized mount points for BookmarkablePages?

2010-12-23 Thread Bas Gooren
I think in wicket 1.4.x this is only possible with a custom mount point; In other words: Override/implement a version of bookmarkable page handling which takes into accoun the locale. Have a look at BookmarkablePageRequestTargetUrlCodingStrategy. You could implement this class, overriding it's

Re: Localized mount points for BookmarkablePages?

2010-12-23 Thread Thomas Götz
Ok, thanks for that hint. But: if I mount the page using the method you described, which mount name will be taken when referencing the page via a BookmarkablePageLink? What I want to achieve is that if the current user/session is set to locale "GERMAN" e.g., then all BookmarkablePageLinks shoul

Re: Localized mount points for BookmarkablePages?

2010-12-23 Thread Hans Lesmeister
Hi, you van pass a list with alternates to the mount-annotation. Same can be done on mounting programmatically. Regards Hans Am 23.12.2010 um 12:29 schrieb Thomas Götz : Hi, is it possible to have localized mount points for BookmarkablePages? Example: I have a BookmarkablePage GeneralPag

Localized mount points for BookmarkablePages?

2010-12-23 Thread Thomas Götz
Hi, is it possible to have localized mount points for BookmarkablePages? Example: I have a BookmarkablePage GeneralPage.java which should be available under http://my.domain.com/General and http://my.domain.com/Allgemein (german) ... depending on the current locale. Is this possible? If yes, co

Moving wicketstuff to github

2010-12-23 Thread Martijn Dashorst
All, Last week we (wicket+wicketstuff devs) had a discussion on dev@ and decided to move all wicketstuff code to github.com. Reasons to move to github are: - using git - social features for interacting with grander community (merging, pull requests, forking) - integrated wiki, issue tracker (n

Re: Calling javascript from AjaxCheckBox

2010-12-23 Thread Martin Grigorov
Try harder ;-) This is not how AjaxLink code looks like. On Thu, Dec 23, 2010 at 7:27 AM, javax wrote: > > Thank you, I tried to take code from AjaxLink - the same result: > > public abstract class PropertyCheckBox extends CheckBox { >private static final long serialVersionUID = 1L; > >p