Hi Charles,

I see what you mean. Are you the maintainer of this json-lib project? I prefer 
to be independent from other projets at this stage because I suffered from some 
stalled projects in the past.
If the 1.0 is in sight for the jwicket project I will rethink using json-lib 
project if composing the javascript string can be handled with it.

Stefan


-----Ursprüngliche Nachricht-----
Von: Charles Deal [mailto:chuckdea...@gmail.com]
Gesendet: Di 11.05.2010 15:13
An: users@wicket.apache.org
Betreff: Re: : WicketStuff jWicket - Where is it?
 
In JQueryAjaxBehavior, you have five protected inner classes that (by my
interpretation) are creating the JSON formatted string to pass to the jQuery
methods.

DraggableBehavior, for example, has an options property of type JsMap.  In
the getJsBuilder method of that class, you call toString() on the options
property which basically produces a JSON string.

I was just saying that that internal code could be replaced with the
json-lib project which accomplishes the same task and would remove the
"duplicate" code from this project.  And yes, ideally, I won't "see" any
JSON in the code, but that doesn't remove the fact that the code must
generate the options object for the jQuery behaviors.


On Tue, May 11, 2010 at 7:51 AM, Stefan Lindner <lind...@visionet.de> wrote:

> Are you sure you are talking about jwicket? Where dou you see any JSON
> stuff in jwicket?
>
>
> -----Ursprüngliche Nachricht-----
> Von: Charles Deal [mailto:chuckdea...@gmail.com]
> Gesendet: Di 11.05.2010 13:39
> An: users@wicket.apache.org
> Betreff: Re: WicketStuff jWicket - Where is it?
>
> Thanks, I was able to get things sorted out.  Is there a "support" site for
> this project?  Live examples, wiki, jira.  Are you using wicketstuff for
> those facilities?
>
> I found a couple of things that I'd like to report.
>
> Also, one of the things I did like about the wicketstuff-jquery project was
> how it handled the options.  It did use an external dependency [1] to
> handle
> the JSON stuff.  Each behavior basically had an Options class that went
> with
> it, that knew how to build the JSON object.  I didn't initially care for
> it,
> but then I realized that it really reduced the noise on the behavior and
> left the options to be supplied by the user. Even though this adds an
> external dependency, it would remove the JSON specific classes from this
> code base so that it could be really focused on the jquery tasks.
>
>
> [1]      <dependency>
>                <groupId>net.sf.json-lib</groupId>
>                <artifactId>json-lib</artifactId>
>                <version>2.2.2</version>
>                <classifier>jdk15</classifier>
>            </dependency>
>
> On Mon, May 10, 2010 at 12:16 PM, Stefan Lindner <lind...@visionet.de
> >wrote:
>
> > Yes! It is. It's based upon jQuery 1.4.2 and jQuery-ui 1.8.0.
> > Version 1.8.1 of jQuery-ui is now available. If this new version is
> > required I could integrate it next weekend. Let me know.
> >
> > Stefan
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Charles Deal [mailto:chuckdea...@gmail.com]
> > Gesendet: Montag, 10. Mai 2010 15:44
> > An: users@wicket.apache.org
> > Betreff: Re: WicketStuff jWicket - Where is it?
> >
> > Crap, doesn't that just figure.  Is this the correct location for the
> > jWicket svn codebase?
> >
> >
> >
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jwicket-parent
> >
> >
> > On Mon, May 10, 2010 at 9:41 AM, Charles Deal <chuckdea...@gmail.com>
> > wrote:
> >
> > > I am currently using wicketstuff-jquery for jQuery integration.
>  However,
> > > that project seems to be stalled.  I've seen many good references to
> both
> > > wiQuery and jWicket on the list and jWicket seems to line up closer to
> > what
> > > wicketstuff-jquery was.  Which I'm hoping will lead to less pain when
> > > swapping out the library.
> > >
> > > I've been searching this morning trying to find the distribtables for
> the
> > > project but have not been able to find anything recent (or that appears
> > > recent).  The wicketstuff repo (
> > > http://wicketstuff.org/maven/repository/org/wicketstuff/) shows
> numerous
> > > jwicket subprojects, but the 1.4-SNAPSHOT version of the jars is OLDER
> > than
> > > the 1.4.2 version of the jars.  I don't know which jars to pull.
> > >
> > > So, I was going to pull the source and build it myself.  Now, I am
> having
> > > trouble finding the svn repo.  I expected to find the source here (
> > >
> >
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/jwicket-parent
> > )
> > > but instead I found (a presumably older) copy here (
> > >
> >
> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/releases/wicketstuff-core-1.4-rc7/jwicket-parent
> > ).
> > >
> > >
> > > The mailing list, over the last few months, references jWicket being at
> > > versions that look like 0.5.0, and most recently 0.5.7.  No mention of
> > those
> > > versions was found in the wicketstuff repo for this project.
> > >
> > > Could someone confirm the latest version of jWicket or supply the path
> to
> > > the svn codebase?  It would be much appreciated.
> > >
> > > Chuck Deal
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to