!! Wicket Authorization Problem !!

2009-03-03 Thread Marco Santos
the method NetCasasAuthorizationStrategy.isInstantiationAuthorized is never executed. So i guess something is missing. Someone knows what? Thanks for the help. Os meus melhores cumprimenstos / Best Regards Marco Santos -- View this message in context: http://www.nabble.com/%21%21-Wicket-Authorization

Re: !! Wicket Authorization Problem !!

2009-03-03 Thread Marco Santos
I already discovery what was wrong. Thanks anyway. on the Application Base class the AuthorizationStrategy and UnauthorizedComponentInstantiationListener must be registred like this: @Override protected void init() { NetCasasAuthorizationStrategy authorizationStrategy = new

MultiFileUploadField: How to filter file types

2009-05-26 Thread Marco Santos
select? Thanks a lot -- Marco Santos

Re: MultiFileUploadField: How to filter file types

2009-05-26 Thread Marco Santos
, Marco Santos mpssan...@gmail.com wrote: Hello there. Im using the MultiFileUploadField but i would like that the user could just see/choose some type of files. for instance, he could only select jpeg or/and png files. I notice that is possible to specify the max size of a file. Is possible

CompoundPropertyModel and Combobox

2009-05-26 Thread Marco Santos
in the CompoundPropertyModel fill the instance variables concerned to the dropdownchoices? Thank you very much -- Marco Santos

Re: What's the simplest way to do Context-sensitive Authorization in Wicket?

2009-05-26 Thread Marco Santos
On the book Wicket in Action there is a chapter (12) that cover the Authentication and the Authorization. It will be very useful to you, and is very easy to understand and implement. This book is very good and i advise you to have, so you can consult as you need. Marco Santos Ben Hutchison-2

Re: CompoundPropertyModel and Combobox

2009-05-28 Thread Marco Santos
are not filled, even more, those getters and setters are not called (in debug mode i noticed that too). Thanks a lot everyone MARCO SANTOS Marcin Palka wrote: The code below works just fine for me. Instead of using complex type as a model object for a drop down I use an instance

DropDownChoices: How to force a selection.

2009-05-29 Thread Marco Santos
and it getter and setter DropDownChoice distritosDDC = new DropDownChoice(distritos, new PropertyModel(selectedDistrito, selectedChoice), distritosModel); distritosDDC.setOutputMarkupId(true); distritosDDC.setRequired(true); } Thanks a lot -- Marco Santos

MultiFileUploadField: Filter file types

2009-06-04 Thread Marco Santos
selected are lost. Thank you ever one -- Marco Santos

Problems Refreshin a Image from AjaxLink

2007-12-22 Thread Marco Santos
Hello there! I'm with problems refreshing an Image. On my web application i'm trying to refresh or change an Image that is on a Panel. On the panel there is a Image (it is rendered the first time) and a label. Outside the panel i have AjaxLink's (that are images too) that refresh the panel, and

Re: Problems Refreshin a Image from AjaxLink

2007-12-22 Thread Marco Santos
. To ensure that browser doesn't cache the image you need to append a string to url that changes on every refresh. Just like NonCachingImage does. -Matej On Dec 22, 2007 8:53 PM, Marco Santos [EMAIL PROTECTED] wrote: Hello there! I'm with problems refreshing an Image. On my web application i'm