Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-10 Thread Ian Clarke
Just kinda taking this thread back to where it started:

Does anyone have a .jar for wicket-stuff that will work with the
Wicket 1.x branch?

Ian.

On 1/9/07, James McLaughlin <[EMAIL PROTECTED]> wrote:
> That would be great. Maybe we can run the wicket-stuff examples there, too.
> Is it possible for the wicket-stuff maintainers to get access to said box.
>
> thx,
> jim
>
> On 1/9/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Yeah, we can't use Apache's infrastructure for wicket-stuff. However,
> > we have a couple of servers available that are not related to Apache I
> > believe.
> >
> > Eelco
> >
> > On 1/9/07, James McLaughlin < [EMAIL PROTECTED]> wrote:
> > > I thought there were licensing issues that prevented us from hosting the
> > > wicket-stuff wiki with the wicket wiki on apache.org. If not, then I am
> for
> > > it. I have never used confluence so maybe someone who knows better can
> > > comment why it is so much better than the other wiki frameworks out
> there.
> > >
> > >
> > > On 1/9/07, Filippo Diotalevi < [EMAIL PROTECTED]> wrote:
> > > > On 1/9/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> > > > > Filippo seems to have experience with confluence,  however, I'm
> still
> > > > > wondering if we can use it, as i dont know
> > > > > a, how to get the license or if we may use the Apache ones for it
> > > > > b, on what server we will put it up - SF.net seems to limit to cgi
> only
> > > and
> > > > > I cant remember to have seen cgi option on the confluence webpage.
> > > >
> > > > Yes, I have some experience with confluence, and it's powerful but
> > > > simple to use (customization can be a bit more tricky, but we might
> > > > easily start using the default template).
> > > > Furthermore, you can set up different 'workspaces', so you need just
> > > > one license to create different wikis.
> > > >
> > > > If there's already confluence installation for wicket, I'd go with it,
> > > > and I'd be happy to maintain it.
> > > >
> > > > --
> > > > Filippo Diotalevi
> > > > [EMAIL PROTECTED]
> > > > http://www.diotalevi.com/weblog
> > > > http://www.jugmilano.it
> > > >
> > > >
> > >
> -
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share
> > > your
> > > > opinions on IT & business topics through brief surveys - and earn cash
> > > >
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > ___
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys - and earn cash
> > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > ___
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-08 Thread Ian Clarke
On 1/8/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote:
> I have a jar ready and available for the wicket-scriptaculous project.
> http://jroller.com/page/wireframe/?anchor=wicket_scriptaculous_0_1_1
>
> Unfortunately, all my projects are using wicket-2.0 so that's what the
> scriptaculous project has been built against.  if anyone out there wants to
> maintain the 1.x version, be my guest, but I'm going to continue just
> working with wicket-2.0.  There's no turning back!  =)

Well, we would love to use wicket-2.0, but the word on the street is
that it won't be stable until April-ish, and we can't risk betting our
project on an unstable framework :-)

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Jar for wicket-contrib-scriptaculous?

2007-01-08 Thread Ian Clarke
I'm using the 1.x branch of Wicket (from about 2 weeks ago), and would
like to use wicket-contrib-scriptaculous, but from a brief
conversation on ##wicket on freenode (where people are infinitely
helpful and a real credit to the project), it appears that this is
maybe not as easy as perhaps it should be (talk of Maven builds, and
undocumented dependencies on particular versions of other libraries).

It was hinted that maybe some people need an excuse to package this
stuff so that it is more conveniently accessible, if so, consider this
to be just such an excuse :-)  Really, if something can be  packaged
as a simple .jar that you can drop into your project, then it should
be - asking people to build it themselves, a process that is not well
documented so far as I can see - is not a good option and really
doesn't do credit to all of your hard work.

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] A question about wicket versions

2006-12-18 Thread Ian Clarke
On 12/18/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 12/18/06, Ian Clarke <[EMAIL PROTECTED]> wrote:
> if you are using jdk 1.5 you can upgrade to 2.x, but you have to keep in
> mind 2.x is still very much a moving target. what that means is that
> sometimes things break, sometimes even important things break. also the api
> is being refactored here and there so you would have to keep up.

Well, we are using Java 1.5 and 2.x sounds appealing, but the fact
that 2.x isn't stable yet is a bit scary, we are on a tight deadline
with our project and I would rather avoid anything that might slow us
down or cause unnecessary headaches (such as relying on an unstable
third-party framework).

Additionally, how well documented is 2.x?  We have been using the Pro
Wicket book to learn about Wicket, i'm assuming that this would be out
of date for 2.x?

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] A question about wicket versions

2006-12-18 Thread Ian Clarke
I'm resending this in its own thread as it is a separate question:

I'm currently using Wicket 1.2.2.  I know the current version is
1.2.3, and there is a 2.0 in the works.  My project is scheduled for
launch around April of next year, and we have used Quickstart as a
starting point.  Should we be thinking about upgrading now or later?
Are there major advances in these new versions?

Thanks,

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Why does everything need to be Serializable when I use AjaxEventBehavior?

2006-12-17 Thread Ian Clarke
On 12/17/06, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Somewhere you're holding a reference to the thoof.model.Story object, which
> is (or is attempted to be) serialized along with the referencing component
> to the user's session.  You should look into detachable models to get around
> this.  There are other ways to do it, but understanding detachable models in
> Wicket will make your life easier.
>
> Let me know if you still have questions.

Thanks for the help Nick, you were right, and with the help of
mr_smith on ##wicket, I was able to solve the problem - which
essentially boiled down to me not using Models where I should be using
Models.

The fact that there are people so willing to provide advice and help
is a big vindication for my decision to go with Wicket for my current
project, and bodes well for Wicket's future - thanks!

An unrelated question:

I'm currently using Wicket 1.2.2.  I know the current version is
1.2.3, and there is a 2.0 in the works.  My project is scheduled for
launch around April of next year, and we have used Quickstart as a
starting point.  Should we be thinking about upgrading now or later?
Are there major advances in these new versions?

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Why does everything need to be Serializable when I use AjaxEventBehavior?

2006-12-17 Thread Ian Clarke
I'm a wicket newbie, but have been making relatively steady progress
on a new webapp.

I have an ExternalLink which is part of a Panel, and I want to make it
notify the server asynchronously when the user clicks on it, so I've
added an AjaxEventBehavior as follows:

ExternalLink titleLink = new ExternalLink("title", link, title);
titleLink.add(new AjaxEventBehavior("onclick") {
protected void onEvent(AjaxRequestTarget target) {
log.debug("Clicked title");
}
});

I do this and suddenly I start getting "WicketMessage: Internal error
cloning object. Make sure all dependent objects implement
Serializable. ..." messages for all sorts of different classes, when I
make one Serializable per the error messages suggestion, it complains
about another one.

What is going on?  Why does my attempt to use Ajax suddenly mean that
all of these classes need to be Serializable?

Thanks,

Ian.

PS. Here is an example of the full error:

WicketMessage: Internal error cloning object. Make sure all dependent
objects implement Serializable. Class: thoof.Index

Root cause:

java.io.NotSerializableException: thoof.model.Story
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1151)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at java.util.ArrayList.writeObject(ArrayList.java:570)
at java.lang.reflect.Method.invoke(Method.java:589)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1456)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1145)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1504)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1145)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1504)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1145)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1141)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1504)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1387)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1145)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
at wicket.protocol.http.HttpSessionStore.setAttribute(HttpSessionStore.java:57)
at wicket.Session.setAttribute(Session.java:930)
at wicket.PageMap.put(PageMap.java:526)
at wicket.Session.touch(Session.java:718)
at wicket.Page.renderPage(Page.java:416)
at 
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:226)
at 
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49)
at 
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:858)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:885)
at wicket.RequestCycle.step(RequestCycle.java:966)
at wicket.RequestCycle.steps(RequestCycle.java:1040)
at wicket.RequestCycle.request(RequestCycle.java:454)
at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:216)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at 
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at 
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)

Complete stack:

wicket.WicketRuntimeException: Internal error cloning object. Make
sure all de

Re: [Wicket-user] newbie question: where do I put static files?

2006-11-17 Thread Ian Clarke

On 17 Nov 2006, at 21:34, Eelco Hillenius wrote:

If you don't want to package them (e.g. you don't need them as part as
a reusable component), just put them in your web app dir (you know,
the one with WEB-INF in it). Your application server will figure out
how to get them. If you want them to be packaged, you typically put
them in the same java package as where your component class resides,
and use something like HeaderContributor to serve them.


Much appreciated.

So I have the web app dir thing working, but I'm curious, why might I  
want to go with the other option?


thanks,

Ian.

Ian Clarke: Co-Founder & Chief Scientist Revver, Inc.
phone: 323.871.2828 | personal blog - http://locut.us/blog

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] newbie question: where do I put static files?

2006-11-17 Thread Ian Clarke
I have a really simple newbie question.

I am trying to get started using Wicket with Eclipse, and I'm using  
the QuickStart application.

Where do I put static files such as CSS, and do I need to configure  
anything to find them?

Many thanks,

Ian.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user