igor.vaynberg wrote:
>
> at its core all a cms does is display some user generated content. that
> can
> be accomplished by simply doing this:
>
> class cmspage extends webpage {
> public cmspage(pageparameters params) {
> long pageid=params.getpageid();
> string html=database.loadpage(pageid);
> add(new label("content", html).setescapemarkupstrings(true));
> }
> }
>
> <html><body wicket:id="content"></body></html>
>
> now that one page can display any html out of database
>
> -igor
>
>
that's gorgeous!
I think I'll leave html out of EB but this tecnique is still applicable.
All I need is to investigate next if nested wicket tags are processed, or
eventually trying further approaches.
Now I know the way to manage dinamically html pages and this open new,
undiscovered, worlds to me <smiley image='smiley_super.gif' text=':super:' /
--
View this message in context:
http://www.nabble.com/Is-Wicket-suitable-for-my-CMS--tf4536847.html#a13197859
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]