Re: Suggestion about wicket's Wizard

2010-06-19 Thread David Chang
Did not hear any feedback. Just curious about whether I explained clearly or about what others may think about my suggestions. Regards. --- On Fri, 6/18/10, David Chang wrote: > From: David Chang > Subject: Suggestion about wicket's Wizard > To: users@wicket.apache.org > D

Suggestion about wicket's Wizard

2010-06-18 Thread David Chang
I have been playing wicket's Wizard (1.4.9) and feel it is quite helpful but lacking in some ways. Here is what I suggest: 1. Add a method (called size or something else) to WizardModel to provide the number of wizard steps it contains. 2. Add a method to Wizard or WizardModel to provide the

Re: How to remove css class from a component?

2010-06-15 Thread David Chang
Thanks for the explanation! All the best. --- On Wed, 6/16/10, Jeremy Thomerson wrote: > From: Jeremy Thomerson > Subject: Re: How to remove css class from a component? > To: users@wicket.apache.org > Date: Wednesday, June 16, 2010, 2:10 AM > On Wed, Jun 16, 2010 at 1:05 AM

Re: How to remove css class from a component?

2010-06-15 Thread David Chang
e AttributeAppender as needed by > overriding > isEnabled() method of it: > ...new AttributeAppender(...) { >    �...@override >      isEnabled() { return > inputComponent.getFeedbackMessage() != null } > }... > > > Cheers, > Zoltan > > > On 06/16/2

Re: How to remove css class from a component?

2010-06-15 Thread David Chang
How to remove css class from a component? > To: users@wicket.apache.org > Date: Wednesday, June 16, 2010, 1:52 AM > On Wed, Jun 16, 2010 at 12:48 AM, > David Chang wrote: > > > Jeremy, glad to hear from you! > > > > My situation is a little different. The CSS class is >

Re: How to remove css class from a component?

2010-06-15 Thread David Chang
16/10, Jeremy Thomerson wrote: > From: Jeremy Thomerson > Subject: Re: How to remove css class from a component? > To: users@wicket.apache.org > Cc: "John Krasnay" > Date: Wednesday, June 16, 2010, 1:40 AM > onComponentTag(...) { > tag.remove("class"); >

How to remove css class from a component?

2010-06-15 Thread David Chang
Hello, I add a CSS class to component dynamcially the following way: inputComponent.add(new AttributeAppender("class", new Model("errorField"), " ")); How can I remove this CSS class in java code? Best! - To unsubscr

Re: wiQuery components with server side state - live demo

2010-06-13 Thread David Leangen
Nice! Do you have the example running somewhere so the curious don't need to spend time setting it up? Cheers, =David On Jun 14, 2010, at 3:37 PM, Ernesto Reinaldo Barreiro wrote: > Hi, > > I have started [1] sometime ago. This Wicket-jqgrid integration > already

Re: wiQuery components with server side state - live demo

2010-06-13 Thread David Leangen
I don't think the project is very active. Started with a bang, but there hasn't been much action lately, or so it seems. On Jun 13, 2010, at 7:42 AM, Thies Edeling wrote: > Is this project still alive? The URL below now prompts for a > username/password. Thx! > > On Wed, Mar 10, 2010 at 1:10

How to do a multiple page form?

2010-06-04 Thread David Chang
or how-to info will be greatly appreciated. Best and have a great weekend! -David - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Introduction: restauracie.sk (new project based on Wicket)

2010-06-04 Thread David Skuben
Hello Wicket comunity, let me introduce the new web project based on Wicket from Slovakia. Project name is RESTAURACIE.SK and you can find it at http://restauracie.sk. RESTAURACIE.SK is restaurant guide showcasting restaurant across the Slovakia. Today we support only slovak locale, but in the f

ModalWindow SLL connection

2010-06-03 Thread David Meulemans
Hello if you redirect from a ModalWindow to an external URL that uses SSL connection, the browser doesn't recognizes this and the security lock-icon is not shown. Is their a workaround for this? David

wicket clustering wicket-security

2010-06-01 Thread David Meulemans
I want to have multiple wicket applications to be clustered. Because I'm using ehcache it is necessary to merge the applications into one .war file because ehcache needs to be initiated in the same scope as the other applications.Now the session is shared among all applications. Is there a way to a

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread David Chang
This is really a great discussion thread and turned up lot of good stuff. Love this forum! Cheers! --- On Sun, 5/30/10, Jason Lea wrote: > From: Jason Lea > Subject: Re: Can I develop without recompiling/restarting after every change? > To: users@wicket.apache.org > Date: Sunday, May 30, 2010

Re: Can I develop without recompiling/restarting after every change?

2010-05-30 Thread David Chang
Alex, > 1) Run-jetty-run plugin: http://code.google.com/p/run-jetty-run/ You are right. I googled it out yesterday and tested it. It works perfect. Thanks for chiming! Best, David --- On Sun, 5/30/10, Alex Objelean wrote: > From: Alex Objelean > Subject: Re: Can I develo

Re: Can I develop without recompiling/restarting after every change?

2010-05-29 Thread David Chang
you might need restarts, but eclipse will > prompt > when necessary. When you use a tool like JRebel these > restarts are let > frequently needed. > > Wouter > > 2010/5/29 David Chang : > > Wouter, thanks for your input! > > > > I got tomcatPlugiin installed

Re: Can I develop without recompiling/restarting after every change?

2010-05-29 Thread David Chang
tty as web server. How can I do a similar thing with Tomcat? Any pointers? I am using Tomcat 6.x. Best, David --- On Sat, 5/29/10, Wouter de Vaal wrote: > From: Wouter de Vaal > Subject: Re: Can I develop without recompiling/restarting after every change? > To: users@wicket.apache.o

Re: Can I develop without recompiling/restarting after every change?

2010-05-29 Thread David Chang
I am using Tomcat, any tips about how to develop out recompiling/restarting after every change? Best. --- On Fri, 5/21/10, Jeremy Thomerson wrote: > From: Jeremy Thomerson > Subject: Re: Can I develop without recompiling/restarting after every change? > To: users@wicket.apache.org > Date: Fri

Re: Wicket Cobertura problem

2010-05-21 Thread David Alves
Hum... quickstart? What's that? David On May 20, 2010, at 6:07 PM, nino martinez wael wrote: > Damn, what about making a quickstart, and we can see if we can > replicate the problem? > > 2010/5/20 David Alves : >> Jetty dependencies are part of the core app, (not jus

Re: Wicket Cobertura problem

2010-05-20 Thread David Alves
, 2010, at 8:04 AM, nino martinez wael wrote: > you are running with the dependencies for jetty as test scoped or? > What if you use something like sonar does that make a diff.. > > 2010/5/19 David Alves : >> Exactly. >> weird right? >> >> I'm not 100% sure t

Re: Wicket Cobertura problem

2010-05-19 Thread David Alves
7;t encounter problems like that.. So it works when > running mvn test or mvn clean install? > > 2010/5/19 David Alves : >> Hi Nino >> >>I'm using maven, it only fails when I run the cobertura:cobertura >> target. >> >> David >> On May

Re: Wicket Cobertura problem

2010-05-19 Thread David Alves
Hi Nino I'm using maven, it only fails when I run the cobertura:cobertura target. David On May 19, 2010, at 6:57 PM, nino martinez wael wrote: > what are you using to build with maven, ant or? > > 2010/5/19 David Alves : >> Hi >> >>I'm

Wicket Cobertura problem

2010-05-19 Thread David Alves
tFoundException: org.eclipse.jetty.jsp.JettyLog 2010-05-19 17:52:22,275 INFO [main] log.Slf4jLog (55): Started socketconnec...@0.0.0.0:60130 ... Noticeably missing is all the wicket log stuff, and wick. Any ideas as to why this happens?

Re: drag and drop

2010-05-19 Thread David Leangen
Can you provide a link to the issue? I'll vote for it. Maybe lots of other people on this list could do the same. ;-) On May 19, 2010, at 8:14 PM, Ernesto Reinaldo Barreiro wrote: Hi Istvan, Don't take me wrong but: can you "confirm" that any other third party plugins you want to integ

Re: When is AbstractBehavior#bind not called?

2010-05-18 Thread David Chang
Re: When is AbstractBehavior#bind not called? > To: users@wicket.apache.org > Date: Monday, May 17, 2010, 10:26 PM > behaviors have onbeforerender which > will be called no matter what kind > of link is used. > > -igor > > On Mon, May 17, 2010 at 6:30 PM, David Chang > wrote

Re: When is AbstractBehavior#bind not called?

2010-05-17 Thread David Chang
Or can I trigger the bind method of the first component? Regards. --- On Mon, 5/17/10, David Chang wrote: > From: David Chang > Subject: Re: When is AbstractBehavior#bind not called? > To: users@wicket.apache.org > Date: Monday, May 17, 2010, 9:33 PM > One more thing regar

Re: When is AbstractBehavior#bind not called?

2010-05-17 Thread David Chang
One more thing regarding suggestion: The link on the second component points to a secured page (that needs login). --- On Mon, 5/17/10, David Chang wrote: > From: David Chang > Subject: Re: When is AbstractBehavior#bind not called? > To: users@wicket.apache.org > Date: Monday, May

Re: When is AbstractBehavior#bind not called?

2010-05-17 Thread David Chang
s already been added is used, thus no bind > call > > -igor > > On Mon, May 17, 2010 at 6:22 AM, David Chang > wrote: > > I have a top page which has two panel-based > components. > > > > Component 1 implements AbstractBehavior's bind > method. >

Re: When is AbstractBehavior#bind not called?

2010-05-17 Thread David Chang
; link 2 is not a bookmarkable link, it doesnt recreate the > page > instance so the behavior is not added because a page > instance where > the behavior has already been added is used, thus no bind > call > > -igor > > On Mon, May 17, 2010 at 6:22 AM, David Chang

When is AbstractBehavior#bind not called?

2010-05-17 Thread David Chang
I have a top page which has two panel-based components. Component 1 implements AbstractBehavior's bind method. Component 2 has a wicket Link pointing to a child page. When I am at the top page, refresh always gets #bind called. When I click the Link in Component 2, the bind method in Compone

loadable detached models and versioning

2010-05-12 Thread David Sheth
and in the meantime other changes had caused the version in the database to increase to 4, hibernate would (properly) throw an error because I am not persisting a change to the most current version. David

Is there any out-of-box form validator for checkbox input?

2010-05-10 Thread David Chang
I am curious about this. I am playing wicket based on the book WIA. I am unable to find an out-of-box form validator for checkbox input. I know I can write one. But just wanted to ask folks here to confirm. Regards, David

Re: error in customize FormComponentFeedbackBorder

2010-05-10 Thread David Chang
Igor, thanks for chiming. I got what you mean. Regards, David --- On Mon, 5/10/10, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: error in customize FormComponentFeedbackBorder > To: users@wicket.apache.org > Date: Monday, May 10, 2010, 7:16 PM > you cannot change

error in customize FormComponentFeedbackBorder

2010-05-10 Thread David Chang
(wicket:id="fullNameBorder") is what I am trying to attach the customized border component to. What is the wrong with the second way? Best, David - To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Troubles with AjaxEditableLabel

2010-05-07 Thread David Leangen
eption evaluating javascript: TypeError: el is null So, the html doesn't get updated and my editable label is not editable. The error message is not helping, and even after some digging, I've run out of ideas... Can post more info if necessary.

how to build two-state (edit/view) form and form components?

2010-04-27 Thread David Chang
I would like to have a form in which each component (such as input, textarea) has two states. Clicking on a form component's label or something else switches the component between edit (shown as usual input, textarea, etc) or view (normal html display) modes. Finally when a user is okay with eve

RE: Repeating form on a page

2010-04-16 Thread David Hamilton
have to report back on how well that works :). Thanks, David -Original Message- From: Xavier López [mailto:xavil...@gmail.com] Sent: Friday, April 16, 2010 9:33 AM To: users@wicket.apache.org Subject: Re: Repeating form on a page Hi, I've been through a similar issue recently,

Repeating form on a page

2010-04-16 Thread David Hamilton
uestions. 1) Is this best approach for this situation? 2) If it is, how do I bind each POJO on the list to a unique form instance? The goal is to allow each contact to be individually edited and saved. Any help is greatly appreciated. Thanks, David Hamilton Web Coordina

Newbie Question about populating form values

2010-04-14 Thread David Hamilton
s the correct way to handle setting the initial form value from a bean? Thanks, David Keep it Green! To help protect the environment, please only print this email if necessary. Printing email can cost more than you think. Learn more on our website

Re: How to centrally handle common exceptions from the databsae layer?

2010-04-12 Thread David Chang
helps. I really would like to hear from folks here about how to do the right thing. Best, David --- On Sun, 4/11/10, David Chang wrote: > From: David Chang > Subject: How to centrally handle common exceptions from the databsae layer? > To: users@wicket.apache.org > Date: Sunday, A

How to centrally handle common exceptions from the databsae layer?

2010-04-11 Thread David Chang
I am hoping to understand how to write a good wicket app regarding handling exceptions from the databsae layer? For a wickt form, I can have the following to handle user submission: @Override protected void onSubmit() { User u = getModelObject(); userDao.saveUser(u); setResponsePage(Resul

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-10 Thread David Chang
hi, did you get the jsr 303 validation code released? where can i find it? i am really excited looking forward to it. all the best, david --- On Mon, 4/5/10, Uwe Schäfer wrote: > From: Uwe Schäfer > Subject: Re: Any "mature" work on integrating Hibernate Validator with Wic

Re: Use Spring's LocalValidatorFactoryBean

2010-04-09 Thread David Chang
Carlos, thanks for the info. I remember I saw it somewhere but totally forgot this. It worked. Thanks! -David --- On Fri, 4/9/10, Carlos Vara wrote: > From: Carlos Vara > Subject: Re: Use Spring's LocalValidatorFactoryBean > To: users@wicket.apache.org > Date: Friday, April

Use Spring's LocalValidatorFactoryBean

2010-04-09 Thread David Chang
I am hoping to use Spring's LocalValidatorFactoryBean and define it in a Spring context file as follows: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:tx="http://www.springframework.org/schema/tx"; xmlns:util="http://www.springframewor

Re: Properties of model are set to NULL even though we have setRequired set to true

2010-04-06 Thread David Chang
. Good luck! David --- On Tue, 4/6/10, nino martinez wael wrote: > From: nino martinez wael > Subject: Re: Properties of model are set to NULL even though we have > setRequired set to true > To: users@wicket.apache.org > Date: Tuesday, April 6, 2010, 9:51 AM > Hi Wayne &

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
:) Just my 2 cents. Regards, David --- On Mon, 4/5/10, Carlos Vara wrote: > From: Carlos Vara > Subject: Re: Any "mature" work on integrating Hibernate Validator with Wicket? > To: users@wicket.apache.org > Date: Monday, April 5, 2010, 4:52 PM > Hi David, > >

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
Ben, Thanks for sharing your code, which, IMHO, definately helps not only me but also others. I believe that using Hibernate Validator really kills more than one bird in one stone. All the best, David P.S. folks, please feel free to comment how you feel about the Bean Validation/Hiberate

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
in wicketstuff that would make it more "mature"? > > there is not much to integrating the validators with wicket > so each > project probably built out their own way to do it that > suits that > project. > > -igor > > On Mon, Apr 5, 2010 at 8:27 AM, David Chan

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
be useful to > evaluate how interesting the use case is. Me myself I > cannot immagine > anything "useful" could come out of hibernate validators, > only > something very trivial. Could be wrong, thoug. > > ** > Martin > > 2010/4/5 David Chang : > > > >

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
n question > twice, why does anyone else need to reply? > > -igor > > On Mon, Apr 5, 2010 at 8:01 AM, David Chang > wrote: > > > > Hi folks, I feel a bit puzzled about not getting any > response on this topic. I have to say that I am new in > Wicket. If this

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-05 Thread David Chang
Hi folks, I feel a bit puzzled about not getting any response on this topic. I have to say that I am new in Wicket. If this a bad or wrong question or if this is something not worthy to explore, please feel free to let me know. Thanks for any input! --- On Sun, 4/4/10, David Chang wrote

Re: Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-04 Thread David Chang
Found another related work. http://42lines.net/content/integrating-hibernate-validator-and-wicket Any comment or pointers regarding relatively "mature" work in this regard? Regards. --- On Sat, 4/3/10, David Chang wrote: > From: David Chang > Subject: Any "mature

Any "mature" work on integrating Hibernate Validator with Wicket?

2010-04-03 Thread David Chang
Is there any "mature" work on integrating Hibernate Validator with Wicket? I am unable to find any at wicketstuff. Googled and found this work is interesting. http://carinae.net/tag/hibernate-validator/ Any pointers? Any comment? Thanks and Happy Easter! ---

Can I prevent Wicket from overwriting my markup IDs?

2010-03-30 Thread David Chang
I am new in wicket. Just wanted to verify my understanding is right or not. If I have the following HTML: sample text> Does Wicket (as of version 1.4.7) always overwrite my markup ID? If not, what is the way of stoping Wicket doing that (i.e., keep my original markup id)? Thanks. -

Re: better way setting up ID for a Wicket component?

2010-03-30 Thread David Chang
in my case that initiated this thread, is to style certain elements and I hope to have meaningful markup IDs. I have meaningful wicket IDs in my case, and I simply want to do the same for markup IDs. Thanks, David --- On Tue, 3/30/10, Boris Goldowsky wrote: > From: Boris Goldowsky >

Re: better way setting up ID for a Wicket component?

2010-03-30 Thread David Chang
cket defaults to the > safest practice of generating an ID for you.  I > typically > avoid programmatically setting the markup ID for this very > reason.  There's > (almost) always a way around it. > > -- > Jeremy Thomerson > http://www.wickettraining.com >

About WiQueryWebApplication

2010-03-30 Thread David Chang
IMHO, I am not quite sure this class (another indirection) is really necessary. All this class does is having a member variable: private WiQueryInstantiationListener wiqueryPluginInstantiationListener; and insert the following two lines into init(). wiqueryPluginInstantiationListener = new WiQu

Re: My first WiQuery app does not work

2010-03-30 Thread David Chang
Julie, Thanks for asking. The code is in the beggining of this thread. For that, I copied the Hello World example from wiquery site. If I make my wicket application extend WiQueryWebApplication, then everything is working fine. Thanks, David --- On Tue, 3/30/10, julien roche AKA

Re: better way setting up ID for a Wicket component?

2010-03-30 Thread David Chang
2 of those panels on the same > page, then your approach would break things like > document.getElementId(...) because there would be more than > 1 element w/ same ID. > > Craig > >   _  > > From: David Chang [mailto:david_q_zh...@yahoo.com] > To: users@wicket.apache

Re: better way setting up ID for a Wicket component?

2010-03-30 Thread David Chang
Martin and Jeremy, thanks for chiming. The suggested solutions work but IMHO none of them seem ideal in terms of less code, error-less, and refactoring. The best is to have that convenience method or use Wickt 1.5 where HTMLElement's id will be kept. All the best, David --- On Tue, 3/

Re: My first WiQuery app does not work

2010-03-30 Thread David Chang
In my experiment, the app does not work without extending WiQueryWebApplication. Is extending WiQueryWebApplication a must? The Hello World example does not extend WiQueryWebApplication and I copied the example code but it does not work. Best, David --- On Tue, 3/30/10, Cemal Bayramoglu wrote

Re: My first WiQuery app does not work

2010-03-30 Thread David Chang
Julien, thanks for reply. Silly me. I should have looked at the sample code. I was too excited seeing the first app works. Best, David --- On Tue, 3/30/10, julien roche AKA indiana_jules wrote: > From: julien roche AKA indiana_jules > Subject: Re: My first WiQuery app does not wor

Re: My first WiQuery app does not work

2010-03-30 Thread David Chang
problem with it. Correct? 2. Why the example requires double-click? Regards. -David --- On Tue, 3/30/10, julien roche AKA indiana_jules wrote: > From: julien roche AKA indiana_jules > Subject: Re: My first WiQuery app does not work > To: users@wicket.apache.org > Date: Tu

My first WiQuery app does not work

2010-03-30 Thread David Chang
Here is what I have: JDK 1.6, Wicket 1.4.7, WiQuery 1.0, Tomcat 6.0.24 I downloaded wiquery and put its jar on the classpath. I copied the Hello World sample from http://code.google.com/p/wiquery/wiki/QuickStart Here is my code: HTML:- WiQuery Quicks

Re: better way setting up ID for a Wicket component?

2010-03-29 Thread David Chang
gt; On Mon, Mar 29, 2010 at 6:18 PM, James Carman > > > wrote: > > > Perhaps.  File a JIRA report ( > > https://issues.apache.org/jira/browse/WICKET) > > > and ask for it as a "New Feature."  If the > core developers don't like the > > > idea,

Re: better way setting up ID for a Wicket component?

2010-03-29 Thread David Chang
t; > Perhaps.  File a JIRA report (https://issues.apache.org/jira/browse/WICKET) > > and ask for it as a "New Feature."  If the core > developers don't like the > > idea, I'm sure they'll let you know. :) > > > > > > On Mon, Mar 29, 2010 at

Re: better way setting up ID for a Wicket component?

2010-03-29 Thread David Chang
n Mon, Mar 29, 2010 at 9:03 PM, David Chang wrote: > > > Not sure whether the help method will do the trick of > one-liner code. > > > > I feel that it would be much nice if Wicket could have > the following > > additional method for a Componment: > > > >

Re: better way setting up ID for a Wicket component?

2010-03-29 Thread David Chang
t; > protected T setMarkupId(T > component, String markupId) > { >   component.setMarkupId(markupId); >   return component; > } > > > On Mon, Mar 29, 2010 at 7:00 PM, David Chang wrote: > > > Here is what I am using the follow pattern to set up > ID for a

better way setting up ID for a Wicket component?

2010-03-29 Thread David Chang
Here is what I am using the follow pattern to set up ID for a wicket component: Label abc = new Label("abcd", "abcdedfg"); abc.setOutputMarkupId(true).setMarkupId(abc.getId()); It takes two lines to do this. Can I do something like Label abc = new Label("abcd", "abcdedfg").setOutputMarkupId(t

Prevent messages from being displayed in FeedbackPanel if displayed in ComponentFeedbackPanel

2010-03-28 Thread David Chang
I have a page which has a FeedbackPanel for collecting and displaying messages. On this page there is also a form. I use ComponentFeedbackPanel to display any validation error messages for fields. When a validation error happens, it ends up being displayed in both FeedbackPanel and ComponentFee

How to customize FormComponentFeedbackBorder's error indicator

2010-03-28 Thread David Chang
I would like to replace the default indicator asterisk with an image. How can I do it? What is the most elegant way? Thanks for any info or pointer. All the best, David - To unsubscribe, e-mail: users-unsubscr

Re: How to put a validation error message near its field?

2010-03-27 Thread David Chang
Jame, thanks for quick reply on a Saturday evening.. Exactly what I want. Best, David --- On Sat, 3/27/10, James Carman wrote: > From: James Carman > Subject: Re: How to put a validation error message near its field? > To: users@wicket.apache.org > Date: Saturday, March 27, 20

How to put a validation error message near its field?

2010-03-27 Thread David Chang
FeedbackPanel is great in in terms of gathering messages in a central place. But I saw many great sites have messages near their fields. How can we do this in Wicket? Thank in advance for any info or pointer! Regards. -

Re: How to provide a value to a message's argument

2010-03-24 Thread David Chang
l > > -igor > > On Wed, Mar 24, 2010 at 8:42 PM, David Chang > wrote: > > > > HTML: > > > > [sample text] > > > > Java: > > > > add(new Label("x", new ResourceModel("x"))); > > > > Resource file:

How to provide a value to a message's argument

2010-03-24 Thread David Chang
HTML: [sample text] Java: add(new Label("x", new ResourceModel("x"))); Resource file: Hello ${label} ! In the above Java, I cannot find a way to provide a value to the argument of the string. I want the program to display Hello David! He

Re: Reload a page and component repaint

2010-03-23 Thread David Chang
> it does, but maybe the model value is unchanged If the model value is unchanged, the component will repaint itself or not? Best, David --- On Tue, 3/23/10, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: Reload a page and component repaint > To: users@wicket.apach

Reload a page and component repaint

2010-03-23 Thread David Chang
I am new in Wicket and so please bear with me if this question is obvious. Suppose I am viewing a Wicket page in FF. At the moment, the link is: http://localhost:8080/f/?wicket:interface=:12 If I click the Reload button of FF, isn't Wicket supposed to call EACH component to repaint itself b

Re: Ajax has too much control?

2010-03-22 Thread David Chang
need: redraw part of a web page via Ajax without submitting a form. Thank YOU for your help! All the best, David --- On Mon, 3/22/10, Martin Makundi wrote: > From: Martin Makundi > Subject: Re: Ajax has too much control? > To: users@wicket.apache.org > Date: Monday, March 22, 20

Re: Reasons against using Acegi with Wicket?

2010-03-22 Thread David Chang
James, I did read some of your code for clues regarding how to program Wicket. Glad to know that it even has Acegi integration there!!! Best, David --- On Mon, 3/22/10, James Carman wrote: > From: James Carman > Subject: Re: Reasons against using Acegi with Wicket? >

Reasons against using Acegi with Wicket?

2010-03-22 Thread David Chang
Hello, I am learning Wicekt via the book WIA and I understand that Wicket has its own way (interfaces, components, sub-projects) of handling web security. I am thinking about using Acegi with Wicket. The reason is that I am familiar with Acegi, but I hope I am not going to do the wrong thing wi

Re: Ajax has too much control?

2010-03-22 Thread David Chang
target.addComponent(countryDDC); target.addComponent(stateDDC); } } }); As you can see, I am using AjaxFormComponentUpdatingBehavior. Why do you use AjaxFormSubmitBehavior? In my case, I am not submitting a form. I am new in Wicket. Thanks for your help! Best. -David --- On

Re: Ajax has too much control?

2010-03-21 Thread David Chang
-controls State DDC, the two DDC works correctly. The problem is that once this Ajax control is triggered by selecting a value in Country DDC, the State DDC list is NOT updated when the Locale DDC value is changed. I have a feel that Wicket has a problem here. I am using Wicket 1.4.7. Regards. -David

Ajax has too much control?

2010-03-20 Thread David Chang
Forgive me about this meaningless subject, but I cannot think of a better one. I have been learning Wicket through the WIA book. I just found out something interesting to me. Not sure it is a bug, design, or something I did wrong. I have a page with three Wicket elements: 1. Locale selector th

Re: jWicket 0.5.2

2010-03-20 Thread David Leangen
Hi, What's the difference between jwicket and wiQuery? Is it necessary to have 2 separate projects? Just curious, because I'll soon be looking into better jQuery integration. Thanks! =David On Mar 20, 2010, at 8:50 PM, Stefan Lindner wrote: I checked in jwicket 0.5.2 into w

two LDM DropDownChoice behave differently ?

2010-03-19 Thread David Chang
Hello, I am playing Wicket now and came across this "strange" behavior. I have a page with two LDM-based DropDownChoice (Country and State). The Country DDC ajax-controls the State DDC. The Ajax works well. Here is something I dont understand. When the page is diplayed first time, both LDM#l

Re: JCaptcha sound with Wicket?

2010-03-19 Thread David Chang
Anybody ever got this working? Thanks for any info or ponter. Regards. --- On Thu, 3/18/10, David Chang wrote: > From: David Chang > Subject: JCaptcha sound with Wicket? > To: users@wicket.apache.org > Date: Thursday, March 18, 2010, 11:31 PM > Based on the WIA book, I am a

Re: Dynamic Image (aka Barcode) based on user input not refreshed via Ajax

2010-03-19 Thread David Chang
Exactly. That is what eventually I found out after quite some time fruitless research and test in other areas. --- On Fri, 3/19/10, Igor Vaynberg wrote: > From: Igor Vaynberg > Subject: Re: Dynamic Image (aka Barcode) based on user input not refreshed > via Ajax > To: users@wicket.apache.org

JCaptcha sound with Wicket?

2010-03-18 Thread David Chang
Based on the WIA book, I am able to have a working example of JCaptcha image. I am hoping to get JCaptcha sound working too. I tried different ways, but unable to get it working. Did anyone get JCaptcha sound working with Wicket? Could you please share your config and code? Thanks for any inpu

Re: Select the "Choose one" of a required DropDownChoice

2010-03-18 Thread David Chang
return true;//anyMessage(); } }.setOutputMarkupId(true)); --- On Thu, 3/18/10, Martin Makundi wrote: > From: Martin Makundi > Subject: Re: Select the "Choose one" of a required DropDownChoice > To: users@wicket.apache.org > Date: Thursday, March 18

Re: Select the "Choose one" of a required DropDownChoice

2010-03-18 Thread David Chang
uot; and set another dropdown list blank. Regards. --- On Thu, 3/18/10, Martin Makundi wrote: > From: Martin Makundi > Subject: Re: Select the "Choose one" of a required DropDownChoice > To: users@wicket.apache.org > Date: Thursday, March 18, 2010, 10:58 AM > setNullValid >

Re: Select the "Choose one" of a required DropDownChoice

2010-03-18 Thread David Chang
s, try  > setRequired(false) ... > > Matt > > On 2010-03-18 14:36, David Chang wrote: > > Matt, I already did that. > > > > DropDownChoice.setNullValid() makes "Choose one" > always stay there. > > I notice that DropDownChoice.se

Re: Select the "Choose one" of a required DropDownChoice

2010-03-18 Thread David Chang
er > Subject: Re: Select the "Choose one" of a required DropDownChoice > To: users@wicket.apache.org > Date: Thursday, March 18, 2010, 9:30 AM > Hi > > Have a look at DropDownChoice.setNullValid() and > .setRequired() > > Matt > > On 2010-03-18 14:

Make FeedbackPanel occupy zero space when having no messages?

2010-03-18 Thread David Chang
Hello, I am playing with FeedbackPanel. I put it in a page like this: I notice that when having no messages, it always take up some space. How can I make FeedbackPanel occupy zero space when having no messages? Wicket way? or CSS? Any help is really appreciated. Regards.

Select the "Choose one" of a required DropDownChoice

2010-03-18 Thread David Chang
Hi, I am new in Wicket and am playing with different components. I have a two dropdown lists. One is a list of countries, required field, controlling another list of states/provinces via AjaxFormComponentUpdatingBehavior. The country list always has a blank (equivalent of "Choose one") as th

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
Martin, Very sorry for being confusing to you. Here is what I want: I want blank line is always there, no matter whether a value is selected or not, no matter whether the field is required or not. I am using ChoiceRenderer to convert a selected option to objects. Thanks, David --- On Wed

Re: SV: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
rom DropDownChoice? > > > > I don't understand , Chang... > > > > If you want non selection to be " ", then say > > > > null=" " (without the quotes) > > > > Otherwise if you don't want null selection, you say > > comp

Re: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
Martin, According to what you said, do I need to add special processing in ChoiceRenderer if this blank line is the selected and I need to convert selected value to object? Thanks, David --- On Wed, 3/17/10, Martin Phee wrote: > From: Martin Phee > Subject: Re: Replace "Choos

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
help! Best, David --- On Wed, 3/17/10, Martin Asenov wrote: > From: Martin Asenov > Subject: RE: Replace "Choose one" from DropDownChoice? > To: "users@wicket.apache.org" > Date: Wednesday, March 17, 2010, 9:08 AM > Hi, David! > > Let's presume you

Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
Hello, I understand that there must be a solution for this. I googled for some time and found one or two results that seem to match what I am looking but they did not answer my question. Tried myself, not successful. So I want to ask folks here. I have a form and it has a dropdown list. Here ar

Re: Recommend two good complete clean Wicket+Spring+Hibernate apps?

2010-03-16 Thread David Chang
Cemal, Thanks so much for the information. I am really grateful, indeed. Putting Wicket aside, you guys are awesome. Best, David --- On Tue, 3/16/10, Cemal Bayramoglu wrote: > From: Cemal Bayramoglu > Subject: Re: Recommend two good complete clean Wicket+Spring+Hibernate apps? > T

<    1   2   3   4   5   6   7   8   >