Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Martin Grigorov
Hi, Yes. This is the correct way. It is the default in 6.19.0 On Jul 4, 2015 2:51 AM, "Steve Swinsburg" wrote: > OK solved: > > getSecuritySettings().setCryptFactory(new > KeyInSessionSunJceCryptFactory()); //diff key per user > final IRequestMapper cryptoMapper = new > CryptoMapper(getRootReque

Re: Best Practice - Create component by entity type?

2015-07-03 Thread Per Newgro
This sounds good. I already have a registry where i can register services in a decoupled way. With spring and @PostConstruct no Problem :-). I would ASK then every factory if it is responsible for my entity type. But i still see a problem here. How to prioritize factory if i have more than one f

Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
OK solved: getSecuritySettings().setCryptFactory(new KeyInSessionSunJceCryptFactory()); //diff key per user final IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(), this); setRootRequestMapper(cryptoMapper); On Fri, Jul 3, 2015 at 9:58 PM, Steve Swinsburg wrote: > Hi all, >

Re: Best Practice - Create component by entity type?

2015-07-03 Thread Rob Audenaerde
Hi Per, You can do something like this: Create a set of compontents that will be your panels to display specific Persons. Let's call them PersonPanels. You can introduce a PersonPanelFactory, which might give you the appropriate PersonPanel based on the class of the Person ( person.getClass()

Re: Wicket7: MediaComponent and Source classes

2015-07-03 Thread Tobias Soloschenko
@Maxim: Is there anything left to be done within the media components? Otherwise I am going to vote +1 kind regards Tobias > Am 03.07.2015 um 07:43 schrieb Maxim Solodovnik : > > OK, will try > Thanks > > On Fri, Jul 3, 2015 at 11:38 AM, Martin Grigorov > wrote: > >> HI Maxim, >> >> This w

Best Practice - Create component by entity type?

2015-07-03 Thread Per Newgro
Hi, i think about that problem for some time now. Maybe someone alrady has a good solution. Let's assume we have a Manager entity and a Tainee entity. Both are Person entities. In Model we ask for all persons. So we get a mix from Managers and Trainees in a list. Both concrete entity types sh

cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
Hi all, I am using the cryptomapper to encrypt some URLs and am finding that every logged in user is getting the same encrypted URL for the same pages. ie to go to x page is http://url?wicket-crypt=Uqcgp... for both user A and user B. Is there any way to make this unique for each user? In my App

Re: problem submitting a form twice - quickstart joined

2015-07-03 Thread Francois Meillet
1000 thanks ! François Le 3 juil. 2015 à 09:47, Sven Meier a écrit : > Hi, > > forms are not allowed to be direct children of : > > > > > >http://stackoverflow.com/questions/5967564/form-inside-a-table > > After the first ajax request the browser will re

Re: problem submitting a form twice - quickstart joined

2015-07-03 Thread Sven Meier
Hi, forms are not allowed to be direct children of : http://stackoverflow.com/questions/5967564/form-inside-a-table After the first ajax request the browser will reshuffle the dom elements, so that the form is no longer the parent of the input field: