Where can I find this Wicket application?

2009-09-27 Thread David Chang
Hello, I am reading Wicket-related stuff on the net and came across this Wicket discussion thread: http://osdir.com/ml/users-wicket.apache.org/2009-05/msg01196.html In the response, my wicket-advanced example application is mentioned. I would like to know where I can find this application?

avoid setters / getters by using ?

2009-09-27 Thread David Chang
Hello, I have Wicket+Spring application. It has a service object which has a few DAO members. I can use Spring's autowiring to avoid mentioning the DAO dependencies for the service bean. However, in the Java program for the service bean, I still have to add setters and getters for each DAO

Re: avoid setters / getters by using ?

2009-09-27 Thread David Chang
martin.maku...@koodaripalvelut.com Subject: Re: avoid setters / getters by using ? To: users@wicket.apache.org Date: Sunday, September 27, 2009, 3:55 PM At least in wicket you can access the fields themselves using propertymodels. ** Martin 2009/9/27 David Chang david_q_zh...@yahoo.com

Re: Can Wicket automatically remove beginning and trailing spaces in a text field?

2009-10-02 Thread David Chang
It already does that. FormComponent: protected T convertValue(String[] value) throws ConversionException { return (T)(value != null value.length 0 value[0] != null ? trim(value[0]) : null); } 2009/10/2 David Chang david_q_zh...@yahoo.com How to set it up in a Wicket application? I

Re: Can Wicket automatically remove beginning and trailing spaces in a text field?

2009-10-02 Thread David Chang
it on model level otherwise on that layer. Best wishes MB -Original Message- From: David Chang [mailto:david_q_zh...@yahoo.com] Sent: Friday, October 02, 2009 5:25 AM To: users@wicket.apache.org Subject: Can Wicket automatically remove beginning and trailing spaces in a text

Re: Can Wicket automatically remove beginning and trailing spaces in a text field?

2009-10-02 Thread David Chang
FormComponent. You don't have to do anything. Martijn On Fri, Oct 2, 2009 at 3:06 PM, David Chang david_q_zh...@yahoo.com wrote: For this to work, I have to overwrite this method either for each form or write a custom class extending FormComponent. Correct? If yes, then it is not what

How to store/load strings shared by many (but not all) pages?

2009-10-03 Thread David Chang
I am reading Wicket in Action and have this i18n/i10n-related question : Suppose that I have a string that is used on multiple (but NOT ALL) pages. One solution is that I can put this string in the property files for each page on which the string is used. Any other better solutions? Thanks

Start a panel, border, or page with an XML declaration?

2009-10-03 Thread David Chang
Hello, I am reading Wicket in Action. The Tip on page 291 says it is good practice to start your panels and borders (possibly your pages) with an XML declaration to force Wicket to work with them using the proper encoding. Does this mean that starting a panel, border, or page with something

Re: How to store/load strings shared by many (but not all) pages?

2009-10-04 Thread David Chang
:52 AM YourApplicationClass.properties sitting next to you YourApplicationClass.java/class will do the trick. all components/pages have access to properties stored there. -igor On Sat, Oct 3, 2009 at 8:32 PM, David Chang david_q_zh...@yahoo.com wrote: I am reading Wicket in Action

Move shared wicket components to a base page?

2009-10-04 Thread David Chang
I have two wicket pages, both of which extend a base page. In the first version, each page used a wicket componet as follows: span wicket:id=feedback / In the second version, I moved the above markup to the base page. However, I always got this error from wicket: WicketMessage: The

How to list files by name in Eclipe's Package Explorer?

2009-10-04 Thread David Chang
Hello, I am using Eclipse for devleopment. The files in its Package Explorer are listed by extensions: java files first. This is good for non-wicket development. Now each page's java and markup files are in the same directory and I hope to see them naturally stay together, which means making

Re: Move shared wicket components to a base page?

2009-10-04 Thread David Chang
On Sun, Oct 4, 2009 at 8:44 AM, David Chang david_q_zh...@yahoo.com wrote: I have two wicket pages, both of which extend a base page. In the first version, each page used a wicket componet as follows: span wicket:id=feedback / In the second version, I moved the above markup to the base

Re: Start a panel, border, or page with an XML declaration?

2009-10-04 Thread David Chang
Subject: Re: Start a panel, border, or page with an XML declaration? To: users@wicket.apache.org Date: Sunday, October 4, 2009, 6:59 AM 2009/10/4 David Chang david_q_zh...@yahoo.com: Hello, I am reading Wicket in Action. The Tip on page 291 says it is good practice to start your panels

Re: SV: Move shared wicket components to a base page?

2009-10-05 Thread David Chang
Tor, you are right. I found a coding error in my program. Yes, this whole thing is doable. Wicket is great! Thanks! --- On Mon, 10/5/09, Wilhelmsen Tor Iver toriv...@arrive.no wrote: From: Wilhelmsen Tor Iver toriv...@arrive.no Subject: SV: Move shared wicket components to a base page? To:

Re: Start a panel, border, or page with an XML declaration?

2009-10-05 Thread David Chang
? To: users@wicket.apache.org Date: Monday, October 5, 2009, 4:27 AM 2009/10/4 David Chang david_q_zh...@yahoo.com: Phil, Thanks very much for your reply. By XML declaration, you mean something like: ?xml version=1.0 encoding=UTF-8 ? Correct? I found this piece and it may

Re: How to list files by name in Eclipe's Package Explorer?

2009-10-05 Thread David Chang
Does anybody know the trick for this task? Thanks! --- On Sun, 10/4/09, David Chang david_q_zh...@yahoo.com wrote: From: David Chang david_q_zh...@yahoo.com Subject: How to list files by name in Eclipe's Package Explorer? To: users@wicket.apache.org Date: Sunday, October 4, 2009, 4:44 PM

Re: How to list files by name in Eclipe's Package Explorer?

2009-10-05 Thread David Chang
Pedro, thanks for the tip! Cheers! --- On Mon, 10/5/09, Pedro Sena sena.pe...@gmail.com wrote: From: Pedro Sena sena.pe...@gmail.com Subject: Re: How to list files by name in Eclipe's Package Explorer? To: David Chang david_q_zh...@yahoo.com Date: Monday, October 5, 2009, 10:52 AM Hmmm

Re: How to list files by name in Eclipe's Package Explorer?

2009-10-05 Thread David Chang
devfac...@gmail.com Subject: Re: How to list files by name in Eclipe's Package Explorer? To: users@wicket.apache.org Date: Monday, October 5, 2009, 12:06 PM Would it work for you to just use the Navigator view instead of Package Explorer? On Mon, Oct 5, 2009 at 11:01 AM, David Chang

links on the page after invalidating the session

2009-11-07 Thread David Chang
I am reading the book: Wicket in Action. The first sentence of the Note on page 274 reads: - Always set a bookmarkable response page after you invalidate the session. - My understanding is that if this page has any Wicket-generated links, it MUST be bookmarkable links too. Correct?

A question about the book WIA

2009-11-07 Thread David Chang
I am reading the book: Wicket in Action. The first sentence of second paragraph of page 273 reads: - In the UserPanel, we created a model that extends LoadableDetachableModel for representing the current user (if any). - In this chapter (Chapter 11 Securiing your application), I am

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

2009-05-11 Thread David Chang
Hello, I have a web project to do and this time I am going to do it with Wicket instead of Spring MVC. And I need your input. The tools I plan to use include Wicket, Spring, Hibernate, Acegi, and Displaytag. I recall when I started my first Spring project, I copied Matt Rabile’s example

Any easy way to do client-side javascript-based validation with Wicket?

2009-05-25 Thread David Chang
I am now reading the book Wicket in Action to learn about Wicket. The more I read and the more I like it! I did a few projects with Spring MVC in the past. In these projects, I defined form field validation rules in an XML file and Spring adds both client side and server-side, which I think

Re: Any easy way to do client-side javascript-based validation with Wicket?

2009-05-25 Thread David Chang
/25 David Chang david_q_zh...@yahoo.com: I am now reading the book Wicket in Action to learn about Wicket. The more I read and the more I like it! I did a few projects with Spring MVC in the past. In these projects, I defined form field validation rules in an XML file and Spring adds

RE: Any easy way to do client-side javascript-based validation with Wicket?

2009-05-25 Thread David Chang
for it (http://bassistance.de/jquery-plugins/jquery-plugin-validation/). Very easy to integrate. And most of the times it's only adding extra style class to field and it works. Kind Regards, Frank Klein Koerkamp -Original Message- From: David Chang [mailto:david_q_zh...@yahoo.com] Sent

RE: Any easy way to do client-side javascript-based validation with Wicket?

2009-05-25 Thread David Chang
Message- From: David Chang david_q_zh...@yahoo.com Sent: Monday, May 25, 2009 9:19 AM To: users@wicket.apache.org Subject: RE: Any easy way to do client-side javascript-based validation with  Wicket? Frank, thanks so much for your input. It seems your jQuery validation plugin

How to receive digested emails once a day from this mailing list ???

2009-05-27 Thread David Chang
I am new to this mailing list and I like it very much. I like the active community and the questions and answers, but I prefer to receive all the emails combined together in a single email once a day. I want to stay in the loop. I tried user-digest-subscr...@wicket.apache.org and there is no

Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
Hello, I am in the process of learning Wicket and testing different things. One of the biggest problems so far is that when starting Tomcat, I often get the following error message: SEVERE: Error filterStart AND Tomcat gives no detail what cuased the problem Any way I can make Tomcat

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
I googled a lot but failed to find satisfactory answers. I just find a way to make tomcat to produce more error info than simply May 30, 2009 12:06:57 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart May 30, 2009 12:06:57 PM org.apache.catalina.core.StandardContext

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
filterStart -- how to know what caused tomcat start failure? To: users@wicket.apache.org Date: Saturday, May 30, 2009, 12:24 PM There are also other tomcat logs, have you looked into them? I found an cause of this error in other log, but I do not remember which one was that. Vitek David

Large internet rich UI Wicket websites?

2009-07-01 Thread David Chang
I am still learning Wicket. The more I read from Wicket in Action, the more I like it. From the book, I know that companies from startups to large-size ones such as IBM, Amazon, etc. use Wicket for their projects, but I cannot find a list of specific larget internet rich UI websites coded

Re: Large internet rich UI Wicket websites?

2009-07-01 Thread David Chang
01.07.2009 um 20:11 schrieb David Chang: I am still learning Wicket. The more I read from Wicket in Action, the more I like it. From the book, I know that companies from startups to large-size ones such as IBM, Amazon, etc. use Wicket for their projects, but I cannot find a list of specific

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
@wicket.apache.org Date: Wednesday, July 1, 2009, 3:21 PM Am 01.07.2009 um 20:11 schrieb David Chang: I am still learning Wicket. The more I read from Wicket in Action, the more I like it. From the book, I know that companies from startups to large-size ones such as IBM, Amazon, etc

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
? To: users@wicket.apache.org Date: Wednesday, July 1, 2009, 3:21 PM Am 01.07.2009 um 20:11 schrieb David Chang: I am still learning Wicket. The more I read from Wicket in Action, the more I like it. From the book, I know that companies from startups to large

Re: Large internet rich UI Wicket websites?

2009-07-03 Thread David Chang
@wicket.apache.org Date: Wednesday, July 1, 2009, 3:21 PM Am 01.07.2009 um 20:11 schrieb David Chang: I am still learning Wicket. The more I read from Wicket in Action, the more I like it. From the book, I know that companies from startups to large-size ones such as IBM, Amazon, etc

Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread David Chang
Sorry if this is a dumb question. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Wicket Bench website is down

2009-07-22 Thread David Chang
I am hoping to download the Eclipse plugin and followed the link from the Wicket website, but the site is down. http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench Any other place to download this plugin? Thanks.

Re: Member variables in WebApplication are not serialized, correct?

2009-07-22 Thread David Chang
correct - they are not serialized however I don't know what will happen when using Terracotta... Am 23.07.2009 um 01:09 schrieb David Chang: Sorry if this is a dumb question. Thanks. - To unsubscribe, e

Member variables in WebApplication are not serialized under Terracotta, correct?

2009-07-23 Thread David Chang
- they are not serialized however I don't know what will happen when using Terracotta... Am 23.07.2009 um 01:09 schrieb David Chang: Sorry if this is a dumb question. Thanks. - To unsubscribe, e-mail: users

Wicket Bench website has been down for a few days

2009-07-24 Thread David Chang
http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench Does anybody know why? I hope to use this Eclipse plugin. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Serialization of a page with a long and dynamic list of records

2009-07-25 Thread David Chang
I am learning and evaluating Wicket now and have a question to ask. I have a page that displays a long list (say 2000) of records. This page is dynamic, which means the list of records may change for each reload. I understand that I should use loadable detachable model. My question is: does

Questions about Wicket sessions

2009-07-26 Thread David Chang
Reading Wicket in Action to learn Wicket, I understand that sessions are not thread-safe. I have the following questions about a Wicket app: 1. If I open another tab on the same browser (IE or FF), visitor activities on the same Wicket app are considered in the same session? 2. If I start

Re: Questions about Wicket sessions

2009-07-26 Thread David Chang
Another question: By default, Wicket's SessionStore stores older pages to a temporary directory. It is stored as files, correct? In case of a large website demanding high performance, it should be stored in a high-performance database, correct? Thanks! --- On Sun, 7/26/09, David Chang

Re: Questions about Wicket sessions

2009-07-26 Thread David Chang
on session storage: you'll be hard pressed to find a more performant solution to Wicket's http session disk store. Perhaps that memory solutions would work better. Regards,    Erik. David Chang wrote: Reading Wicket in Action to learn Wicket, I understand that sessions are not thread

Re: Questions about Wicket sessions

2009-07-26 Thread David Chang
solution to Wicket's http session disk store. Perhaps that memory solutions would work better. Regards,    Erik. David Chang wrote: Reading Wicket in Action to learn Wicket, I understand that sessions are not thread-safe. I have the following questions about a Wicket app

the effective ways of wicket models to access database

2009-07-27 Thread David Chang
Hello, I am reading Wicket in Action to learn Wicket. The example on Page 99 is about teaching detachable models. Here it goes: --- public class CheeseModel extends Model { private Long id; private transient Cheese cheese; public CheeseModel() { }

Re: the effective ways of wicket models to access database

2009-07-27 Thread David Chang
Martin and all, thanks for your input. You can use spring to inject the service, using @SpringBean and calling in the constructor InjectorHolder.getInjector().inject(this); (or use salve) You mean add a member to this CheeseModel class and use @SpringBean to inject it? From reading this book,

Re: Twenty Six Wicket Tricks

2009-07-28 Thread David Chang
I would buy the book too. When will it be available? --- On Tue, 7/28/09, Mathias Nilsson wicket.program...@gmail.com wrote: From: Mathias Nilsson wicket.program...@gmail.com Subject: Re: Twenty Six Wicket Tricks To: users@wicket.apache.org Date: Tuesday, July 28, 2009, 1:02 PM +1 I

Re: Twenty Six Wicket Tricks

2009-07-28 Thread David Chang
Why just 26 tricks?More please..! I feel the learning curve for Wicket is kind of tall and more tricks can definitely help new comers in terms of available practical tools and understanding masterful use of Wicket by gurus and ... and ... --- On Tue, 7/28/09, David Chang

How Wicket's big concepts/objects work together and in what order?

2009-08-05 Thread David Chang
Hello, I am learning Wicket now and feel a bit confused by the new concepts in Wicket regarding how they work together and in what order. The big concepts I am talking about include: Application Session Request RequestCycle RequestCycleProcessor RequestTarget SessionStore Request Response

Re: How Wicket's big concepts/objects work together and in what order?

2009-08-05 Thread David Chang
Jeremy, I bought and read that book already. I have a good understanding of the technology now, but still feel lack of precise understanding of them. Cheers! --- On Wed, 8/5/09, Jeremy Thomerson jer...@wickettraining.com wrote: From: Jeremy Thomerson jer...@wickettraining.com Subject: Re:

Re: How Wicket's big concepts/objects work together and in what order?

2009-08-05 Thread David Chang
Igor, thanks for the tip. I read that wiki page The Life-Cycle of a Wicket Application. The page has useful info but it is still lacking. It does not mention RequestCycleProcessor, RequestTarget, or Response objects. Can any Wicket expert update this page? Have a better understanding now but

Re: How Wicket's big concepts/objects work together and in what order?

2009-08-05 Thread David Chang
Jeremy, thanks for the good tip. It makes sense, though not the best way. The more I read about Wicket, the more I like it:-) Just hope to know every detail. Wicket is a great tool but learning curve is tall. --- On Wed, 8/5/09, Jeremy Thomerson jer...@wickettraining.com wrote: From:

Re: How Wicket's big concepts/objects work together and in what order?

2009-08-05 Thread David Chang
will do. thanks! --- On Wed, 8/5/09, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: How Wicket's big concepts/objects work together and in what order? To: users@wicket.apache.org Date: Wednesday, August 5, 2009, 5:37 PM and when you

Fix super(new CompoundPropertyModel(this)) error in the WIA book

2010-02-04 Thread David Chang
Hello, I am learning Wicket by reading Wicket in Action. I am using Wicket 1.4.5 and Java 6. On page 244, the sample code is as follows: private int counter = 0; public MyPage() { super(new CompoundPropertyModel(this)); final Label counterLabel = new Label(counter); add(counterLabel);

Re: Fix super(new CompoundPropertyModel(this)) error in the WIA book

2010-02-17 Thread David Chang
Martijn, It is so nice of you to reply to my questions. One question I have about your book: The bottom of Page xxi says: .. from Terracotta for giving Wicket a vaiable scaling strategy. What do you exactly mean by that? Do you mean Terracotta makes the stateful programming model less of a

Questions about how wicket serialization works

2010-02-21 Thread David Chang
I am reading the book Wicket in Action. Page 88 about serializing models says: At the end of the request, after the markup has been sent to the browser, Wicket stores the page, component hierarchy, and associated models (the state) in the page store. Does Wicket stores the page means Wicket

Re: Questions about how wicket serialization works

2010-02-21 Thread David Chang
: Sunday, February 21, 2010, 3:30 PM Answers below... David Chang wrote: I am reading the book Wicket in Action. Page 88 about serializing models says: At the end of the request, after the markup has been sent to the browser, Wicket stores the page, component hierarchy, and associated

Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread David Chang
I have two pages. The first page is extended by the second page. On the second page, I want to access a component on the first page. One way to do this is to make the component a member variable of the first page. I feel this way may have two drawbacks: 1. A member variable uses more resources

Re: Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread David Chang
Vaynberg igor.vaynb...@gmail.com Subject: Re: Better way to find a parent compoent in page hiearchy? To: users@wicket.apache.org Date: Sunday, February 28, 2010, 4:04 PM Component#findParent(SomeClass.class) may be useful -igor On Sun, Feb 28, 2010 at 1:00 PM, David Chang david_q_zh

Make Wicket component ID HTML element ID?

2010-02-28 Thread David Chang
I have many Wicket components that are unique on pages. I would like to make their wicket ID HTML element ID instead of typing HTML id attribute. How can I do this? Thanks! - To unsubscribe, e-mail:

RE: Make Wicket component ID HTML element ID?

2010-02-28 Thread David Chang
...@wickettraining.com Subject: RE: Make Wicket component ID HTML element ID? To: users@wicket.apache.org Date: Sunday, February 28, 2010, 5:15 PM setOutputMarkupId(true) Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: David Chang

Re: Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread David Chang
a parent compoent in page hiearchy? To: users@wicket.apache.org Date: Sunday, February 28, 2010, 4:20 PM Maybe, this will be good for you: http://wicketstuff.org/wicket13doc/org/apache/wicket/MarkupContainer.html#get(java.lang.String) Regards, Peter 2010-02-28 22:12 keltezéssel, David Chang írta

Re: Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread David Chang
? To: users@wicket.apache.org Date: Sunday, February 28, 2010, 7:50 PM and the WebPage isn't a MarkupContainer or what?? 2010-02-28 23:54 keltezéssel, David Chang írta: Thanks for your input. This is interesting. Somehow I got confused. Shouldn't this method be natural part of a Component

Re: Make Wicket component ID HTML element ID?

2010-02-28 Thread David Chang
setOutputMarkupId on every child component On Feb 28, 2010, at 2:47 PM, David Chang wrote: Thanks for the info. But this method is only component-level. How can I make all Wicket components do this without repeating setOutputMarkupId(true) for each component? Regards. --- On Sun

Re: SV: Make Wicket component ID HTML element ID?

2010-03-01 Thread David Chang
You are right. I need to be cautoius on this. I am new in Wicket. Just for the sake of discussion. I put the following code in the top page's constructor: visitChildren(new IVisitorComponent() { @Override public Object component(Component c) {

Re: Make Wicket component ID HTML element ID?

2010-03-01 Thread David Chang
:52 PM, David Chang david_q_zh...@yahoo.comwrote: Thanks for the tip. I added this approach to the top page. Here is my implemenetation: visitChildren(new IVisitorComponent() {         @Override         public Object component(Component c) {                 c.setOutputMarkupId(true

Re: SV: Make Wicket component ID HTML element ID?

2010-03-01 Thread David Chang
constructors of subclasses are called after -igor On Mon, Mar 1, 2010 at 5:06 AM, David Chang david_q_zh...@yahoo.com wrote: You are right. I need to be cautoius on this. I am new in Wicket. Just for the sake of discussion. I put the following code in the top page's constructor

How to strip Wicket tags in development mode?

2010-03-04 Thread David Chang
I understand that in deployment, all Wicket tags are stripped from the rendered markup that is sent to the client. How can I strip all Wicket tags from the rendered markup in development mode. I want to see clean HTML content in the client. Thanks for help!

Re: How to strip Wicket tags in development mode?

2010-03-04 Thread David Chang
, March 4, 2010, 6:47 PM David, Take a look here [1]. Regards - Cemal jWeekend OO Java Technologies, Wicket Consulting, Development, Training http://jWeekend.com [1] http://cwiki.apache.org/WICKET/how-to-remove-wicket-markup-from-output.html On 4 March 2010 23:44, David Chang

Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
I am using a div with border color to enclose feedback messages. I can control whether to generate the feedback div based on whether there is any message to render. Now I hope to change its border color depending on the severity of the message. But (1) always causes error:

Re: Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
:58 PM, David Chang david_q_zh...@yahoo.com wrote: I am using a div with border color to enclose feedback messages. I can control whether to generate the feedback div based on whether there is any message to render. Now I hope to change its border color depending on the severity

Example of configuring JCaptcha within Wicket?

2010-03-07 Thread David Chang
Anybody used the JCaptcha tool? How did you do the customization? The out-of-box config sucks. Could you please share your config and how to? Cheers! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Where to put an application's configuration parameters?

2010-03-07 Thread David Chang
Hi, I am new in Wicket. I did Spring web applications before and I usually put an app's configuration parameters in the application context file. I would like to know the best practice in Wichet for setting parameters such as SMTP server, LDAP server, etc. Where should I put them? I dont

Re: Where to put an application's configuration parameters?

2010-03-07 Thread David Chang
or below. -- Jeremy Thomerson http://www.wickettraining.com On Sun, Mar 7, 2010 at 2:15 PM, David Chang david_q_zh...@yahoo.com wrote: Hi, I am new in Wicket. I did Spring web applications before and I usually put an app's configuration parameters in the application context

Re: Where to put an application's configuration parameters?

2010-03-07 Thread David Chang
configuration parameters? To: users@wicket.apache.org Date: Sunday, March 7, 2010, 3:26 PM Why not use Spring *with* Wicket? On Sun, Mar 7, 2010 at 3:15 PM, David Chang david_q_zh...@yahoo.com wrote: Hi, I am new in Wicket. I did Spring web applications before and I usually put an app's

Re: Example of configuring JCaptcha within Wicket?

2010-03-08 Thread David Chang
/java/wicket/in/action/chapter09/jcaptcha/?r=110 Eelco On Sun, Mar 7, 2010 at 11:53 AM, David Chang david_q_zh...@yahoo.com wrote: Anybody used the JCaptcha tool? How did you do the customization? The out-of-box config sucks. Could you please share your config and how to? Cheers

Wicket allow multiple Spring context files?

2010-03-09 Thread David Chang
When I did my Spring web applications, I split Spring context files into a few smaller ones (example: one for web beans, one for DAO beans, one for Service beans, etc). I would like to follow the same approach in my Wicket application, but I notice a few odd things: 1. The order of these

A question about using Spring in Wicket 1.4

2010-03-11 Thread David Chang
Yesterday I was looking at the page Migrating to Wicket 1.4 http://cwiki.apache.org/WICKET/migrating-to-wicket-14.html Regarding SpringWebApplication, it says: SpringWebApplication has been deprecated in favor of SpringBean annotation. See SpringWebApplication javadoc for how to setup

Re: A question about using Spring in Wicket 1.4

2010-03-11 Thread David Chang
11, 2010 at 8:56 AM, David Chang david_q_zh...@yahoo.com wrote: Yesterday I was looking at the page Migrating to Wicket 1.4 http://cwiki.apache.org/WICKET/migrating-to-wicket-14.html Regarding SpringWebApplication, it says: SpringWebApplication has been deprecated in favor

How to dynamtically generate an image via an Ajax link?

2010-03-12 Thread David Chang
Hello, I am playing with JCaptcha. My JCaptcha is working (thanks to WIA book). I also have an Ajax link for a visitor to change the displayed image if he wishes. I am new in Wicket and I am trying to follow the idea of defining a model for a Wicket image component. However, based on my

Design of Locale-aware dropdown list?

2010-03-12 Thread David Chang
This question may be beyond Wicket’s scope but I would like to ask folks here. I am impressed by their creativity, capability, and passion. I need to display a dropdown list which is in English or Korean. The options of the dropdown list MUST be stored in database. It switches between English

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

2010-03-15 Thread David Chang
Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would be very much grateful for any info. Hopefully, the sample or open source applications are not too

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

2010-03-15 Thread David Chang
, 10:09 PM You can try my demo application I used for my Advanced Wicket presentation: http://svn.carmanconsulting.com/public/wicket-advanced/trunk On Mon, Mar 15, 2010 at 10:05 PM, David Chang david_q_zh...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample

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

2010-03-15 Thread David Chang
-advanced/trunk On Mon, Mar 15, 2010 at 10:05 PM, David Chang david_q_zh...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning from good examples. I would

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

2010-03-15 Thread David Chang
, March 15, 2010, 11:02 PM On Mon, Mar 15, 2010 at 10:57 PM, David Chang david_q_zh...@yahoo.com wrote: James, I just downloaded your application. Do you have any documentation/presentation about this application? I didn't really have a slide presentation for this talk.  I basically

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

2010-03-16 Thread David Chang
://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook On 16 March 2010 02:05, David Chang david_q_zh...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I learn is by learning

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

2010-03-16 Thread David Chang
/ [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook On 16 March 2010 02:05, David Chang david_q_zh...@yahoo.com wrote: Can anybody recommend to me two good complete clean sample or open source Wicket + Spring + Hibernate applications? One of the effective ways I

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

RE: Replace Choose one from DropDownChoice?

2010-03-17 Thread David Chang
, Martin -Original Message- From: David Chang [mailto:david_q_zh...@yahoo.com] Sent: Wednesday, March 17, 2010 3:03 PM To: users@wicket.apache.org Subject: Replace Choose one from DropDownChoice? Hello, I understand that there must be a solution for this. I googled for some

Re: Replace Choose one from DropDownChoice?

2010-03-17 Thread David Chang
their choice. On Mar 17, 2010, at 8:47 AM, David Chang wrote: Martin, Thanks so much for chiming in. I tried the null= approach. The blank line in the dropdown list simply disappears. As I said in my requirements, I hope to have it there no matter whether a value is selected

Re: SV: Replace Choose one from DropDownChoice?

2010-03-17 Thread David Chang
to be , then say null= (without the quotes) Otherwise if you don't want null selection, you say component.setNullValid(false); and you're fine Best, Martin -Original Message- From: David Chang [mailto:david_q_zh...@yahoo.com] Sent: Wednesday, March 17, 2010 3:48 PM

RE: Replace Choose one from DropDownChoice?

2010-03-17 Thread David Chang
) You want a dropdownchoice with null selection, which is ? 2) You don't want a null selection to be there at all, but show the first element. Best, Martin -Original Message- From: David Chang [mailto:david_q_zh...@yahoo.com] Sent: Wednesday, March 17, 2010 4:31 PM To: users

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 the

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: div wicket:id=feedbackHolder / 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

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
: Matthias Keller matthias.kel...@ergon.ch 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:26, David Chang wrote: Hi, I

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
  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.setRequired() is the reason to generate the message and not get onUpdate called. Thanks

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
setNullValid 2010/3/18 David Chang david_q_zh...@yahoo.com: In my case, the field is required. I make it required by setRequired(true), but I want the blank/choose one is still there. Doable? --- On Thu, 3/18/10, Matthias Keller matthias.kel...@ergon.ch wrote: From: Matthias Keller

Re: Select the Choose one of a required DropDownChoice

2010-03-18 Thread David Chang
martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi martin.maku...@koodaripalvelut.com Subject: Re: Select the Choose one of a required DropDownChoice To: users@wicket.apache.org Date: Thursday, March 18, 2010, 11:50 AM Code? 2010/3/18 David Chang david_q_zh...@yahoo.com

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

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 igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: Dynamic Image (aka Barcode) based on user input not

  1   2   >