Closed GoogleCodeExporter closed 9 years ago
Hi,
jqwicket currently supports only wicket 1.4.x.
As soon as new wicket 1.5 stable is available, i'll provide a new version
supporting 1.5.
Issue accepted.
Original comment by m...@javaforge.net
on 25 Dec 2010 at 11:00
Is there any release planned for wicket 1.5 support?
Thanks,
Santhosh
Original comment by santhosh...@gmail.com
on 28 Jun 2011 at 11:01
Hi!
I wanted to use this great library with Wicket 1.5, so I've forked it on github
and creating a wicket-1.5 branch, where I put a commit which made the demo work
with 1.5 as expected (though I didn't test it thoroughly, but it seemed to
work).
The repo: https://github.com/messo/jqwicket
You can use the commit as a patch which you can apply if you want. There could
be room for improvement as well ;)
Original comment by bal...@krivan.info
on 7 Jul 2011 at 9:27
Hi Bálint,
thanks for your feedback.
Before i backport your sources to the jqwicket head, can you please briefly
explain what you've done exactly? Looks like the code from
JQComponentOnBeforeRenderListener and JQContributionRenderer was moved to the
JQBehavior and both classes were removed.
Do you have any issues with your fork currently?
Thanks,
Max
Original comment by m...@javaforge.net
on 25 Jul 2011 at 8:12
Hi Max!
I was having a very strange bug without this modification, if I've pressed F5 a
few times I've got a strange NPE in Wicket (which is now fixed in the wicket
trunk, so it shouldn't be happen anymore, but it was strange so I didn't like
it).
And beyond this, the main reason of the modification is that Behaviors now can
do exactly what ContributionRenderer did, and it was a little bit unneccessary,
because when I read the code it seemed that you collected the attached
behaviors just to store it in an other object and render them there. This
little trip can be omitted.
I've done other modifications as well, but those aren't so significant changes
(like adding i18n, adding fullcalendar, adding parent pom etc.). The other
thing I would like to do is remove the JSON thingy from Utils and use purely
GSON, which seems a really handy JSON library and it would make the code
cleaner, what do you think?
The other question of mine is purely administration-like. Do you want to move
to github? There you could have pull-requests and there is issue-mgmt aswell.
Currently I'm having a little issue with CKEditor because of the externel JS
gets 404, I think this is because the different resource handling in 1.5. I
will look into this.
Regards,
Bálint
Original comment by bal...@krivan.info
on 25 Jul 2011 at 9:40
Hi Bálint,
as soon as i have a little bit more time, i'll take a look at your fork. Wicket
1.5 is almost ready, it will be time to release a new jqwicket version for it.
GSON is a nice library, true. One thing is, i don't want to have external
dependencies in jqwicket, just keeping it small and selfcontaining. One
possibility will be to extract neccessary classes from GSON and put them to
jqwicket.
Regarding github. I'm currently very happy with google code and its
infrastructure. But if you want to enhance the jqwicket functionality, i can
add you as contributor and after some succesful patches as commiter to the
project.
Max
Original comment by m...@javaforge.net
on 1 Aug 2011 at 9:26
I'm kind a person who likes to use stuff which is already written. Currently
JSON stuff in jqwicket is really bad, it's just add (double-)quotes, and it's
done. It doesn't escaping etc. And for Options we could use JsonObject which
does the {foo: bar} stuff correctly. GSON isn't a bloated library, it's
lightweight and it does its job pretty good.
Original comment by bal...@krivan.info
on 1 Aug 2011 at 11:47
The other thing we could do is to remove the behaviors almost completly.
Currently behaviors are specifing some methods which are invoked from
components. It seems kind of duplication. The jquery methods could be defined
in componennts, and components can have renderhead aswell.
Original comment by bal...@krivan.info
on 1 Aug 2011 at 1:11
> I'm kind a person who likes to use stuff which is already written.
me too. but i'm also a friend of small, lightweight, selfcontaining libraries
without overblown dependency hierarchy if it is not really necessary (after all
wicket itself reimplements the most common utility classes/methods for handling
strings, streams, collections,... without depending on commons-lang,
commons-io, google-collections etc). thats why i would prefer to embed GSON
sources (completely or partially) into the jqwicket instead of defining it as
external dependency.
> The other thing we could do is to remove the behaviors almost completly.
There was a specific reason to do that. JQuery-plugins (= JQBehavior-s) only
"enhance" the existing components by adding additional UI-behavior to them,
similar to the wicket's behavior concept itself. Putting the implementation of
jquery plugins into the wicket behavior allows the user to combine/add multiple
jq-behaviors to the single component (e.g. drag'n'drop + resize + animations +
....), without knowing how the real component will look like.
If you move every behavior to a single component, you'll lose this kind of
flexibility. You will not be able to combine multiple jquery plugins within the
single component anymore without writing a lot of duplicate code, creating
complex inheritance hierarchies or reimplementing things already done in
jqwicket.
Of course there are some jquery plugins that are self-containning and can be
extracted to the components (e.g. DateTextField, DateTimeTextField,..). But
this is more an exceptional case for me.
Original comment by m...@javaforge.net
on 1 Aug 2011 at 2:37
Yeah, for drag&drop and other stuff I recommend behaviors for sure. But there a
lot seperate components like:.... Oh yeah, there aren't :D Then I've overlooked
on something.
Original comment by bal...@krivan.info
on 1 Aug 2011 at 3:02
available in jqwicket 0.7
Original comment by m...@javaforge.net
on 14 Sep 2011 at 7:37
How can I do to install jqwicket 0.7? If I change my project's pom, I get
Downloading:
https://repository.jboss.org/nexus/content/groups/public//com/google/code/jqwick
et/jqwicket/0.7/jqwicket-0.7.pom
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:pom:0.7' in
repository jboss (https://repository.jboss.org/nexus/content/groups/public/)
Downloading:
http://jqwicket.googlecode.com/svn/m2-repo/releases//com/google/code/jqwicket/jq
wicket/0.7/jqwicket-0.7.pom
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:pom:0.7' in
repository googlecode (http://jqwicket.googlecode.com/svn/m2-repo/releases/)
Downloading:
http://repo1.maven.org/maven2/com/google/code/jqwicket/jqwicket/0.7/jqwicket-0.7
.pom
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:pom:0.7' in
repository central (http://repo1.maven.org/maven2)
Downloading:
https://repository.jboss.org/nexus/content/groups/public//com/google/code/jqwick
et/jqwicket/0.7/jqwicket-0.7.jar
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:jar:0.7' in
repository jboss (https://repository.jboss.org/nexus/content/groups/public/)
Downloading:
http://jqwicket.googlecode.com/svn/m2-repo/releases//com/google/code/jqwicket/jq
wicket/0.7/jqwicket-0.7.jar
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:jar:0.7' in
repository googlecode (http://jqwicket.googlecode.com/svn/m2-repo/releases/)
Downloading:
http://repo1.maven.org/maven2/com/google/code/jqwicket/jqwicket/0.7/jqwicket-0.7
.jar
[INFO] Unable to find resource 'com.google.code.jqwicket:jqwicket:jar:0.7' in
repository central (http://repo1.maven.org/maven2)
Original comment by gonzaloa...@gmail.com
on 22 Sep 2011 at 10:43
jqwicket 0.7 is now released and available as maven artifact. try once again.
Original comment by m...@javaforge.net
on 25 Sep 2011 at 6:14
Now it works. Thanks.
Original comment by gonzaloa...@gmail.com
on 26 Sep 2011 at 11:49
Original issue reported on code.google.com by
tritreec...@gmail.com
on 25 Dec 2010 at 8:06