[Wicket-user] Source of application using Wicket

2006-02-26 Thread jan_bar
Hi, the Wicket samples is basic source of how to start with Wicket. But I miss some real world (more complex) applications. I like to learn from code written by Wicket gurus. For instance Pet Store with Wicket. Can you help me? Thank you, Jan -

[Wicket-user] New snapshots available

2006-02-26 Thread Martijn Dashorst
All, I have uploaded a new snapshot release for a lot of Wicket projects: o wicket o wicket-extensions o wicket-examples o wicket-spring o wicket-spring-annot o wicket-spring-examples o wicket-spring-annot-examples o wicket-auth-roles o wicket-auth-roles-examples They have all been creat

Re: [Wicket-user] Basic - JavaScriptReference and IInitializer question.

2006-02-26 Thread Igor Vaynberg
1) is just a reference, you need to bind the object first like you do in 2)the initializer is also needed for clustering, it is a better place to do the binding then static blocks somewhere.javadoc from IInitializer /** * Initializes something when application loads *  * Initializer is there for cl

[Wicket-user] Basic - JavaScriptReference and IInitializer question.

2006-02-26 Thread karthik Guru
I have done this - 1) add(new JavaScriptReference("myscript", MyPanel.class, "myscript.js")); But I have seem something like this as well that goes with the above. 2) public void init(Application application){ PackageResource.bind(application, MyPanel.class, "myscript.js")

Re: [Wicket-user] Bookmarkable links

2006-02-26 Thread David Leangen
Sorry, I deleted the last post to this thread by Johan, so the order is messed up a bit... Johan wrote something like: > If you use the latest snapshot, Wicket takes care of > resources... I tried this, but unfortunately it does not work. My css and image files are not prepended by the context

[Wicket-user] Re: [ wicket-Feature Requests-1438745 ] New auth-roles-class library with Class-based roles

2006-02-26 Thread Gili
Shit... I'm sorry. My address book had your name aliased to the mailing list. This was meant as a private post. Sorry :( Gili Gili wrote: At the very least, I should be able to commit this to wicket-stuff, right? Thanks, Gili SourceForge.net wrote: Feature Requests item #1438745,

[Wicket-user] Re: [ wicket-Feature Requests-1438745 ] New auth-roles-class library with Class-based roles

2006-02-26 Thread Gili
At the very least, I should be able to commit this to wicket-stuff, right? Thanks, Gili SourceForge.net wrote: Feature Requests item #1438745, was opened at 2006-02-25 21:16 Message generated for change (Comment added) made by eelco12 You can respond by visiting: https://sourceforge.

RE: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread David Leangen
Most of your questions were already answered by Johan (who can answer better than I, anyway). For the others, see inline. > > In any case, something like this is surely possible with > mountable links. > > I have read a lot about different links in wicket, but nothing yet about > *mountable* link

Re: [Wicket-user] DataTable

2006-02-26 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 You could always add subclasses of AbstractColumn to provide whatever data you wanted. That combined with Fragments gives you loads of flexibility. Frank Silbermann wrote: > In Wicket-Examples, Repeaters, there's an example of a DataTable from >

Re: [Wicket-user] light tree

2006-02-26 Thread Eelco Hillenius
There is one contribution here: http://sourceforge.net/tracker/index.php?func=detail&aid=1416392&group_id=119783&atid=684977 I don't think it works right away, but you might want to check it out. Furthermore, if more people would pick up the idea of integerating those Yahoo components; they've go

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Eelco Hillenius
Wrong version of cglib? On 2/26/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > so that error says that something Enhancer needs is not found? so a > dependency of cglib is missing from the classpath? > > -Igor > > > > On 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > > eh it is not a class

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Igor Vaynberg
so that error says that something Enhancer needs is not found? so a dependency of cglib is missing from the classpath?-IgorOn 2/26/06, Johan Compagner <[EMAIL PROTECTED]> wrote:eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java env

Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer
I can;t download the zip file resource not found. OK, works now. also you say: See above example, I do not get it to work as expected. Please note, that I need the application to work at http://:/foo/ and not at http://:/foo (the trailing slash problem). is foo the context or the servlet? Wi

RE: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread David Leangen
> > > Page(_xx).html: > > > Take a look at this page! > > Unfortunately, this is not acceptable. The author should > > have no idea of context. The link must be relative to the > > application "top" page. > just make links like: > > > > wicket will make those links absolute. You're right! I w

Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Johan Compagner
I can;t download the zip file resource not found.But remember if you make it relative with things like ..\..\.. then you have to ofcourse make it a wicket component and change the url/src attribute yourself to point to the right file. also you say:See above example, I do not get it to work as expec

Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer
First, thank you for your answers. (1) I want to use plain HTML files at design-time, so I can use a WYSIWYG editor like DreamWeaver to edit. IMHO, this only is possible with either special comments or using id-attributes like wicket does. Wicket mostly does this. The only problem is if you us

Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
with the latest snapshots all urls that you define will be made absolute by wicketWe have to do this because of our mounting of pages.johanOn 2/26/06, David Leangen <[EMAIL PROTECTED]> wrote: > > > Page(_xx).html:> > > Take a look at !> > Unfortunately, this is not acceptable. The author should> >

RE: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread David Leangen
> (1) I want to use plain HTML files at design-time, so I can use a WYSIWYG > editor like DreamWeaver to edit. IMHO, this only is possible with either > special comments or using id-attributes like wicket does. Wicket mostly does this. The only problem is if you use panels. > (2) I want to be a

Re: [Wicket-user] enable/disable form controls

2006-02-26 Thread Johan Compagner
If you really want to do it client side. Why don't you it completely at the client side?If the rendered state always have to be calculated then you have to use attributemodifiers.Because if you do comp.setEnabled (false) and on the client side you just make it true in a scriptthen you still can't p

Re: [Wicket-user] @SpringBean annotations

2006-02-26 Thread Johan Compagner
eh it is not a class not found exception, those are easy fix. No it is the most annoying error you can get in a java environment:java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer the NoClassDefFoundErrorSo cglib is found. But what that one wants is not found.Why

Re: [Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread Johan Compagner
just make links like:wicket will make those links absolute.johanOn 2/26/06, David Leangen <[EMAIL PROTECTED]> wrote:I finally have some time to start looking into this some more... > Why don't you just provide some bookmarkable links to your> template designer?>> MyApplication.java:> mountBookmark

Re: [Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Johan Compagner
our existing static website, which was "pre-rendered" locally using fmpp, if you come from fmp pro then maybe www.servoy.com is something then? Servoy 3 uses wicket under de hood for its webpart.  I've spend a couple of time to take a look at different web-applicationframeworks (incl. wicket) and,

Re: [Wicket-user] light tree

2006-02-26 Thread Johan Compagner
don't think there is but you could search for it on the internet if you see a nice dynamic client side tree.And the fill that one with link that points to bookmarkable pages.Currently we need that because we need to sync up the links on the server and client side. johanOn 2/26/06, Nili Adoram <[EMA

[Wicket-user] light tree

2006-02-26 Thread Nili Adoram
Hi All, Is there an extension of the Tree component that avoids round trip to server whenever a node is expanded/collapsed? 10x Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications i

[Wicket-user] enable/disable form controls

2006-02-26 Thread Nili Adoram
Hi All, Suppose I have two check boxes , A and B, in a single page form. When the page is first rendered, A and B should be enabled/disabled according to some logic. When the user selects A I want B to be enabled as well, without round trip to the server, which means JavaScript code, of course.

[Wicket-user] Is wicket on the "right" path?

2006-02-26 Thread Thomas Singer
Hi all, For a couple of years I'm developing desktop software and absolutely like the compile-time-safety and refactoring support in modern IDEs (we do not use reflection anywhere). OK, so much to my background. Now we want to turn our existing static website, which was "pre-rendered" locally

[Wicket-user] Bookmarkable links (was: Added i18n page to wiki)

2006-02-26 Thread David Leangen
I finally have some time to start looking into this some more... > Why don't you just provide some bookmarkable links to your > template designer? > > MyApplication.java: > mountBookmarkablePage("/links/coolPage", CoolPage.class); > > Then its up to the web designer if he wants to include a link

[Wicket-user] Re: DatePicker problems

2006-02-26 Thread Eelco Hillenius
I looked at the Yahoo components and I like them a lot. I started working on a yui (Yahoo UI library) package in extensions, an example in wicket-examples, and picked Calendar as the first component. It's very crude still, but it looks like that yahoo stuff is going to save our day :) The only thi

[Wicket-user] Template page

2006-02-26 Thread Nili Adoram
Hi All, What is the best practice to create a template page containing header, footer, menu etc. using Wicket? Thanks Nili --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and

Re: [Wicket-user] Template page

2006-02-26 Thread Juergen Donnerstag
You may either used Border (border page; see library example) or markup inheritance (see template example), which seems to be a bit easier for most users. Juergen On 2/26/06, Nili Adoram <[EMAIL PROTECTED]> wrote: > Hi All, > What is the best practice to create a template page containing header,