My first Wicket question

2008-04-30 Thread David Chang
I just started to learn Wicket. This question may seem naive to many people and please forgive me. a WebPage component is created for each session and its data members are not shared by different sessions. Correct? Thanks! p.s. Where can I find a useful FAQ list to answer questions similar to

questions about Matt Raible's web framework comparison

2008-05-02 Thread David Chang
I just started migrating from Spring MVC to Wicket. I found Matt Raible's interesting slides at this place: http://static.raibledesigns.com/repository/presentations/ComparingJavaWebFrameworks-ApacheConUS2007.pdf Matt's says 1. regarding Bookmarking and URLs, "Wicket allows pages/URLs to be moun

Re: questions about Matt Raible's web framework comparison

2008-05-02 Thread David Chang
Johan, Thank you for your information. If I want an entire site to have nice URLs, I have to MANUALL add the line such as this application.mount("/login", LoginPage.class) for each WebPage component of this application? Regards, David >you can mount a (bookmarkable) page on an url of your

validation: Wicket does the right thing? Or right tool?

2008-05-02 Thread David Chang
I am migrating from JSP+Valang+...+SpringMVC to Wicket and am also still evaluting it. So far so good until I saw this instance about using Form Validator to validate two related form fields. Problem (p81-82, book Enjoy Web Development with Wicket, PDF version only): Suppose a postage calculation

Re: validation: Wicket does the right thing? Or right tool?

2008-05-02 Thread David Chang
age, but these different concerns should be separated in Wicket somehow, code should look clean and good... Thank you for sharing your thought and experience, which is immensely helpful! Regards. previous emails = --- John Krasnay <[EMAIL PROTECTED]> wrote:

Re: validation: Wicket does the right thing? Or right tool?

2008-05-04 Thread David Chang
Eelco, Thanks so much for your input! I am still seriously learning Wicket now and will see if I will change my mind. BTW, what is the best Wicket example website? I often have many questions when reading tutorials with simple examples. I wonder Wicket can do or how do more callenging/complex sit

Re: validation: Wicket does the right thing? Or right tool?

2008-05-05 Thread David Chang
Eelco, I am reading the PDF version of the book called Enjoy Web Development with Wicket. Basically it is a good one with many interesting examples, but these examples are simple and keep me wondering whether Wicket can handle other more complicated situations. I feel this book does a good tutor

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 appli

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

2009-05-24 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
validation with > Wicket? > To: users@wicket.apache.org > Date: Monday, May 25, 2009, 3:14 AM > I assume you have read the parts > about validation in Wicket. > > There are several examples of integrating Wicket with > various > JavaScript libraries, such as Do

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

2009-05-25 Thread David Chang
assistance.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 Ch

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

2009-05-25 Thread David Chang
started as a proof of concept that allows you > to add one behavior to your component which adds client and > server side validation.  You could start with it and > add on as needed. > > Jeremy Thomerson > http://www.wickettraining.com > -- sent from a wireless device > >

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 su

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 produce

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 st

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

2009-05-30 Thread David Chang
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 >

Large internet rich UI Wicket websites?

2009-07-01 Thread David Chang
I am still learning Wicket. The more I read from <>, 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 with Wicket. Co

Re: Large internet rich UI Wicket websites?

2009-07-01 Thread David Chang
your knowledge seems to the largest one? Thanks! --- On Wed, 7/1/09, Martin Funk wrote: > From: Martin Funk > Subject: Re: Large internet rich UI Wicket websites? > To: users@wicket.apache.org > Date: Wednesday, July 1, 2009, 3:21 PM > > Am 01.07.2009 um 20:11 s

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
gt; Wicket can't scale to that size, I'm saying that no > framework defaults > to being made for that size.  Could eBay or Amazon use > Wicket?  Sure, > with the right techniques.  Could your website use > it?  Yes, and > probably much easier.  :) > > -- > Je

Re: Large internet rich UI Wicket websites?

2009-07-02 Thread David Chang
nk if this is some sort of a "criteria" for choosing a > framework > you should probably go with servlets. there are some very > very large > sites out there written in pure jsp and servlets. good > luck. > > -igor > > On Thu, Jul 2, 2009 at 10:57 AM, David Cha

Re: Large internet rich UI Wicket websites?

2009-07-03 Thread David Chang
gt; Wicket can't scale to that size, I'm saying that no > framework defaults > to being made for that size.  Could eBay or Amazon use > Wicket?  Sure, > with the right techniques.  Could your website use > it?  Yes, and > probably much easier.  :) > > -- > Je

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
- 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. > > > > > > > &

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

2009-07-23 Thread David Chang
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. > > > > > > > > > > > -

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

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 Wi

Questions about Wicket sessions

2009-07-26 Thread David Chang
Reading <> 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 IE or FF in anot

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

Re: Questions about Wicket sessions

2009-07-26 Thread David Chang
2. Same answer. > > 3. No. Wicket does this for you. > > Regarding your question 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. > >

Re: Questions about Wicket sessions

2009-07-26 Thread David Chang
r tabs > can be used to access the same > session instance simultaneously. > > -igor > > On Sun, Jul 26, 2009 at 1:17 PM, David Chang > wrote: > > > > > > Erik, thanks for your input. > > > >> Please note "Sessions are not thread-safe"

the effective ways of wicket models to access database

2009-07-27 Thread David Chang
Hello, I am reading <> 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() { } public

Re: the effective ways of wicket models to access database

2009-07-27 Thread David Chang
(or use salve) > > Service locator is also a possibility. That is why we left > it open :) > > Martijn > > On Mon, Jul 27, 2009 at 2:20 PM, David Chang > wrote: > > > > Hello, I am reading <> > to learn Wicket. The example on Page 99 is about teac

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 wrote: > From: Mathias Nilsson > Subject: Re: Twenty Six Wicket Tricks > To: users@wicket.apache.org > Date: Tuesday, July 28, 2009, 1:02 PM > > +1 > > I would buy the book. > -- > View this message 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 wrote

Re: Apache Wicket 1.4 takes type safety to the next level

2009-07-30 Thread David Chang
Fabulous framework! --- On Thu, 7/30/09, Juan Carlos Garcia M. wrote: > From: Juan Carlos Garcia M. > Subject: Re: Apache Wicket 1.4 takes type safety to the next level > To: users@wicket.apache.org > Date: Thursday, July 30, 2009, 4:57 PM > > Congratulations to the Wicket Team, and everyone

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 Supp

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

2009-08-05 Thread David Chang
. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Wed, Aug 5, 2009 at 3:41 PM, David Chang > wrote: > > > > Hello, I am learning Wicket now and feel a bit > confused by the new concepts in Wicket regarding how they > w

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

2009-08-05 Thread David Chang
ep 1) go to http://www.google.com > step 2) in text box type "wicket lifecycle" without the > quotes > step 3) hit "i am feeling lucky button" > > -igor > > On Wed, Aug 5, 2009 at 1:56 PM, David Chang > wrote: > > > > Jeremy, I bought and re

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

2009-08-05 Thread David Chang
n it breaks there, walk up the stacktrace and > see what's > calling what. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Wed, Aug 5, 2009 at 4:29 PM, David Chang > wrote: > > > > Igor, thanks for the tip. I read that wiki p

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

2009-08-05 Thread David Chang
etc) > > and then when it breaks there, walk up the stacktrace > and see what's > > calling what. > > > > -- > > Jeremy Thomerson > > http://www.wickettraining.com > > > > > > > > > > On Wed, Aug 5, 2009 at 4:29 PM, David Chang >

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 memb

Re: avoid setters / getters by using ?

2009-09-27 Thread David Chang
etters / 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 : > > Hello, > > > > I have W

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

2009-10-01 Thread David Chang
How to set it up in a Wicket application? I would like to set it up in the application level. Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apac

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

2009-10-02 Thread David Chang
onent: > > 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 > > > How to set it up in

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

2009-10-02 Thread David Chang
ally > > bad, because if you want to turn off this behaviour > (trimming) in some > > cases > > you can't do it without overriding for example > Component#getConverter() > > to convert it in default way and it's a mess. > > > > I recommend you to t

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

2009-10-02 Thread David Chang
#x27;s > FormComponent. > You don't have to do anything. > > Martijn > > On Fri, Oct 2, 2009 at 3:06 PM, David Chang > wrote: > > For this to work, I have to overwrite this method > either for each form or write a custom class extending > FormComponent. Correct

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

2009-10-03 Thread David Chang
I am reading <> 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 for your input!

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

2009-10-03 Thread David Chang
Hello, I am reading <>. 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 such as the f

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

2009-10-04 Thread David Chang
lass.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 > wrote: > > I am reading <> and have > this i18n

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: In the second version, I moved the above markup to the base page. However, I always got this error from wicket: WicketMessage: The component(s) below failed to render.

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 P

Re: Move shared wicket components to a base page?

2009-10-04 Thread David Chang
t; On Sun, Oct 4, 2009 at 8:44 AM, David Chang > 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: > > > > > > > > In the second version, I moved the above

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

2009-10-04 Thread David Chang
declaration? > To: users@wicket.apache.org > Date: Sunday, October 4, 2009, 6:59 AM > 2009/10/4 David Chang : > > Hello, I am reading <>. > The Tip on page 291 says "it is good practice to start your > panels and  borders (possibly your pages) with an XML > declaration

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 wrote: > From: Wilhelmsen Tor Iver > Subject: SV: Move shared wicket components to a base page? > To: "users@wicket.apache.org" > Date:

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

2009-10-05 Thread David Chang
Date: Monday, October 5, 2009, 4:27 AM > 2009/10/4 David Chang : > > Phil, > > > > Thanks very much for your reply. By XML declaration, > you mean something like: > > > > > > > > Correct? I found this piece and it may be interesting > to all: > &

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 wrote: > From: David Chang > 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 > Hello, > &

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 wrote: > From: Pedro Sena > Subject: Re: How to list files by name in Eclipe's Package Explorer? > To: "David Chang" > Date: Monday, October 5, 2009, 10:52 AM > Hmmm. > > I understood

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

2009-10-05 Thread David Chang
ct: 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, Dav

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

2009-10-05 Thread David Chang
gt; I hope that work: https://bugs.eclipse.org/bugs/show_bug.cgi?id=291387 > > On Mon, Oct 5, 2009 at 1:27 PM, David Chang > wrote: > > > Thanks for your input! It seems to does the trick. The > only thing I don't > > like is that it shows all the levels of d

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? Th

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 unabl

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

2010-02-04 Thread David Chang
Hello, I am learning Wicket by reading <>. 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); 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 co

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 Wicke

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

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
ct: 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 > wrote: > &

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: users-unsubscr...@w

RE: Make Wicket component ID HTML element ID?

2010-02-28 Thread David Chang
ent 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
chy? > 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, Da

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

2010-02-28 Thread David Chang
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 nat

Re: Make Wicket component ID HTML element ID?

2010-02-28 Thread David Chang
utputMarkupId 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? &g

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 IVisitor() { @Override public Object component(Component c) { c.setMarkupId(c.getId());

Re: Make Wicket component ID HTML element ID?

2010-03-01 Thread David Chang
pache.org > Date: Monday, March 1, 2010, 1:52 AM > You could also use a component > instantiation listener and have it > automatically called for every component that is created. > > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On

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

2010-03-01 Thread David Chang
sses are called > after > > -igor > > On Mon, Mar 1, 2010 at 5:06 AM, David Chang > 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: > > &g

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
> 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 2

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

Re: Dynamically change feedback panel border color?

2010-03-04 Thread David Chang
color? > To: users@wicket.apache.org > Date: Thursday, March 4, 2010, 10:28 PM > I *think* you want to handle that > inside of onRender: > http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#onRender(org.apache.wicket.markup.MarkupStream) > > On Thu, Mar 4, 2

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 feel

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

2010-03-07 Thread David Chang
layer or below. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Sun, Mar 7, 2010 at 2:15 PM, David Chang > wrote: > > > Hi, I am new in Wicket. > > > > I did Spring web applications before and I usually put > an app's &g

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

2010-03-07 Thread David Chang
ket.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 > wrote: > > Hi, I am new in Wicket. > > > > I did Spring web applications before and I usually put > an app's con

Re: Example of configuring JCaptcha within Wicket?

2010-03-08 Thread David Chang
ook-wicket-in-action/src/java/wicket/in/action/chapter09/jcaptcha/?r=110 > > Eelco > > On Sun, Mar 7, 2010 at 11:53 AM, David Chang > wrote: > > Anybody used the JCaptcha tool? How did you do the > customization? The out-of-box con

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 Cont

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 Spring

Re: A question about using Spring in Wicket 1.4

2010-03-11 Thread David Chang
h actually generates compiler error. Regards. --- On Thu, 3/11/10, James Carman wrote: > From: James Carman > Subject: Re: A question about using Spring in Wicket 1.4 > To: users@wicket.apache.org > Date: Thursday, March 11, 2010, 9:09 AM > yes > > On Thu, Mar 11, 2010 a

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 under

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 an

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 big

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

2010-03-15 Thread David Chang
cation 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 > wrote: > > > > Can anybody recommend to me two good complete clean > sample or

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

2010-03-15 Thread David Chang
> On Mon, Mar 15, 2010 at 10:05 PM, David Chang > 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

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

2010-03-15 Thread David Chang
Mar 15, 2010 at 10:57 PM, > David Chang > 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 > jus

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

2010-03-16 Thread David Chang
orst/ > [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook > > > On 16 March 2010 02:05, David Chang > wrote: > > > > Can anybody recommend to me two good complete clean > sample or open source Wicket + Spring + Hibernate > applications? >

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

2010-03-16 Thread David Chang
http://www.manning.com/dashorst/ > [5] http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook > > > On 16 March 2010 02:05, David Chang > wrote: > > > > Can anybody recommend to me two good complete clean > sample or open source Wicket + Spring + Hibernate

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: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
rget to include the props files in the pom as > a resource. > > Best, > 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 "Choo

Re: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
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 req

  1   2   >