Re: [Wicket-user] table with grouping

2007-01-15 Thread Igor Vaynberg
instead of datatable you can use a dataview to do this since you have full control of the markup. the sorting/paging components are available outside of the datatable, and take a little bit of wiring to do. -igor On 1/15/07, Dmitry Kandalov <[EMAIL PROTECTED]> wrote: We need to make a table

[Wicket-user] table with grouping

2007-01-15 Thread Dmitry Kandalov
We need to make a table in which rows are grouped by one of parameters and each group have a header (like cell spanned to the table width). We also need sortable header, paginator and ability to take data like IDataProvider does. What would be better way to do it? ps I like functionality DataTabl

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Carfield Yim
Appearancely , tomcat 5.5 don't get this problem for me, at least for Chinese character On 1/16/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html > > Juergen > > On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > Actu

Re: [Wicket-user] Wicket 2 HEAD problem - java.lang.NoSuchMethodError: wicket.MetaDataKey.(Ljava/lang/Class; )V

2007-01-15 Thread De Soca
I receive a similar error from the AuthenticatedWebApplication. Guess it has not been refactored as yet. Cheers. Mark Derricutt wrote: > > Hey all, I just updated my Wicket 2 HEAD copy and now get the following > errors: > > Exception in thread "main" java.lang.NoSuchMethodError: wicket.Met

Re: [Wicket-user] revising the "Working with Wicket models" page

2007-01-15 Thread Eelco Hillenius
Yeah, go for it. That'll be much appreciated. Eelco On 1/15/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: go ahead and edit the page...the wiki is versioned i think so we can always roll back. when you are done with the majority let us know and we will review the changes. -igor On 1/15/07,

Re: [Wicket-user] error deleting cookie when callingdeletWicketCookie

2007-01-15 Thread Igor Vaynberg
i believe nino was using 1.2.0 ie 1.2 -igor On 1/15/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: I don't get it : isn't 1.2.4 the current up to date release version of Wicket ? On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > > > > Ok, seems that we got more than enough good reasons to

Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-15 Thread Igor Vaynberg
youve tried item.add(new SimpleAttributeModifier("style", "background-color:red;")) ? -igor On 1/15/07, ZedroS Schwart <[EMAIL PROTECTED]> wrote: Hi igor Thanks a lot for your answer. Being a newbe and digging into the RepeatingPage example, I managed to define an image per cell. However,

Re: [Wicket-user] error deleting cookie when callingdeletWicketCookie

2007-01-15 Thread ZedroS Schwart
I don't get it : isn't 1.2.4 the current up to date release version of Wicket ? On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: > > > > > Ok, seems that we got more than enough good reasons to upgrade…. > > > > Thanks for the info.. > > > > Regards Nino > > > > >

Re: [Wicket-user] How to do a table with cell specific background image and image ?

2007-01-15 Thread ZedroS Schwart
Hi igor Thanks a lot for your answer. Being a newbe and digging into the RepeatingPage example, I managed to define an image per cell. However, I didn't manage to set up the attribute "background" of the around my image... I tried various things like, among others : - to put some wicket id int

Re: [Wicket-user] Wicket Examples - Repeater View - Data Table Example - How is it sorting?

2007-01-15 Thread Igor Vaynberg
On 1/15/07, MClark00 <[EMAIL PROTECTED]> wrote: BTW, I'm really excited about what I've seen over my first 3 days of looking at Wicket. Nice job everyone! glad to hear it! -igor Thanks, Matt igor.vaynberg wrote: > > it is OrderByLink used inside OrderByBorder that sets the sort state

Re: [Wicket-user] Wicket Examples - Repeater View - Data Table Example - How is it sorting?

2007-01-15 Thread MClark00
Thanks Igor, I should have figured that out from the source. Just in case this helps someone else later, my problem was that I had been expecting the setSort method on SortableDataProvider to be called with the new sort state, so I overrode the method and used that as an opportunity to change the

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
Let's make a demo of what I presently don't understand : In a quickstart, have a page that only do this : System.out.println ("index Page map is :" + getPageMap ().getName ()); add(new Link("page2") { public void onClick () { setRe

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Erik van Oosten
No big ideas here, I am afraid. For me it seems logical to just call both behaviors sequentially from the Wicket servlet/filter and combine the results (where the only results I know are things added to the AjaxRequestTarget). But the inner workings of Wicket are mostly terra incognita for me s

Re: [Wicket-user] Wicket Examples - Repeater View - Data Table Example - How is it sorting?

2007-01-15 Thread Igor Vaynberg
it is OrderByLink used inside OrderByBorder that sets the sort state. see OrderByLink.sort() which is called from OrderByLink.onclick() -igor On 1/15/07, MClark00 <[EMAIL PROTECTED]> wrote: Sorry, to clarify my problem, it does sort initially correctly, but while clicking the header changes

Re: [Wicket-user] Wicket Examples - Repeater View - Data Table Example - How is it sorting?

2007-01-15 Thread MClark00
Sorry, to clarify my problem, it does sort initially correctly, but while clicking the header changes the order by arrow (up or down), the sort direction of the data does not change. In fact, my data provider's setSort methods never get called when I click to change the sort. Thanks, Matt MCla

[Wicket-user] Wicket Examples - Repeater View - Data Table Example - How is it sorting?

2007-01-15 Thread MClark00
Hi, I'm trying to mimic the Data Table example in the Repeaters examples, and can't get the sort to work. I looked at DataTablePage.java, and it looks like it's just using the stock DefaultDataTable. Once I dug down through the 1.2.4 code a little, I noticed that the OrderByBorder doesn't actua

Re: [Wicket-user] revising the "Working with Wicket models" page

2007-01-15 Thread Igor Vaynberg
go ahead and edit the page...the wiki is versioned i think so we can always roll back. when you are done with the majority let us know and we will review the changes. -igor On 1/15/07, Loren Rosen <[EMAIL PROTECTED]> wrote: When I first started using Wicket I found the information on models

[Wicket-user] revising the "Working with Wicket models" page

2007-01-15 Thread Loren Rosen
When I first started using Wicket I found the information on models a little hard to follow. So now I'd like to revise the "Working with Wicket models" wiki page (http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models) to improve this. I'd be happy to outline what I think sh

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
I don't understand how this can help. Can you give me an example? And BTW, is there somewhere documentation on PageMap. I'm not sure I really grasp all the concept aroud this. I tough that page map made sure that in one instance in your application server, you have only one name/session pair.

Re: [Wicket-user] spring integration question

2007-01-15 Thread Eelco Hillenius
The licence header test fails. If you provide parameter -Dmaven.test.skip=true, the project builds and works fine. Frank, if you are reading this, wouldn't licenseHeader = url.getFile(); work better than licenseHeader = new wicket.util.file.File(new URI(url.toString())).readString(); ? Current

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Eelco Hillenius
Ok, so that wouldn't solve anything. Recognizing you're trying to overwrite an attribute that was previously written by another behavior might help in at least figuring out that there is a problem. Though otoh, I don't think it's gonna be a big saver. Any other ideas? Eelco On 1/15/07, Igor Vay

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Igor Vaynberg
problem with appending, etc, is that in my experience most behaviors will have a return statement for every path, so appending will pretty much be a noop -igor On 1/15/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: Yeah, that is a bit dangerous. Currently, we don't do much to check whether be

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Eelco Hillenius
Yeah, that is a bit dangerous. Currently, we don't do much to check whether behaviors overwrite each other. We probably could if we think up another interface that cooperates with IBehavior. And maybe we can combine that with a convenience class a la AppendingBehavior, it would make things easier t

Re: [Wicket-user] Is there any uml diagram for wicket?

2007-01-15 Thread James McLaughlin
Probably pretty old, but... http://www.nabble.com/UML-diagram--tf1501388.html#a4070219 hth, jim On 1/15/07, Ramazan Pekin <[EMAIL PROTECTED]> wrote: Hi everyone Is there any uml diagram for wicket framework, or is there any flowchart? -- Now that's room service! C

Re: [Wicket-user] MissingResourceException

2007-01-15 Thread Eelco Hillenius
Strange error. Did you try running in deployment mode in case you weren't yet? Eelco On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > version 1.2.3 > development mode > > > On 1/15/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > Which wicket version are you using? You are not run

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Igor Vaynberg
also you shouldnt deploy your apps in development mode - that mode is for...development :) -igor On 1/15/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: sounds like the "reached limit of open-file" issue. Should be solved in the latest versions 1.2 and 2.x versions as far as I know. Juerge

Re: [Wicket-user] Dynamic Form fields

2007-01-15 Thread Igor Vaynberg
yep, create a panel that has a label+fileupload field, then add as many of these as you want to a RefreshingView or another repater. there are examples of repeaters in wicket-examples -igor On 1/15/07, Gustavo Yoshizaki <[EMAIL PROTECTED]> wrote: Hi, I'm trying to make a dynamic form. The bas

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Juergen Donnerstag
http://cwiki.apache.org/WW/how-to-support-utf-8-uriencoding-with-tomcat.html Juergen On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: > Actually I also remember asking about this before, hmm... > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik va

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Juergen Donnerstag
sounds like the "reached limit of open-file" issue. Should be solved in the latest versions 1.2 and 2.x versions as far as I know. Juergen On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > also, even though the project is being tested on the internet, I am still in > development mode (wh

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Igor Vaynberg
thats a kludge, there is no good way to do this cleanly. what if i have a regular behavior that sets an onchange attr, and then add an ajax behavior? then the script generated by the first behavior is erased. you can say, lets just append them, but what if the first behavior's script includes re

Re: [Wicket-user] DropDownChoice inconsistent value returned

2007-01-15 Thread pboyd
Thank you very much. Your explanation cleared things up for me and solved my problem. Peter Johan Compagner wrote: > > to quickly do it right in your example: > > you should do it in reverse. > > so this: > > for(;i choices.add(values[i]); > > should be > > for(;i

Re: [Wicket-user] ComponentModel

2007-01-15 Thread Igor Vaynberg
label works by replacing the _body_, since has no body its a noop -igor On 1/15/07, Nino Wael <[EMAIL PROTECTED]> wrote: Argh so it did not work because im lazy.. That figures:) -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent:

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Nick Heudecker
You can subclass HttpSessionStore and provide your own implementation of onUnbind(String). Then, use your new HttpSessionStore from your application subclass: public ISessionStore newSessionStore() { return new MySessionStore(); } On 1/15/07, Marc-Andre Houle <[EMAIL PROTECTED]> wrote: I t

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
I think I found something. first of all : Pop-up communication with pagemap is a nightmare. I think the problem was that it loaded using a specific pagemap in the correct window but when trying to use ajaxLink, it didn't use the correct page map and then failed to find the associated session. (N

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
Damn It, I forgot to past thing in the post Before loading the pop up : 2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-18080-3) [Session ] updateSession(): Attaching session to PageMap [PageMap name=popuppagemap, access=[]] 2007-01-15 10:36:51,586 DEBUG ( http-0.0.0.0-

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
While asking this, I found maybe why the page expire, but not sure. It is due to the use of pagemap to communicate from a pop-up to the current window. I'll try to explain what is happening : I log in my application, I click the link to open the pop-up. When clicking on the link, I'm tring to

[Wicket-user] Dynamic Form fields

2007-01-15 Thread Gustavo Yoshizaki
Hi, I'm trying to make a dynamic form. The basic idea is to be able to add fields like when you upload files in a mail. The amount of files is N and not know in prior. Cause wicket needs to have in the HTML side an id for the field, the number of fields would be limited. Is there a way to make thi

Re: [Wicket-user] numbervalidator 'java.lang.ClassCastException'

2007-01-15 Thread Erik van Oosten
Try the following: form.add(new TextField("carmillage", carMillage, Integer.class).add(NumberValidator.minimum(0))); Erik. Nino Wael wrote: > > Hi > > > > Im getting an exception when I submit my page(base cause line 205 I > numbervalidator). Im a bit puzzled by this since I cant

Re: [Wicket-user] numbervalidator 'java.lang.ClassCastException'

2007-01-15 Thread Nino Wael
Hmm the error is actually triggered by everything even if I enter a number... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nino Wael Sent: 15. januar 2007 16:11 To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] numbervalidator 'java

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Nino Wael
Actually I also remember asking about this before, hmm... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: 15. januar 2007 15:43 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] skandinavian characters encoding lost...

Re: [Wicket-user] Tracking session expire exception

2007-01-15 Thread Nino Wael
Hmm, we had to track something similar. Could you describe what happens? Our thing was something that was caused by clearing the pagemap and the same time referencing to the cleared page. Also we have a problem where we loose our session's id. Regards Nino

[Wicket-user] numbervalidator 'java.lang.ClassCastException'

2007-01-15 Thread Nino Wael
Hi Im getting an exception when I submit my page(base cause line 205 I numbervalidator). Im a bit puzzled by this since I cant understand why it should happened. Entering a text string triggers the error, but that's the reason why I put in the numbervalidator in the first place.. I've be

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Ayodeji Aladejebi
also, even though the project is being tested on the internet, I am still in development mode (which i suppose is default, if not set at all) . it runs fine on localhost but the behaviour seems to appear once we try accessing the application from the internet. works without errors for a session bu

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Erik van Oosten
No, that's not it. I vaguely remember that Tomcat needs a setting in its configuration files before it will serve UTF-8 content. Otherwise it will silently convert it to ISO8859-1. Erik. Martijn Dashorst wrote: > Perhaps this: > http://cwiki.apache.org/WICKET/how-to-change-the-character-e

[Wicket-user] Tracking session expire exception

2007-01-15 Thread Marc-Andre Houle
Is there somebody here that had to track in his application why the session expire? I'm in need of some "hint" on how to efficiently find the damn thing that have made the session expire abruptly. Surely somebody have done something about that! :) Marc ---

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Martijn Dashorst
Perhaps this: http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html found through: http://woogle.billen.dk/search/q/tomcat%20encoding Martijn On 1/15/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Well according to Johan its only for POSTs that Tomcat can be a problem. > I j

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Erik van Oosten
Well according to Johan its only for POSTs that Tomcat can be a problem. I just tried for at least 10 minutes to find a reference to the exact thing Tomcat does wrong, and I am sure it was on the Wicket Wiki at some point, but I can not find it anymore. If someone can find it, or put it back on

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Erik van Oosten
Ok, that's too bad. Yes, I would very much like that feature. I created a JIRA issue to request it (https://issues.apache.org/jira/browse/WICKET-214). Thanks Johan, Erik. Johan Compagner schreef: > yes this is how it works now > > Maybe we could somehow merge it on the server side > when w

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Nino Wael
Page encoding reported by FF are ISO-8859-1. Regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan Compagner Sent: 15. januar 2007 13:24 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] skandinavian characters

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Nino Wael
Yes i am using tomcat.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: 15. januar 2007 13:17 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] skandinavian characters encoding lost... Are you using Tomcat? Erik.

Re: [Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Johan Compagner
yes this is how it works now Maybe we could somehow merge it on the server side when we see 2 behavior attached to the same event only generate for one but also call the other.. johan On 1/15/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Hi, In my current application I added 2 AjaxFormComp

[Wicket-user] Adding multiple behaviors fails

2007-01-15 Thread Erik van Oosten
Hi, In my current application I added 2 AjaxFormComponentUpdatingBehaviors with event "onchange" to the same form component. Only the behavior that is added last will actually be called. Is this on purpose? I would like both to be called. I tried both on 1.2.4 and a fresh (today) 1.2 snapshot.

Re: [Wicket-user] MissingResourceException

2007-01-15 Thread Ayodeji Aladejebi
version 1.2.3 development mode On 1/15/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: Which wicket version are you using? You are not running out of open files, do you? Are you running the application in development or deployment mode? Juergen On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTE

Re: [Wicket-user] AjaxFallbackDefaultDataTable ajax event onclick on a row

2007-01-15 Thread Gustavo Yoshizaki
Great. it worked fine. thanks On 1/12/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: try overriding newrowitem() on the datatable and adding an ajax onclick behavior to the item returned by calling super -igor On 1/12/07, Gustavo Yoshizaki <[EMAIL PROTECTED]> wrote: > Hi, I using an AjaxFallb

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Ayodeji Aladejebi
version 1.2.3 On 1/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote: because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag

[Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Nino Wael
Hi I seem to be expriencing lost of encoding, if I have an text area and text field and if Æ Ø or Å are entered then they do not get interpered as Å Ø Æ but losses their encoding. Am I missing something? Wicket does pickup that the browser are in Danish locale and actually does display the d

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Johan Compagner
by default wicket does everything in UTF-8 What is your page encoding when you see your webpage? (page info in FF) If you use tomcat you need some other configuration (use utf 8 encoding in request params) but thats only for GET request not post. johan On 1/15/07, Nino Wael <[EMAIL PROTECTED]>

Re: [Wicket-user] Input Field background color change on validation

2007-01-15 Thread Erik van Oosten
Hi Cliff, You can look on the Wiki: http://cwiki.apache.org/WICKET/forms.html The wicket-examples probably have some eh, examples. The basic thing is to call formfield#add(IValidator). Have fun, Erik. Cliff Pereira wrote: > Hi, > > first of all. Thanks for your help. This version seems mu

Re: [Wicket-user] skandinavian characters encoding lost...

2007-01-15 Thread Erik van Oosten
Are you using Tomcat? Erik. Nino Wael schreef: > > Hi > > > > I seem to be expriencing lost of encoding, if I have an text area and > text field and if Æ Ø or Å are entered then they do not get interpered > as Å Ø Æ but losses their encoding. Am I missing something? Wicket > does pickup

Re: [Wicket-user] Input Field background color change on validation

2007-01-15 Thread Cliff Pereira
Hi, first of all. Thanks for your help. This version seems much easier and clearer to me. But still I do not now where to validate the input of the field. Should I use the wicket validators? I'm not so familiar with that. Would be kind, if you could give me one or two more hints! The models retur

Re: [Wicket-user] spring integration question

2007-01-15 Thread Peter Thomas
Thanks Mats, yes I agree. I am also reporting (refer original message) that wicket-spring-annot is broken for Maven 2 users, so at the moment I cannot use it even if I wanted to. Can anyone comment on this? Thanks, Peter. On 1/15/07, Mats Norén <[EMAIL PROTECTED]> wrote: Oops, sorry, didn'

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Johan Compagner
because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: Why is the exception swallowed? Finally doe

Re: [Wicket-user] ComponentModel

2007-01-15 Thread Nino Wael
Argh so it did not work because im lazy.. That figures:) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: 15. januar 2007 11:22 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ComponentModel Hi Nino, You should never

Re: [Wicket-user] spring integration question

2007-01-15 Thread Mats Norén
Oops, sorry, didn't read your entire mail. However, I do feel that the extra dependency is worth it in the long run. You very seldom have only one DAO in your application... :) Let's say you have 50 beans that you want to use in different parts of the system, the code bloat in the Application class

Re: [Wicket-user] ComponentModel

2007-01-15 Thread Erik van Oosten
Hi Nino, You should never use but always . Regards, Erik. Nino Wael wrote: > Hmm this does not difference, still not working.. Heres the markup before > processing: > > -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ ---

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Juergen Donnerstag
Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > do you have a quickstart? > can you see what version do you use? (390 is not a code line in the code i > am now looking at) > > But looking at the code around that line: > >

Re: [Wicket-user] ComponentModel

2007-01-15 Thread Nino Wael
Hmm this does not difference, still not working.. Heres the markup before processing: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="da" lang="da"> this is my Wicket page This is my Wicket pa

Re: [Wicket-user] DropDownChoice inconsistent value returned

2007-01-15 Thread Johan Compagner
To many people come from the Swing world, with its Cell renderers :( that has to be of course: Not to many people haven't used Swing, with its Cell renderers :( (where it is based on) johan - Take Surveys. Earn Cash. In

Re: [Wicket-user] DropDownChoice inconsistent value returned

2007-01-15 Thread Johan Compagner
to quickly do it right in your example: you should do it in reverse. so this: for(;i public class DateDropDownChoice extends DropDownChoice implements Serializable { // values to go into the hidden value attribute in the HTML option tag // AND to go into the model/database final sta

Re: [Wicket-user] ComponentModel

2007-01-15 Thread Martijn Dashorst
You use the compound property model wrong: public ThankYouPage(FormModel filledForm) { setModel(new CompoundPropertyModel(filledForm)); add(new Label("carModel")); add(new Label("carYear")); add(new Label("carMillage")); add(new MultiLineLabel("carFailureText")); } Martijn On

[Wicket-user] ComponentModel

2007-01-15 Thread Nino Wael
Hi Im trying to use a component model and som labels to display contents of the model.. It does not work why? See pastebin : http://pastebin.ca/317148 or here for code: package wicketDemo; import wicket.markup.html.WebPage; import wicket.markup.html.basic.Label; import wicket.markup.html.b

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Johan Compagner
do you have a quickstart? can you see what version do you use? (390 is not a code line in the code i am now looking at) But looking at the code around that line: try { this.xmlReader = new XmlReader( new BufferedInputStream(resource.getInputStream(), 4000), e

Re: [Wicket-user] Wicket Exceptions

2007-01-15 Thread Juergen Donnerstag
Which version are you using? Juergen On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > We are hosting a project based on wicket and we have done a series of test > deployments that seem to work very fine. However we did an upgrade and we > are consistently getting this error. > > any ide

Re: [Wicket-user] MissingResourceException

2007-01-15 Thread Juergen Donnerstag
Which wicket version are you using? You are not running out of open files, do you? Are you running the application in development or deployment mode? Juergen On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > I always get this exception after a while of running my wicket > application. It

Re: [Wicket-user] spring integration question

2007-01-15 Thread Peter Thomas
Thanks Mats, I totally agree that that is a pretty clean option. This does mean that you have to include wicket-spring and wicket-spring-annot though - which I avoided. I am trying to figure if the alternate approach is workable and then I do feel it is worth adding to the wiki. Also it may be

Re: [Wicket-user] spring integration question

2007-01-15 Thread Mats Norén
I personally think it is easer to override the init method of your application: protected void init() { super.init(); addComponentInstantiationListener(new SpringComponentInjector(this)); ... } and use the @SpringBean where you want to use your DAO. @SpringBean ContactDao

[Wicket-user] Wicket Exceptions

2007-01-15 Thread Ayodeji Aladejebi
We are hosting a project based on wicket and we have done a series of test deployments that seem to work very fine. However we did an upgrade and we are consistently getting this error. any idea as to why this happens. Code runs fine on localhost machine B Root cause: java.lang.NullPointerExce

Re: [Wicket-user] wicket presentation

2007-01-15 Thread Nino Wael
Because I want the form to be updatet when something new is selected, should I do this another way? Regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eelco Hillenius Sent: 13. januar 2007 20:45 To: wicket-user@lists.sourceforge.net Subject: R

[Wicket-user] MissingResourceException

2007-01-15 Thread Ayodeji Aladejebi
I always get this exception after a while of running my wicket application. It works on redeployment but suddenly just starts showing this exception after somedays of running WicketMessage: Exception in rendering component: [Component id = heading, page = com.nairanet.nelx.HomePage, path = 0:adver

Re: [Wicket-user] error deleting cookie when callingdeletWicketCookie

2007-01-15 Thread Nino Wael
Ok, seems that we got more than enough good reasons to upgrade Thanks for the info.. Regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: 12. januar 2007 17:02 To: wicket-user@lists.sourceforge.net Subject:

Re: [Wicket-user] When the connetction must be opened and when it have to closed?

2007-01-15 Thread Igor Vaynberg
override form.process() -igor On 1/14/07, Ramazan Pekin <[EMAIL PROTECTED]> wrote: Hi everone, I am trying to develop a structure and I want this; already opened and already closed the connection when my form is submitted and my forms logic finished. I have a BaseForm class, which overriding