Palette problem

2009-05-13 Thread Eman Nollase
Hello, I have a problem about palette. here is the scenario: if there is already values in selected side and when I add values from available side there is only n-1 values get. If there is currently 2 values in the selected side then i add 2 values from available side, i only get 3 values. The la

Re: Pre-built wicket sample app for a starter to copy?

2009-05-13 Thread Matt Welch
David Brown-48 wrote: > > Hello, please excuse if the wicket-security project is readily visible. > Otherwise, reply with the link. Much appreciated. Regards, David. > Google is your friend :) http://lmgtfy.com/?q=wicket+security -- View this message in context: http://www.nabble.com/Pre-bu

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 : Thanks that worked... altho

Re: Serialization

2009-05-13 Thread Brill Pappin
Great link site Clint... should be called STFW though :) - Brill On 13-May-09, at 2:44 PM, Clint Popetz wrote: http://lmgtfy.com/?q=java+serialization+default+constructor&l=1 -Clint On Wed, May 13, 2009 at 1:39 PM, Douglas Ferguson wrote: Why do Wicket-serialized objects require a default

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

2009-05-13 Thread James Carman
I was going to let you folks come to your own conclusions and hopefully we wouldn't re-hash the discussion here. On Wed, May 13, 2009 at 8:21 PM, Clint Popetz 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 any

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 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 any > reasonabl

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 wrote: > Fellow Wicketeers, > > Please see the discussion at TSS a

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 wrote: > Dear Wicket Users, > > > Dreamsource ORM has been used in three major applications for over three > years. I

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

2009-05-13 Thread Jim Xie
Dear Wicket Users, Dreamsource ORM has been used in three major applications for over three years. It solves the following problems: 1. Whatever you codes happens in database. 2. No detached enhanced object. So it can be used with any frameworks like Spring, GWT. 3. No lazy loading.

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 wrote: > any thoughts?  thanks > > > On May 7, 2009, at 4:04 PM, Ryan McKinley wrote: > >> I'm using the Hybrid

Re: HybridUrlCodingStrategy and parameters with "."

2009-05-13 Thread Ryan McKinley
any thoughts? thanks On May 7, 2009, at 4:04 PM, Ryan McKinley wrote: I'm using the HybridUrlCodingStrategy and ran into a glitch when I have parameter values that include the character "." For example, if I make a link with: params.add( "p", "Hello 2.01.00" ) This creates a link to: http

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 l

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 wrote: > > On 13.05.2009, at 18:40, Jeremy Thomerson wrote: > >> Good questoin - I'm not sure how that works with wicket:messa

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() fo

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 p

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 : > 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 IMode

Re: Serialization

2009-05-13 Thread Clint Popetz
http://lmgtfy.com/?q=java+serialization+default+constructor&l=1 -Clint On Wed, May 13, 2009 at 1:39 PM, Douglas Ferguson wrote: > Why do Wicket-serialized objects require a default constructor? > > Exception is: > > Caused by: > java.io.InvalidClassException:com.conducive.logic.scraper.impl.med

Serialization

2009-05-13 Thread Douglas Ferguson
Why do Wicket-serialized objects require a default constructor? Exception is: Caused by: java.io.InvalidClassException:com.conducive.logic.scraper.impl.media.MediaScraperResult; com.conducive.logic.scraper.impl.media.MediaScraperResult; no valid constructor java.io.ObjectStreamClass.check

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 wrote: > Hello,I have a converter which I can verify

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, e

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 in

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 > wrote: >> Hello,I have a converter which I can

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 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 which causes a Cla

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

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 : hard to say without

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 l

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 wrote: > How ca

Override properties in Fragments?

2009-05-13 Thread Kaspar Fischer
How can one override properties in Fragments? Given a component: which I instantiate twice, say, in I can override c1's property foo via c1.foo=Bar but neither c2.foo=Bar nor fragment.c2.foo=Bar work. What is the property path to access c2's foo? Kaspar ---

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 DojoFl

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 : > hard to say without having something to play against. > > -igor > > On Wed, May 13, 2009 at 8:19 AM, Martin Makundi > wrote: >> Hi!

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 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 null. > > This model object

Nested form bug?

2009-05-13 Thread Martin Makundi
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 null. This model object is attached to a property model new PropertyModel(dummy, "value") and the propertymodel is passed to a TextField component whose "

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 th

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 wi

Refresh a BaseTree?

2009-05-13 Thread Kaspar Fischer
I create a BaseTree like this: final DefaultTreeModel model = new DefaultTreeModel(...); IModel< new AbstractReadOnlyModel() { @Override public TreeModel getObject() { return model; } }; add(new BaseTree("tree", model) { /* ... */ }); When the user c

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 : > I always get this for a new app when I run/build it from Eclipse or > IntelliJ. Both default to exclude resources from the

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 there

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: 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 exa

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 impossi

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 :