[Wicket-user] Needed refresh in non-accessible mode

2007-01-08 Thread Matthijs Wensveen
Hi, I've just committed the refactoring for the DatePickerPanel. The Panel is using Fragments now for switching between the accessible mode and non-accessible mode with the same markupfile. The only problem is that you need to refresh the page when switching the date with the datepicker.

[Wicket-user] modal window with form

2007-01-08 Thread Nili Adoram
Hi all, I want to implement the following: All application pages should contain some Search button. When the user clicks this button, a modal dialog with Search Form will be displayed. Once the user submits the form the modal dialog should be closed and Search Results Page will be displayed.

[Wicket-user] AjaxFallbackDefaultDataTable - Markup with path 'label' not found

2007-01-08 Thread De Soca
Hello, I receive the following error when attempting to run an app with the AjaxFallbackDefaultDataTable in 2.0. Replacing that component with the non-Ajax version DefaultDataTable, the same code works perfectly: WicketMessage:

[Wicket-user] question about ajax update ListView

2007-01-08 Thread tooy li(Gmail)
I allow user add some row in the form, so I nested a ListView in the form with a addrow button. when user click the addrow button, i insert a new object into the listviewer , and put the container of list viewer to ajaxtarget to update. since the form is a mulitpart, so i get a error when i

Re: [Wicket-user] Can I show a drop down choice list at tabs?

2007-01-08 Thread Korbinian Bachl
I think this would be an overkill - what he wants is just the standard suckerfish - no JS needed, pure CSS and simple UL's are enough to get it (and barrier free ) look here: http://www.htmldog.com/articles/suckerfish/dropdowns/ there it is explained and shown how to do it right - the only

Re: [Wicket-user] question about ajax update ListView

2007-01-08 Thread Johan Compagner
you just can't use a multipart form. You have to post the data so you need to use a submit, but ajax can't submit multipart johan On 1/8/07, tooy li(Gmail) [EMAIL PROTECTED] wrote: I allow user add some row in the form, so I nested a ListView in the form with a addrow button. when user

Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-08 Thread Johan Compagner
But what has this to do with 2.0? 1.3 also has the exact same stateless support as 2.0 so also the same problems And yes the Indexed one is the thing that i still need to fix. Will look it as soon as i can. Als that url encoding stuff is also bothering me. We do it now all over the place and in

[Wicket-user] IChoiceRenderer error , somthing about generic

2007-01-08 Thread tooy li(Gmail)
I got a cast error , when i use customer IChoiceRender class ColumnRender implements IChoiceRendererColumnInfo { public Object getDisplayValue(ColumnInfo object) { return object.getFormattedName(); } public String getIdValue(ColumnInfo object, int index) { return object.getId(); }

Re: [Wicket-user] Problem using JavaScriptReference

2007-01-08 Thread Ryan Sonnek
I wish some of these shortcuts made it up on the wiki. the majority of users start from existing example code, which is usually the hard way. On 1/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Use new JavaScriptReference(myJs, scripts/myjs.js); btw, you don't really need the wicket:head

Re: [Wicket-user] Problem using JavaScriptReference

2007-01-08 Thread Martijn Dashorst
On 1/8/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I wish some of these shortcuts made it up on the wiki. the majority of users start from existing example code, which is usually the hard way. Feel free to contribute... Martijn On 1/7/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Use

Re: [Wicket-user] IChoiceRenderer error , somthing about generic

2007-01-08 Thread Johan Compagner
if i look at this: new DropDownChoiceColumnInfo (form, columnId, columnMangerService.selectAllColumnInfo(), new ColumnRender()); then it seems to me that columnId is a id (integer) So it doesn't hold a ColumnInfo object but the id of that object. Then your choice renderer is wrong.

Re: [Wicket-user] modal window with form

2007-01-08 Thread Igor Vaynberg
you would put all this into a base page, and your markup inheritance to template it for the rest of the pages. -igor On 1/8/07, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I want to implement the following: All application pages should contain some Search button. When the user clicks this

Re: [Wicket-user] Wicket2 and Wicket 1.2.x

2007-01-08 Thread Korbinian Bachl
Hi Johan, i dont know much about 1.3, as I never looked at it - but im glad that you also see Problems there and rellay want to thank you for your time spent on things like that, Regards _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Johan Compagner Gesendet:

Re: [Wicket-user] Problem using JavaScriptReference

2007-01-08 Thread Gavin
Thanks for the help. I worked it out after digging around a bit. I really like Wicket (after using struts in my day job). Well done on such a neat framework. Cheers Martijn Dashorst wrote: On 1/8/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I wish some of these shortcuts made it up on the

Re: [Wicket-user] Problem using JavaScriptReference

2007-01-08 Thread Eelco Hillenius
Thanks. Now make sure to use it for your day job as well... that's the whole point of developing Wicket! :) Eelco On 1/8/07, Gavin [EMAIL PROTECTED] wrote: Thanks for the help. I worked it out after digging around a bit. I really like Wicket (after using struts in my day job). Well done on

Re: [Wicket-user] cookies

2007-01-08 Thread Loren Rosen
I'm writing this up as a 'how-to' topic for the wiki, and I've got a few questions. First, assuming the addCookie call is inside something inheriting from WebPage, it seems you need to first call getWebRequestCycle in order to get the WebRequest and WebResponse:

Re: [Wicket-user] cookies

2007-01-08 Thread Igor Vaynberg
On 1/8/07, Loren Rosen [EMAIL PROTECTED] wrote: I'm writing this up as a 'how-to' topic for the wiki, and I've got a few questions. First, assuming the addCookie call is inside something inheriting from WebPage, it seems you need to first call getWebRequestCycle in order to get the WebRequest

Re: [Wicket-user] IChoiceRenderer error , somthing about

2007-01-08 Thread tooy li(Gmail)
Hi,johan y, your right, the column id is string object, render is always get a string object in this case. I first use expression for default Render, and get the same error. show you the complete stacktrace WicketMessage: Exception in rendering component: [MarkupContainer [Component id =

[Wicket-user] AjaxFormComponentUpdatingBehavior lost the form data

2007-01-08 Thread tooy li(Gmail)
hi , I just use a behavior in multipart form, and it cannot hold the data of form when it triger. adType.add(new AjaxFormComponentUpdatingBehavior(ClientEvent.CHANGE) { protected void onUpdate(final AjaxRequestTarget target) { String value = (String) adType.getModelObject(); if

Re: [Wicket-user] Strange problem, very puzzle for spring in wicket 2.0

2007-01-08 Thread tooy li(Gmail)
igor I will send you project late, which mail box i should take? my spring is the latest version. On 1/7/07, tooy li(Gmail) [EMAIL PROTECTED] wrote: Hi,igor I make sure there is only one class named this. I also change the name of class to find something, but get nothing. it's very strange.

Re: [Wicket-user] Strange problem, very puzzle for spring in wicket 2.0

2007-01-08 Thread Igor Vaynberg
this one is fine or just attach it to the list -igor On 1/8/07, tooy li(Gmail) [EMAIL PROTECTED] wrote: igor I will send you project late, which mail box i should take? my spring is the latest version. On 1/7/07, tooy li(Gmail) [EMAIL PROTECTED] wrote: Hi,igor I make sure there is only

Re: [Wicket-user] AjaxFormComponentUpdatingBehavior lost the form data

2007-01-08 Thread Igor Vaynberg
first you should use AjaxFormSubmitBehavior if you want values for the entire form submitted, the one you are using only submits the value for the component it is attached to as the name implies second ajax does not submit multipart forms -igor On 1/8/07, tooy li(Gmail) [EMAIL PROTECTED]

Re: [Wicket-user] IChoiceRenderer error , somthing about

2007-01-08 Thread Igor Vaynberg
your model object must be of the same type as the object in the choices list ie DropDownChoiceT(WebMarkupContainer, String, IModelT, IModelListT, IChoiceRendererT) so if your model is String then the list of choices you pass in must be ListString -igor On 1/8/07, tooy li(Gmail) [EMAIL

[Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Ryan Sonnek
Although I'm not a committer, I'd like to open RFE for an API change, and I'd like to get feedback from the devs. Here's my complaint. When I'm using an AjaxFallbackLink, I'm making an explicit decision that I want to handle ajax and non-ajax requests in different ways. The problem is that

[Wicket-user] Stateless wicket [was] Re: Wicket2 and Wicket 1.2.x

2007-01-08 Thread Carfield Yim
I just setup a tool call MessAdmin to check the size of httpsession, and I found that single login consume 14.6 MB , well, may be MessAdmin give me a wrong number. However, if that is the fact, I think I need to find some way to reduce the session memory consumption. If I use the stateless support

Re: [Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Igor Vaynberg
thats funny, i came to the opposite conclusion when designing it. most of my usecases looked like this onclick(AjaxRequestTarget) { // dosomething if (target!=null) { // setup repaint } } the // dosomething being the same between ajax and non ajax versions, so having two methods

Re: [Wicket-user] Stateless wicket [was] Re: Wicket2 and Wicket 1.2.x

2007-01-08 Thread Igor Vaynberg
lol, i think you got a wrong number unless you are serializing the servlet container along with the page somehow :) or the units should be KB instead of MB -igor On 1/8/07, Carfield Yim [EMAIL PROTECTED] wrote: I just setup a tool call MessAdmin to check the size of httpsession, and I found

[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

Re: [Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Ryan Sonnek
That's not a bad idea. it's a simple enough extension. I could even add it to the wiki if anyone else has a similar use case. On 1/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: thats funny, i came to the opposite conclusion when designing it. most of my usecases looked like this

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

2007-01-08 Thread Ryan Sonnek
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

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

[Wicket-user] Why are ResourceReference to Defaul tButtonImageResources stored in Pagemaps?

2007-01-08 Thread bednarz-hannover
Hi All! I have noticed that ResourceReferences to DefaultButtonImageResources are stored inside a pagemap and this is stored in users sessions. Is this the usual behaviour of wicket or can I tune it? My current session size depends mostly on size of all used Images which are factoried as

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

2007-01-08 Thread Eelco Hillenius
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

Re: [Wicket-user] confusing AjaxFallbackLink API

2007-01-08 Thread Igor Vaynberg
dont let me stop you :) -igor On 1/8/07, Ryan Sonnek [EMAIL PROTECTED] wrote: That's not a bad idea. it's a simple enough extension. I could even add it to the wiki if anyone else has a similar use case. On 1/8/07, Igor Vaynberg [EMAIL PROTECTED] wrote: thats funny, i came to the

Re: [Wicket-user] Why are ResourceReference to DefaultButtonImageResources stored in Pagemaps?

2007-01-08 Thread Igor Vaynberg
are you sure the image data is stored in the session? we have RenderedDynamicImageResource-DefaultButtonImageResource in RenderedDynamicImageResource we have private transient SoftReference imageData; so the field is transient and on top of that is a softreference. so first of it shouldnt