RE: Freemarker+ExtJS vs Wicket questions

2011-12-06 Thread Wilhelmsen Tor Iver
> Plus another problem I see is if I have to use separate
> templates for each 

Re: Freemarker+ExtJS vs Wicket questions

2011-12-05 Thread Martin Grigorov
On Mon, Dec 5, 2011 at 7:52 PM, Andrei Voden  wrote:
> I think using String.format for that is breaking idea of MVC where you
> endup writing JScript code in Java. Sounds really awkward.
> I guess I can hookup Velocity or Freemarker but isnt whole point of Wicket
> is to replace that?

you asked "how to do if/else in my templates" not me ;-)

 Plus another problem I see is if I have to use separate
> templates for each  tag I may end up with lots of small files so my
> logic will be peppered around.

The templates should be in separate files because this way your
components will contribute only what is needed by them.
But then Wicket can merge all these contributions in one