Hi * serialVersionUID and anonymous inner classes
Quite often in my code, I've got some warning due to non define serialVersionUID. I usually tell Eclipse to generate them for me. However, for the anonymous inner classes, which are quite commun, I'm not sure it's ok. Is it ? Furthermore, I'm wondering which risk I would take by using the @SuppressWarnings("serial") annotation. Do you have a clue ? * Best practices for working with Hibernate and Spring, especialy regarding DAO handling and session ? What I'm afraid of is putting a Pojo on a CRUD like page and that between this time and the following submit the Pojo is changed somewhere else. I could have some mismatch and I don't really know how to handle it in Wicket. Do I have to store the object on the page and then check on submit that it hasn't changed ? * On my "common layout", I would like to hide or show some links depending on the user type. Do I have to do a custom component panel with a Link inside which can be set up and then call it as many times as required ? * Still on my "common layout", I would like to show some links to "plain old html pages" (POHP?) and have a functionnaly similar to .setAutoEnable(true). What's the best way to do so ? I hope you don't mind these questions and... thanks in advance ! ++ ZedroS ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user