I know this is topic has been discussed frequently and I fully agree with the current packaging methodology. There are many case where it would be nice to have content easily included that was produced by the HTML designer without having to associate a corresponding java class. I think I have a solution that is workable and doesn't violate the current best practices. Let me know if I am missing something.
In certain cases for content such as press releases or other user generated content I would like to enable inclusion of pure content as a "component" in a Wicket page. I am contemplating a component that would do the following. - Extend one of the existing containers such as WebComponent. - This component when inserted in a page would get the actual source html from a Page Parameter such as http://host/wicketapp?RealPage.html or http://host/wicketapp?content=RealPage.html . - RealPage.html identifies the location of the content to be inserted. In this way I can create a wicket template for the main containment page and then use it typically to insert the user generated content. This gives me the flexibility I want without having to generate a class for all included content. Am I missing something here? Thanks -- View this message in context: http://www.nabble.com/Pattern-for-seperation-of-Java-and-Html---Comments-Welcome-tf3796132.html#a10737158 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user