Re: container authentication and form action url

2009-12-07 Thread Alfredo Aleandri
Igor Vaynberg wrote: dont use a wicket form if you dont want it processed by wicket. -igor Hi Igor, I want to use wicket to manage that page, I want to process user data to fetch user profiles by username/password than I will post all user data (name/password/profile) to j_security_check

container authentication and form action url

2009-12-07 Thread Alfredo Aleandri
Hi all, I've setup my container-authentication (form based) using a simple SigninPage (mounted on /login) and a dummy protected url "/protected", here is the web.xml relevant code: w myapp /protected GET POST FOR

user input lost on first form submission

2009-05-22 Thread Alfredo Aleandri
Hi all, I have a simple sign-in page with a form and two fields (username and password) public LoginPage() { super(); add(new SignInForm("signInForm")); } private class SignInForm extends Form { private String username, password; publi

Application scope vs Singleton

2009-05-15 Thread Alfredo Aleandri
Hi, I have a doubt about application-scoped objects. What's the pro and cons of setting an object instance into my WebApplication class or define that class as singleton (using a static method to access it) ? Thank you alf

Datatable columns converter

2009-05-12 Thread Alfredo Aleandri
Hi, I can't figure out the best way to define something like a object-to-string converter to add to a DataTable's column (PropertyColumn). I have an Integer in my model and I want to display a proper String to the user by a defined mapping. Thank you alf

AjaxTabbedPanel custom validation behaviour

2009-05-08 Thread Alfredo Aleandri
I'm using an AjaxTabbedPanel and I would like to obtain the following behaviours: 1) user input must be retained when switching tabs 2) tabs link should skip only the "requireness" validation but not all other validators so the user can switch from tab to tab if he doesn't insert bad input

datatable columns shuffle

2009-04-23 Thread Alfredo Aleandri
Hi, I'm a wicket beginner. I'm trying to shuffle the columns of a datatable using an AjaxFallbackLink, this is my code (only relevant part): my WebPage content: private AjaxFallbackDefaultDataTable usersTable; private List> userColumns = new ArrayList>(); private UserProvider userProv