Thanks for the reply. Not suggesting it should be part of the main distribution. I am new to the framework and was trying to see if what I proposed made sense. I want to make sure that I don't hinder or create barriers to content creation on our portal and wanted to do it in a manner that made sense. Maybe there are other ways to manage "separation of concerns".
In general are their recommended best practices regarding coordination and workflow between the pure HTML designers and Java coders? In the component model, seems like an HTML designer will come up with basic look and feel, CSS, etc. and then the people on the framework side will refactor/"componentize" the markup. At this point the original markup may now be generated by an OO refactoring involving a number of new pages/components to insert dynamic content/behavior. The original design is now split into a variety of new pages and will no longer be readily accessible to the original designer as they now have to work on a variety of fragments. Any references to how to keep the HTML development happy would be appreciated. Thanks Eelco Hillenius wrote: > > Well, it's something you can quite easily do yourself. See > org.apache.wicket.examples.customresourceloading. Unless I don't > understand what you mean, it doesn't sound like something that should > be a generic facility in Wicket to me. > > Eelco > > > On 5/22/07, mchack <[EMAIL PROTECTED]> wrote: >> >> 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 >> > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/Pattern-for-seperation-of-Java-and-Html---Comments-Welcome-tf3796132.html#a10741195 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
