On 11/11/2009 02:15 AM, Sven Pfeiffer wrote:
Hi Hantsy,
there is an AJAX implementation in clickclick.
Take a look at http://code.google.com/p/clickclick/
Partial Page updates and AJAX form submits are supported.
hth
SVen
Hantsy Bai wrote:
I want some ajax features in Click, it there some feature like this?
1. Partial Page update (may be an Ajax Panel), or render a page
fragment in a panel dynamically.
eg. There are three sections in a Page, header, content, footer, I
want to update content area by click menu in header area and It no
need to update the whole page.
2. Partial form submitting (for instant validation and others
behavior ).
eg. Select a item form select combox, auto fill the second select
combox options according the item selected in the first combox.
The click extras is shipped with prototype(it think adding
scriptaculous support is welcome), I think many feature can be added,
such as inplace editor, drag and draw, ajax tree(lazy loading the sub
nodes) , other some effects provide by scriptaculous(without
programming).
Is there some example or some control component to implement these?
Kind regards.
Thank you very much.
It seems good.
I think the Click framework should support basic AJAX(deeply integrated
Prototype and scriptaculous) by default, and allow custom AJAX extension.
To use the ClickClick ajax support, it must use its specified Servlet
instead of the default ClickServlet, it is not a good idea, imagine
that I want to use Spring(provided by click-extras) and ClickClick, how
to configure the Servlet?
I think the Click core framework should expose lifecycle event control
and allow custom event process to avoid this.
By the way, I think the click-extras can be split into several package
for different purposes, such as click-extension-hibernate,
click-extension-spring...
--
Hantsy Bai
Guangzhou, China
http://hantsy.blogspot.com