Re: wicket.markup.html.basic.MultiLineLabel with Links, different word color inside?

2009-05-13 Thread Martin Grigorov
Looking at the package name I think you are using Wicket 1.2. Consider upgrade to 1.3.6 or even 1.4-rc4. About the question: yes, it is possible. Wrap the words with span style=color: #xxword/span and call multiLineLabel.setEscapeModelStrings(false) El mar, 12-05-2009 a las 13:00 +0200,

Re: Tomcat Publishing and Hot-Swapping with Wicket (solved)

2009-05-13 Thread Kaspar Fischer
;-) If in a soft wall room they hear you taking about tomcat (what kind of a cat?), hot-swapping, well, aeh, ... they might keep you a little longer... On 05.05.2009, at 13:23, nino martinez wael wrote: I like these kind of monologs, I often do them myself also known as parrot talks :)

Re: System test for a Wicket based web application. Do you do it? How?

2009-05-13 Thread Günther Enthaler
I've been using http://storytestiq.solutionsiq.com/ STiQ for integration testing on my current project. It's a mashup of Selenium Fitnesse. It makes for a really comfortable test construction running environment. I've used JUnit driven Selenium tests in the past, but the tests were

Re: Datatable columns converter

2009-05-13 Thread alf.redo
Hi Michael, thank you for your suggestion. what do you think about overriding the AbstractColumn#populateItem() to add a Label to the cellItem and setting up a proper IConverter to that component? bye alf Michael O'Cleirigh wrote: This question came up last week aswell, here is an

Re: CheckboxMultipleChoice in Ajax style

2009-05-13 Thread Mathias Nilsson
When I try this code it works. Can you please post some code for us -- View this message in context: http://www.nabble.com/CheckboxMultipleChoice-in-Ajax-style-tp23458553p23520363.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Apache Tomcat CSS

2009-05-13 Thread Erik van Oosten
I always get this for a new app when I run/build it from Eclipse or IntelliJ. Both default to exclude resources from the java packages. Build with Maven (change the pom or use quickstart to start with a correct pom) and the file should be there. Regards, Erik. Tomáš Mihok wrote: Hi

Re: Apache Tomcat CSS

2009-05-13 Thread James Carman
You can set up IntelliJ to not exclude them. Just go to the compiler properties for your project and set the exclude to something like !?*.java. 2009/5/13 Erik van Oosten e.vanoos...@grons.nl: I always get this for a new app when I run/build it from Eclipse or IntelliJ. Both default to exclude

Re: AjaxFallbackLink problem on Internet Explorer 6

2009-05-13 Thread marius1maru
I found the solutionit is not a wicket problem. The problem was in my CSS files. marius1maru wrote: Hello,  I'm using a ListView of links limited to only 5 links, an AjaxFallbackLink (showMore) that will remove the limitation, and another AjaxFallbackLink (showLess) that will

Cancelling pending Ajax requests

2009-05-13 Thread Antti Mattila
Problem: I want to validate input as user types it, but validation takes a long time on the server. When validation result for the first input is returned, user might have caused several more input events to be validated. These validation requests are pending execution on Wicket Ajax Channel. At

Re: Nested form bug?

2009-05-13 Thread Igor Vaynberg
hard to say without having something to play against. -igor On Wed, May 13, 2009 at 8:19 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! I have a data object Dummy whose attribute value has a setMethod (setValue) that does not allow the given value to be an empty string or

Re: Nested form bug?

2009-05-13 Thread Martin Makundi
Ok, I was hoping someone has experienced the same stacktrace. I will try to reproduce the bug still, maybe I find something. ** Martin 2009/5/13 Igor Vaynberg igor.vaynb...@gmail.com: hard to say without having something to play against. -igor On Wed, May 13, 2009 at 8:19 AM, Martin

wicketstuff-dojo and wicket 1.3.4

2009-05-13 Thread John Smith
Hi, I will be compiling wicketstuff-dojo with a dependency on wicket 1.3.4 for an internal project. Does anyone know if there are any integration issues between those two versions? Alternatively, is there a better component to use for a floating div than DojoFloatingPane? I did notice that

Override properties in Fragments?

2009-05-13 Thread Kaspar Fischer
How can one override properties in Fragments? Given a component: divwicket:message key=foo//div which I instantiate twice, say, in div wicket:id=c1 / wicket:fragment id=fragment div wicket:id=c2 / /wicket:fragment/ I can override c1's property foo via c1.foo=Bar but neither

Re: Override properties in Fragments?

2009-05-13 Thread Jeremy Thomerson
Good questoin - I'm not sure how that works with wicket:message. But I suppose you could easily add a label to the fragment and control the property key to your label easily -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 13, 2009 at 11:37 AM, Kaspar Fischer h...@rapsak.com

Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator

Re: Nested form bug?

2009-05-13 Thread Steve Swinsburg
I think Igor meant for you to post some code. cheers, Steve On 13 May 2009, at 17:27, Martin Makundi wrote: Ok, I was hoping someone has experienced the same stacktrace. I will try to reproduce the bug still, maybe I find something. ** Martin 2009/5/13 Igor Vaynberg

Re: Nested form bug?

2009-05-13 Thread Martin Makundi
I think Igor meant for you to post some code. There's nothing special.. form = new form form.add(nestedform = new form) nestedform.add(new textfield(propertymodel).setRequired(true)); It works most of the time, but sometimes I get the exception. ** Martin cheers, Steve On 13 May

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread Igor Vaynberg
validators work on objects not on raw string values. -igor On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.com wrote: Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
Hi Igor, I'm a little confused. I attached a StringValidator - shouldn't that work on a String? --jim igor.vaynberg wrote: validators work on objects not on raw string values. -igor On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.com wrote: Hello,I have a converter

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread Igor Vaynberg
no, validators work on a converted type - same type as the model object notice your converter is converting the value to a codablevalue type - that is the object that the validators will work on - they validate the same object that will be put into the model if validation passes. it looks like

Re: System test for a Wicket based web application. Do you do it? How?

2009-05-13 Thread Per Newgro
Hello Günther, stiq looks very promising. Can you please provide some small snippets howto use it in correlation with wicket? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread james o'brien
Hi Igor, I'm a little confused. I attached a StringValidator - shouldn't that work on a String? Also I assumed Validators work on the values of form fields after converted to String?Thanks, --jim On Wed, May 13, 2009 at 10:00 AM, james o'brien jobr...@spinnphr.comwrote: Hello,I have a

Re: objectautocomplete on a form with CompoundPropertyModel

2009-05-13 Thread nino martinez wael
Yeah or just another way of thinking.. :) 2009/5/11 Brill Pappin br...@pappin.ca: Thanks that worked... although its a bit of a pain in the behind :) - Brill Pappin On 11-May-09, at 6:55 AM, nino martinez wael wrote: You do something like this: // compound model        private final

Re: Validator class cast exception wicket 1.3.5

2009-05-13 Thread jobiwankanobi
I see, thanks. -jim igor.vaynberg wrote: no, validators work on a converted type - same type as the model object notice your converter is converting the value to a codablevalue type - that is the object that the validators will work on - they validate the same object that will be put

Re: Override properties in Fragments?

2009-05-13 Thread Kaspar Fischer
On 13.05.2009, at 18:40, Jeremy Thomerson wrote: Good questoin - I'm not sure how that works with wicket:message. But I suppose you could easily add a label to the fragment and control the property key to your label easily Programmatically, you mean, right? Using Component#getString()

Re: Override properties in Fragments?

2009-05-13 Thread Jeremy Thomerson
not getString new Label(label, new ResourceModel(yourkey)); -- Jeremy Thomerson http://www.wickettraining.com On Wed, May 13, 2009 at 4:16 PM, Kaspar Fischer h...@rapsak.com wrote: On 13.05.2009, at 18:40, Jeremy Thomerson wrote: Good questoin - I'm not sure how that works with

Validator class cast exception wicket 1.3.5

2009-05-13 Thread James O'Brien
Hello,I have a converter which I can verify is being called, but when the validator is being called it is not being called on the String value but the object which causes a ClassCastException. Here is my converter: @Override protected IConverterLocator newConverterLocator() { ConverterLocator

Re: HybridUrlCodingStrategy and parameters with .

2009-05-13 Thread Igor Vaynberg
i am guessing . is a special char in hybrid strategy so it should escape it. a patch would be welcome, and at least a jira issue. -igor On Wed, May 13, 2009 at 4:09 PM, Ryan McKinley ryan...@gmail.com wrote: any thoughts?  thanks On May 7, 2009, at 4:04 PM, Ryan McKinley wrote: I'm using

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread James Carman
Fellow Wicketeers, Please see the discussion at TSS about this framework: http://www.theserverside.com/news/thread.tss?thread_id=54535 On Wed, May 13, 2009 at 7:25 PM, Jim Xie jim.p...@gmail.com wrote: Dear Wicket Users, Dreamsource ORM has been used in three major applications for over

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread Clint Popetz
Is that a way of saying please don't spend wicket users bandwidth with 100+ explanations of why this is not a good ORM for any reasonably complex use case? :) Oops, too late. -Clint On Wed, May 13, 2009 at 7:07 PM, James Carman jcar...@carmanconsulting.com wrote: Fellow Wicketeers, Please

Re: Fast, easy and friendly ORM (Alternative to Hibernate or JPA)

2009-05-13 Thread Igor Vaynberg
lets keep this list reserved for wicket-related flamewars only, keep the other ones on tss :) -igor On Wed, May 13, 2009 at 5:21 PM, Clint Popetz cl...@42lines.net wrote: Is that a way of saying please don't spend wicket users bandwidth with 100+ explanations of why this is not a good ORM for

Re: objectautocomplete on a form with CompoundPropertyModel

2009-05-13 Thread Brill Pappin
I'd actually rather it worked as expected and simply set the object on the model property :) However, it's usable so I'll live with it. - brill On 13-May-09, at 3:10 PM, nino martinez wael wrote: Yeah or just another way of thinking.. :) 2009/5/11 Brill Pappin br...@pappin.ca: Thanks that