On 8/15/07, juliez <[EMAIL PROTECTED]> wrote:
>
>
> 2. AJAX components (Wicket vs. ZK)
> From the demo websites, it seems ZK provided more AJAX components than
> Wicket. (As I haven't worked deeply with Wicket, it could be Wicket either
> provided more components or easy to write those components.) But I am
> wondering is it easy to use Wicket to implement features like drag and
> drop,
> date picker...


you do not implement features like drag and drop or datepicker in wicket,
instead you wrap javascript libraries that implement those features with
wicket components.

i am attaching an example of this. it is a calendar component that wraps the
yui calendar. it isnt a datepicker because it doesnt popup, it simply embeds
into the page, but it should give you some idea of how this is done. the
code can be a lot less complex because this calendar implements
date-highlighting via ajax as you page through it.

wicket also has datepicker in wicket-datetime module and in
wicketstuff-calendar. i think there are drag and drop wrappers for dojo and
scriptaculous in wicketstuff-dojo and wicketstuff-scriptaculous modules.

3. Target application (Wicket)
> There is a trend to move from multi-page application to single-page
> application (or a few pages which much lesser than traditional page-based
> web application) using AJAX. As far as I know, Wicket is a component-based
> framework and very OO, which means the components could be well reused and
> maintained, but is it easy to build such single-page application? Would
> one
> or a few more page classes be very large?


like you say, wicket is component oriented. it doesnt really care how you
build your app: many pages or a single page. at my day time job we have an
app that is mostly a single page with a lot of component replacement. works
just fine.

4. Integration (Wicket)
> How about using Wicket together with existing JSF application?


how about it? i dont see why you would want to integrate a ui framework with
another ui framework.


in the end what you should do is write a small app using both frameworks to
get a feel for them.


-igor


Any suggestion on comparing the two freamworks is welcome!
>
> Thanks!
> Julie
> --
> View this message in context:
> http://www.nabble.com/Wicket-vs.-ZK-tf4276516.html#a12172596
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Attachment: calendar-init-template.js
Description: JavaScript source

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to