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 solomax...@gmail.com: OK, will try Thanks On Fri, Jul 3, 2015 at 11:38 AM, Martin Grigorov mgrigo...@apache.org

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

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: 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

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 s...@meiers.net a écrit : Hi, forms are not allowed to be direct children of tr: tr form wicket:id=form td http://stackoverflow.com/questions/5967564/form-inside-a-table After the first

Re: problem submitting a form twice - quickstart joined

2015-07-03 Thread Sven Meier
Hi, forms are not allowed to be direct children of tr: tr form wicket:id=form td 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

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