I'll happily submit the topics stuff as a patch but it's not *quite* that
straight-forward as there's a bit of structural code (albeit all in one .js)
file for it as well. I think we do need that strategy/design discussion
before we proceed.

Some initial thoughts:
 - I think it is much better to maintain the struts/jquery integration code
in one (or maybe more) .js files which are included in head, rather than
embedding increasingly complex .js code in the templates. This will be much
easier to maintain in the long run and allows us to support additional
templates without duplicating js code (I quickly realized this when I was
initially supporting javatemplates as well as freemarker).
 - We need to be clear on what bits of jquery we will support (this is
mainly about widgets) - I like the initial suggestion to support only the
'officially' released widgets as tempting as it may be to support some other
cool ones. I think this will help prevent some of the dojo issues. We can
make sure that adding custom widgets isn't to difficult to make up for this
restriction (I've given an initial attempt at this already.)
 - With jquery and the loose coupling provided by topics, I think we can
make the plugin provide powerful yet easy-to-use out-of-the box
functionality while still remaining open and highly extensible for advanced
users. However, I think we should be clear on how we do this - what are the
important extension points, how do users provide custom widgets etc...

- Eric


On Tue, Jul 28, 2009 at 2:29 PM, Rainer Hermanns <herma...@aixcept.de>wrote:

> Hi,
>
> the implementation looks really awesome and I'd really like to see this
> plugin in the core of Struts2. When we talked about the simple ajax tags
> we want to build, we were already talking about jQuery as the foundation.
>
> I'm really happy, that Johannes implemented this plugin and it is now
> ready to use and I will definitely use it.
> If we bring it into Struts2 core, I'm also willing to support this plugin
> and help to maintain and extend the functionality.
>
> > I would like for us to define some strategy for this, and don't let
> > drag for months. Do we all agree that bringing this into the sandbox
> > is a good idea then?
> Here is my +1, but maybe we should call a formal vote on this?
>
> cheers,
> Rainer
>
> --
> Rainer Hermanns
> aixcept
> Willibrordstraße 82
> 52134 Herzogenrath - Germany
> w: http://aixcept.de/
> t: +49 - 2406 - 979 22 11
> f: +49 - 2406 - 979 22 13
> m: +49 - 170 - 343 29 12
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to