You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Yoav Shapira <yo...@apache.org> on 2007/03/16 15:13:49 UTC
Why is Dojo included in simple theme?
Hi,
This is probably a naive question, but I've looked around a bit and
couldn't find a simple answer. Why does the simple theme in Struts 2
include Dojo at all?
I know it's "minimal" inclusion, but it's still a contamination that
goes against the stated principle of the simple theme: to render "bare
bones" HTML elements (quote from
http://cwiki.apache.org/WW/simple-theme.html).
More importantly, if I don't want the Dojo stuff, there are multiple
places in the "simple" theme that I have to customize. It seems to me
like the simple theme should be plain HTML, and other themes like Ajax
should add Dojo if they so desire.
Thanks,
Yoav
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Why is Dojo included in simple theme?
Posted by Musachy Barroso <mu...@gmail.com>.
On 2.1(trunk) we are removing Dojo from core to a plugin, so that won't be a
problem anymore. Only for tooltips we'll use javascript (no Dojo anyway).
Here is the jira ticket:
https://issues.apache.org/struts/browse/WW-1607
musachy
On 3/16/07, Yoav Shapira <yo...@apache.org> wrote:
>
> Hi,
> This is probably a naive question, but I've looked around a bit and
> couldn't find a simple answer. Why does the simple theme in Struts 2
> include Dojo at all?
>
> I know it's "minimal" inclusion, but it's still a contamination that
> goes against the stated principle of the simple theme: to render "bare
> bones" HTML elements (quote from
> http://cwiki.apache.org/WW/simple-theme.html).
>
> More importantly, if I don't want the Dojo stuff, there are multiple
> places in the "simple" theme that I have to customize. It seems to me
> like the simple theme should be plain HTML, and other themes like Ajax
> should add Dojo if they so desire.
>
> Thanks,
>
> Yoav
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd