Wicket 2.0 and Flexible Navigation List/ add problem

2006-11-10 Thread Korbinian Bachl
Hi, i tried to convert my current skeleton to wicket 2.0, but stumbled into a problem i cant solve so far: My base: I have a LinkPanel that creates a List containing Navigationallinks in a MasterPage (here BasePage extending WebPage) and uses a getNavList(PageParameters paramsIn) function to

Why rewriting js librairies

2006-11-10 Thread Vincent demay
Hi, I ask myself a question. Why wicket needs to rewrite js libraries for ajax or other client-side scripts or to include external scripts (date picker for exemple). There are a lot of frameworks which work fine and do everything needed in wicket such as Dojo, script.aculo.us, etc...Why

Re: Wicket 2.0 and Flexible Navigation List/ add problem

2006-11-10 Thread Igor Vaynberg
first of all i wouldnt pass components around in a list. there are a couple of ways to do that the easist would probably be to have something like this: interface ILinkFactory { Link newLink(Component parent, String id); } then instead of ListBookmarkablePageLink you pass in ListILinkFactory.

Re: Why rewriting js librairies

2006-11-10 Thread Igor Vaynberg
On 11/10/06, Vincent demay [EMAIL PROTECTED] wrote: Hi, I ask myself a question. Why wicket needs to rewrite js libraries for ajax or other client-side scripts or to include external scripts (date picker for exemple). we are rewriting the datepicker because our old one was not compatible

Why rewriting js libraries

2006-11-10 Thread Vincent Demay
Hello, I ask myself a question. Why wicket needs to rewrite js libraries for ajax or other client-side scripts or to include external scripts (date picker for exemple). There are a lot of frameworks which work fine and do everything needed in wicket such as Dojo, script.aculo.us, etc...Why

Re: Why rewriting js libraries

2006-11-10 Thread Igor Vaynberg
see my response to your previous post -igor On 11/10/06, Vincent Demay [EMAIL PROTECTED] wrote: Hello, I ask myself a question. Why wicket needs to rewrite js libraries for ajax or other client-side scripts or to include external scripts (date picker for exemple). There are a lot of

AW: Wicket 2.0 and Flexible Navigation List/ add problem

2006-11-10 Thread Korbinian Bachl
Hi Igor, thanks for your reply. I understand that i should do it using an interface and not expose the wicket:id's. However, even if i pass it in there (navlist now as navListILink): add(new ListView(navList, navList) { protected void populateItem(ListItem item) {

rfc OnLoadContributor

2006-11-10 Thread James McLaughlin
Hello, I have a need for an interface that is a twin to IHeaderContributor, but which will contribute javascript to be executed after the html has been rendered on the client. I realize all the hooks are there with WebPage.getBodyContainer().addOnLoadModifier(), and

Re: Why rewriting js librairies

2006-11-10 Thread Vincent demay
Vincent demay a écrit : Ok I understand that and I don't what to say that wicket dojo implementation is bad because it's very cool ;) I would like to say ajax implementation and not dojo implementation Indeed using a framework as is could be

Re: Why rewriting js librairies

2006-11-10 Thread Ryan Sonnek
Just so you know, There is a wicket-stuff project that integrates scriptaculous with Wicket. There'll be quite a few additions to that project comming soon too! On 11/10/06, Vincent demay [EMAIL PROTECTED] wrote: Hi, I ask myself a question. Why wicket needs to rewrite js libraries for ajax

Re: Why rewriting js librairies

2006-11-10 Thread Igor Vaynberg
On 11/10/06, Vincent demay [EMAIL PROTECTED] wrote: c) we have partial page updates of multiple components in a single request - do any of those frameworks have it? i briefly looked at ricko which had a similar ajax-envelope response that can encapsulate markup for multiple parts of the

Re: Wicket 2.0 and Flexible Navigation List/ add problem

2006-11-10 Thread Igor Vaynberg
add(new ListView(navList, navList) { protected void populateItem(ListItem item) { ILinkFactory factory=item.getModelObject(); factory.newLink(item, id); } }); -igor On 11/10/06, Korbinian Bachl [EMAIL PROTECTED] wrote: Hi

Re: Why rewriting js librairies

2006-11-10 Thread Vincent demay
Igor Vaynberg a écrit : On 11/10/06, Vincent demay [EMAIL PROTECTED] wrote: c) we have partial page updates of multiple components in a single request - do any of those frameworks have it? i briefly looked at ricko which had a similar ajax-envelope response that can encapsulate markup

Re: Why rewriting js librairies

2006-11-10 Thread Igor Vaynberg
On 11/10/06, Vincent demay [EMAIL PROTECTED] wrote: imagine dojo provides stuff to make a conrner case like this easier. I used AjaxRequestTarget to construct the envelope and here is the client-side code. It is not perfect but it work (ie remove CDATA is not as clean as I wanted but I not

Wicket [EMAIL PROTECTED]

2006-11-10 Thread Filippo Diotalevi
Hi everybody, (this is the first time I post here, so I should probably present myself.. my name's Filippo, live in Milan, for more info: http://www.diotalevi.com; obviously I like Wicket and I'd like to contribute, but give me some time to study it more in deep...). This morning I was having a

Re: Wicket [EMAIL PROTECTED]

2006-11-10 Thread Eelco Hillenius
We (Martijn and me) spoke there last year, but after doing a couple of presentations the last year, we're out of time and energy (and money!) to keep on doing that. We might get more active again in 2007. But... everyone is more than welcome to take up the initiative, so if any of you Wicket