Hi


I would strongly recommend a version with wicket templates.

Wouldn't it be the most important reasons for using a Wicket CMS   that you 
don't have to deal

with any scripting language but plain html ?

So I would prefer Number 2 (use Wicket templates, but create additional, CMS 
specific tags for 

'auto-include' of components.)



Greeting grischan



>Perhaps we need to define the problem better...
>
>
>A typical article has an author, date written, date last modified,
>tags, content, summary, keywords, title, subtitle, etc.
>
>Some people like to show everything on their blogs, so you get in a
>Wicket template:
>
><div wicket:id="article">
><h1 wicket:id="title">[title]</h1>
><div wicket:id="header">
>    <span wicket:id="author"></span>
>    <span wicket:id="lastModified"></span>
>    <span wicket:id="published"></span>
></div>
><div wicket:id="content"></div>
></div>
>
>Now if someone doesn't like the author, then they would in a PHP world
>just remove the declaration...
>
>In Wicket, we have a component hierarchy where the components need to
>line up. Remove a component definition form the markup, then you have
>to modify the Java code as well...
>
>How do we solve this?
>
>1. use Wicket templates, but use blocks, which are panels. In an admin
>interface you get to modify the visibility flag of the blocks on the
>template. The template's hierarchy remains fixed, but you can modify
>it to some extent.
>
>2. use Wicket templates, but create additional, CMS specific tags for
>'auto-include' of components.
>
>3. drop Wicket type templates but rely on a specific templating
>solution altogether, and use Wicket for the maintenance screens
>
>Martijn


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to