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 "h

Re: Freemarker+ExtJS vs Wicket questions

2011-12-05 Thread Andrei Voden
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? 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 Brian Mulholland
> I'm not sure what exactly you tried but here is how I'd approach it: > - create a Wicket component that purpose is to render just the HTML > needed by the ExtJS component > e.g. > for this simple HTML snipper you can just use WebMarkupContainer, but > for something more complex you'll need your

Re: Freemarker+ExtJS vs Wicket questions

2011-12-05 Thread Martin Grigorov
Hi, On Mon, Dec 5, 2011 at 1:23 PM, Brian Mulholland wrote: > As a Wicket neophyte myself I can't comment on most of this, but we > did just look deeply into the notion of subclassing components for the > purpose of making them render as rich text widgets from ExtJS.  Having > just done that I wi

Re: Freemarker+ExtJS vs Wicket questions

2011-12-05 Thread Brian Mulholland
As a Wicket neophyte myself I can't comment on most of this, but we did just look deeply into the notion of subclassing components for the purpose of making them render as rich text widgets from ExtJS. Having just done that I will say that there are ALOT of little hidden nits and difficulties that

Re: Freemarker+ExtJS vs Wicket questions

2011-12-04 Thread Martin Grigorov
o.a.w.Component and Behavior classes have method #renderHead(IHeaderResponse) with IHeaderResponse#renderXyz methods you can contribute JS, CSS and plain text to the page. It is up to you how you'll generate the constribution. In TagIt component I used TextTemplate to prepare the template and popu

Re: Freemarker+ExtJS vs Wicket questions

2011-12-04 Thread Andrei Voden
Thank you for your input. Really helping me to grasp it. Question on #4 in Cons: what I ment is to generate templated content outside of the tags. Like for example I have: .templated code. Is that doable? Sorry if that sounds newbeesh. Andrei

Re: Freemarker+ExtJS vs Wicket questions

2011-12-04 Thread Martin Grigorov
Hi, I don't want to convince you anyhow. Just responding to your questions/observations. On Sun, Dec 4, 2011 at 6:30 AM, Andrei Voden wrote: > Hi. I have been developing for a while using Freemarker + some JS > frameworks (like ExtJS, Dojo and JQuery) and Java as Model building on > back-end. No