Yes ClickClick isn't compatible with Click-2.0.1 anymore and the docs are out of date.

A major feature in ClickClick is Ajax support. Click 2.0.1 didn't have all the necessary infrastructure to support it properly though. The main features needed were getHeadElements and a more flexible ControlRegistry. These features are in 2.1.0, so with 2.1.0 released things should be more stable and an alpha release of ClickClick can be cut.
I updated the build.xml to use Click 2.1.0(and built the latest Click from trunk),
but ClickClick still does not compile :(.

Is it possible that you are using locally for ClickClick an intermediary Click version (so not the latest from trunk)?

I'm getting the following error:
----------------------------------------------------------------------------------
c:\work\clickclick>ant build-all
Buildfile: build.xml

clean:
   [delete] Deleting directory c:\work\clickclick\dist
    [mkdir] Created dir: c:\work\clickclick\dist

build:
   [delete] Deleting directory c:\work\clickclick\core\classes
    [mkdir] Created dir: c:\work\clickclick\core\classes
     [copy] Copying 49 files to c:\work\clickclick\core\classes
    [javac] Compiling 40 source files to c:\work\clickclick\core\classes
[javac] c:\work\clickclick\core\src\net\sf\clickclick\AjaxControlRegistry.java:104: getThreadLocalRegistry() in net.sf.clickclick.AjaxControlRegistry cannot override getThreadLocalRegistry() in org.apache.click.ControlRegistry; attempting to use incompatible return type
    [javac] found   : net.sf.clickclick.AjaxControlRegistry
    [javac] required: org.apache.click.ControlRegistry
[javac] protected static AjaxControlRegistry getThreadLocalRegistry() {
    [javac]                                          ^
[javac] Note: c:\work\clickclick\core\src\net\sf\clickclick\reload\ReloadClassFilter.java uses
 or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

BUILD FAILED
c:\work\clickclick\build.xml:243: The following error occurred while executing this line: c:\work\clickclick\build.xml:61: Compile failed; see the compiler error output for details.

Reply via email to