Yes it's normal practice to make a simple project that demonstrates the
functionality... Like
http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicket-contrib-accordion-examples/
etc.. It usually does not take that long to construct and, is very good
for users to learn from.
regards Nino
Flemming Boller wrote:
I think you should add HomePage, or something like that, so users can see
how to use this library.
It is not easy to guess that for example many of the components shall not be
in the markup
when using this library, at least for the "normal" wicket user.
Anyhow I found out that the ExtJS is a singleton (should it be?) and is
clearing the children list after rendering.
I think that is the reason why the response is rendered empty, when I press
"Save" button on a ExtJSForm. - just a thought
/FLemming
On Feb 7, 2008 11:19 PM, Jeremy Fergason <[EMAIL PROTECTED]> wrote:
Yes, that's because I used the wicket archetype to create the project
originally. I'll remove TestHomePage.java.
Thanks for the catch!
-Jeremy
On Feb 7, 2008 1:06 PM, Flemming Boller <[EMAIL PROTECTED]> wrote:
Hi
Yes, but in your test class (TestHomePage.java) you reference
HomePage.class
That was why I mentioned it.
/FLemming
On Feb 7, 2008 8:35 PM, Jeremy Fergason <[EMAIL PROTECTED]>
wrote:
There is no HomePage.java because this is not a wicket application.
It
is
a
library that you can use in your applications. If you want to use it
you
can compile it by downloading the source and then compiling with: mvn
compile, or you can just add the following lines to your applications
POM
and maven will automatically download the appropriate files for you:
<!-- ExtJS (javascript library) DEPENDENCIES -->
<dependency>
<groupId>org.wickettools.extjs</groupId>
<artifactId>extjs</artifactId>
<version>0.1.0</version>
</dependency>
also add the following to your repositories section (the files should
be
in
the global maven repository soon):
<repository>
<id>wicket-tools-exjts</id>
<name>wicket-tools-extjs repository</name>
<url>http://wicket-extjs.sourceforge.net/maven2/</url>
</repository>
On Feb 7, 2008 8:51 AM, Flemming Boller <[EMAIL PROTECTED]>
wrote:
Hi
I have tried it a little bit, but I think you have forgot to include
some
source files. Like HomePage.java.
/FLemming
On Feb 7, 2008 4:02 AM, Jeremy Fergason <[EMAIL PROTECTED]>
wrote:
All,
I've been trying to use the ExtJS forms from within wicket. It
seemed
that
several people out there were trying to do this with limited
success;
except
for the occasional person saying they had done it. I have got the
integration working OK at this point and would like to make the
integration
module available to the community at large. If you are interested
in
using
ExtJS forms from within wicket checkout the wicket-tools-extjs
module
at:
www.wickettools.org
I'm pretty new to wicket so please comment on the design with any
suggestions of how I could improve it. Also if there is anyone
who
is
interested in helping out I would love to have the support.
Hope you find this useful.
-jdf
--
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]