Newbie questions regarding wicket and presentation

2009-10-23 Thread Lester Chua
Hi, I've read the preliminary materials on the site and I'm also reading Manning's Wicket in Action. I like Wicket's programming model a lot and is considering my next project using wicket. But before that I am doing an evaluation project to convert an part of an existing application using

Is it possible to setup a Wicket project without Maven?

2009-10-23 Thread Lester Chua
Hi, Is it possible to have just an ANT build.xml for a Wicket project? Lester - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Is it possible to setup a Wicket project without Maven?

2009-10-23 Thread Lester Chua
Thanks! That was exactly what I was looking for. On Fri, Oct 23, 2009 at 8:07 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: See the free chapter 15 from Wicket in Action: http://wicketinaction.com/downloads Martijn On Fri, Oct 23, 2009 at 12:57 PM, Lester Chua cicob...@gmail.com

Re: Newbie questions regarding wicket and presentation

2009-10-23 Thread Lester Chua
Thanks! Regards, Lester Jeremy Thomerson wrote: Answers inline. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Oct 23, 2009 at 3:48 AM, Lester Chua cicowic...@gmail.com wrote: Hi, I've read the preliminary materials on the site and I'm also reading Manning's Wicket

Need help with error with in my list code

2009-10-25 Thread Lester Chua
Hi, I'm very new to wicket and need some help with what I thought is very straight forward code. Wicket Version 1.4.3 Code: -- Html - form wicket:id=dataForm Grouping: select wicket:id=grouping size=6/select Additional Remarks: textarea wicket:id=additionalRemarks

Re: Need help with error with in my list code

2009-10-25 Thread Lester Chua
Update: I found out what the was. I was running Jetty via JavaRebel agent. Somehow JavaRebel could not load in the changes in the Java code properly and that was what caused the code error. There was nothing wrong with the code. Thanks. On Mon, Oct 26, 2009 at 10:43 AM, Lester Chua cicowic

Re: Need help with error with in my list code

2009-10-25 Thread Lester Chua
, Lester Chua cicowic...@gmail.com wrote: Update: I found out what the was. I was running Jetty via JavaRebel agent. Somehow JavaRebel could not load in the changes in the Java code properly and that was what caused the code error. There was nothing wrong with the code. Thanks

Re: Need help with error with in my list code

2009-10-26 Thread Lester Chua
26, 2009 at 10:50 AM, Lester Chua cicowic...@gmail.com wrote: Update: I found out what the was. I was running Jetty via JavaRebel agent. Somehow JavaRebel could not load in the changes in the Java code properly and that was what caused the code error. There was nothing wrong

Question Wicket Pages and Directories

2009-10-28 Thread Lester Chua
Hi, I think I'm the minority here but I like how wicket's default behaviour of placing html with the page. I have a problem that I hope someone has encountered and solved before. Basically, I current my source structure to be as follows com/acme/web/HomePage.java com/acme/web/HomePage.html

Re: Question Wicket Pages and Directories

2009-10-28 Thread Lester Chua
BookmarkablePageLinks instead of wicket:link. The latter is just convenience and only supports the most basic stuff. Martijn On Wed, Oct 28, 2009 at 7:55 AM, Lester Chua cicowic...@gmail.com wrote: Hi, I think I'm the minority here but I like how wicket's default behaviour of placing html

Re: Question Wicket Pages and Directories

2009-10-28 Thread Lester Chua
page) { BookmarkablePageLink link = new BookmarkablePageLink(rv.newChildId(), page); link.add(new Label(label, labelText)); rv.add(link); } On Wed, Oct 28, 2009 at 9:58 AM, Lester Chua cicowic...@gmail.com wrote: Thanks Martijn, I think I stumbled on the solution just before I saw

How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
Hi, I need some help in trying to get onclick() and onchange() working. Case 1: I'm trying to add an onclick behaviour to my button. Java: Button cancelButton = new Button(cancelButton) { @Override public void onSubmit() {

Re: AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
21104 Geschäftsführer: Christian Sauter, Dr. Nils Herda, Frank Wolf -Ursprüngliche Nachricht- Von: Lester Chua [mailto:cicowic...@gmail.com] Gesendet: Donnerstag, 29. Oktober 2009 08:23 An: users@wicket.apache.org Betreff: How to do Button onclick() and Input onchange() Hi, I need some

Re: AW: How to do Button onclick() and Input onchange()

2009-10-29 Thread Lester Chua
and formupdating is bypassed and the onSubmit method of that button is called directly, and the onSubmit method of the parent form is not called. A common use for this is to create a cancel button. -Ursprüngliche Nachricht- Von: Lester Chua [mailto:cicowic...@gmail.com] Gesendet: Donnerstag, 29

Wicket Stuff Support and Interest

2009-11-12 Thread Lester Chua
Hi, I noticed that in wicket stuff. If I browse the source forge releases. The latest is at 2008 June (Wicket Jquery). What is the status there? It seems that there has been nothing going on in wicket stuff. Did the projects move into Wicket proper? Or did the extension interest died?

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Lester Chua
Thomerson http://www.wickettraining.com On Thu, Nov 12, 2009 at 9:51 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I noticed that in wicket stuff. If I browse the source forge releases. The latest is at 2008 June (Wicket Jquery). What is the status there? It seems that there has been nothing

Re: Wicket Stuff Support and Interest

2009-11-13 Thread Lester Chua
Thanks! Pierre Goupil wrote: Hello, In the release tags, you'll find wicketstuff-core-1.4.1. For more up to date code, you'll have to fall back to the trunk. Regards, Pierre On Fri, Nov 13, 2009 at 10:58 AM, Lester Chua cicowic...@gmail.com wrote: Thanks for the reply. Due to network

Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
Hi, I'm trying at extending the FeedbackPanel but could not find a reference as to how to do a markup extension. Is there a tag in HTML that is equivalent to the java super()? This may be a case of rtfm but I cant seem to find it in Manning's Wicket in Action. I know about the wicket:extend

Re: Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
circumventing my problem of not having my Parent's markup available. Is there an equivalent of wicket:super? This is for people who dont know the markup of the parent class they are extending. Lester Lester Chua wrote: Hi, I'm trying at extending the FeedbackPanel but could not find a reference

Re: Question regarding extending components and their html markups

2009-11-13 Thread Lester Chua
, 2009 at 4:10 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm trying at extending the FeedbackPanel but could not find a reference as to how to do a markup extension. Is there a tag in HTML that is equivalent to the java super()? This may be a case of rtfm but I cant seem to find

General questions regarding Wicket roadmap and plans

2009-11-18 Thread Lester Chua
Hi, I've finished converting major portions of an existing in-house application from EXTJS/JSON Servlets to Wicket as part of an evaluation of Wicket. Right now I'm VERY impressed with the framework and would like to introduce it to the organization I'm working for. There are a couple of

Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization errors because of the logger. E.g. class SomeForm extends Form { Logger logger = LogManager.getLogger(SomeForm.class); public void

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
-igor On Wed, Nov 18, 2009 at 8:11 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization errors because of the logger. E.g. class SomeForm extends Form

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
I think I'll use this then. I was reluctant to because of the need to introduce yet another library (some examples used this). Thanks! Lester James Carman wrote: Commons Logging? On Wed, Nov 18, 2009 at 11:11 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm using log4j as my logging

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
applications for a long time... wicket uses slf4j, why dont you do the same? still declaring your loggers static. -igor On Wed, Nov 18, 2009 at 9:07 PM, Lester Chua cicowic...@gmail.com wrote: I think I'll use this then. I was reluctant to because of the need to introduce yet another library

Re: General questions regarding Wicket roadmap and plans

2009-11-18 Thread Lester Chua
Thanks for the reply. 1) Product Roadmap (Release plans, upcoming features etc) This is important to us because it will at least indicate the intentions of Wicket Team. As any technology that is adopted enterprise-wide needs to be long-lived and well supported in addition to it's features and

Re: Question regarding Logging in Wicket

2009-11-18 Thread Lester Chua
of api to impl thus avoiding classloader hell. -igor On Wed, Nov 18, 2009 at 9:21 PM, Lester Chua cicowic...@gmail.com wrote: H, very interesting, didnt realise that commons-logging was problematic, just that I avoided it before because I didnt want to introduce yet another library

Re: General questions regarding Wicket roadmap and plans

2009-12-01 Thread Lester Chua
Wicket has been real refreshing, I truly enjoyed the departure from the model2 as well as the json-rest/rich-client frameworks we were used to. Ok enough ambling. I have some responses below. Igor Vaynberg wrote: On Wed, Nov 18, 2009 at 9:27 PM, Lester Chua cicowic...@gmail.com wrote

How to do Simple non-Ajax Javascript Behaviour?

2009-12-01 Thread Lester Chua
Hi, Hmmm, I have a simple thing which should be easy but I just cant figure out on Wicket. 1. I have an input box. 2. I need to attach a javascript to this box to monitor key presses. Basically I need to fire a js on the keyup event. I've googled but have not found the answer to a

Re: How to do Simple non-Ajax Javascript Behaviour?

2009-12-01 Thread Lester Chua
Makundi wrote: YOu need to make AttributeModifier if you want it to look like this: input onkeyup=javascript/ ** Martin 2009/12/2 Lester Chua cicowic...@gmail.com: Hi, Hmmm, I have a simple thing which should be easy but I just cant figure out on Wicket. 1. I have an input box. 2. I need

Re: How to do Simple non-Ajax Javascript Behaviour?

2009-12-01 Thread Lester Chua
that's a solution. Thanks for that one. Lester Igor Vaynberg wrote: does your page have a script referencing wicket-event.js? also tagNo2f should probably be in quotes...was this a direct paste? -igor On Tue, Dec 1, 2009 at 10:18 PM, Lester Chua cicowic...@gmail.com wrote: Hi Martin

IDataProvider

2009-12-02 Thread Lester Chua
Hi, I am changing my tables from RefreshingView to DataView. In the IDataProvider interface, Is this a correct implementation for the model() function? public IModelMyRecord model(MyRecord inmodel) { return new ModelMyRecord(inmodel); }

Help required in understanding DataView Mystery

2009-12-02 Thread Lester Chua
Hi I need help with understanding DataView. My code that construct the dataview is as follows (name changed to protect the guilty), IDataProviderMyRecord dataProvider = new MyRecordDataProvider(); DataViewMyRecord dataView = new DataViewMyRecord(summary, dataProvider) {

Re: IDataProvider

2009-12-02 Thread Lester Chua
Regards, Daan van Etten On Wed, 2009-12-02 at 16:20 +0800, Lester Chua wrote: Hi, I am changing my tables from RefreshingView to DataView. In the IDataProvider interface, Is this a correct implementation for the model() function? public IModelMyRecord model(MyRecord inmodel

Question pertaining to manipulation of divs

2009-12-03 Thread Lester Chua
Hi, I have a component that is embedded as follows: div class=some-style span wicket:id=mycomponent /span /div Is there a way for me to manipulate the div containing some style? I tried creating a panel and using that as a parent but it feels very cumbersome and involves an additional

Re: Question pertaining to manipulation of divs

2009-12-03 Thread Lester Chua
Thanks! Love the quick replies. Igor Vaynberg wrote: that something is called a WebMarkupContainer -igor On Thu, Dec 3, 2009 at 9:43 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I have a component that is embedded as follows: div class=some-style span wicket:id=mycomponent /span

Re: Resource Location

2009-12-04 Thread Lester Chua
: myPackage/Application.java myPackage/css/jquery/cupertino/jquery-ui-1.7.2.custom.css Regards, Stefan -Original Message- From: Lester Chua [mailto:cicowic...@gmail.com] Sent: Friday, December 04, 2009 9:34 AM To: users@wicket.apache.org Subject: Re: Resource Location Do u mean that I did

Re: General questions regarding Wicket roadmap and plans

2009-12-13 Thread Lester Chua
But you did release them and obtained a financial benefit from the releases, the very fact that it is released to the outside world make others know of your existance and improves your exposure tremendously. The particular point under discussion originally was whether a good and active

Slides of Wicket and Struts 2

2010-01-04 Thread Lester Chua
Hi all, I'm attaching some slides on some thought I have gathered for a presentation to management for Wicket justification. Was wondering if any of you have time to read it and comment on it =). Lester - To unsubscribe,

Re: Slides of Wicket and Struts 2

2010-01-04 Thread Lester Chua
Hi John, I thought I attached the file but here goes, Link https://docs.google.com/fileview?id=0B8Wi-GkyhJ3XMDVhYzQ3YWUtNDNhMS00NzUxLTg5YzYtZmJkMTIxOTE2MGFmhl=en Thanks! John Armstrong wrote: Link? Tx! John- On Mon, Jan 4, 2010 at 5:52 PM, Lester Chua cicowic...@gmail.com wrote: Hi

Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
Hi, I am facing a hurdle that need crossing in my final attempt to push Wicket for use in an organization. I have: 1) Prototyped a small size module 2) Did 2-3 presentations on the key features and advantages of wicket No one is disputing my claims about productivity and good OO code that

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
://cwiki.apache.org/WICKET/products-based-on-wicket.html as well as blogs talking about Wicket, and lots more useful PR info: http://cwiki.apache.org/WICKET/index.html All the best! cheers, Steve On 08/01/2010, at 11:43 AM, Lester Chua wrote: Hi, I am facing a hurdle that need crossing

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
You guys are AWESOME. I'm composing an email to the evaluator-in-charge from the tech committee. Hope all this is persuasive enough. Regards, Lester Peter Thomas wrote: Also the Apache Wicket LinkedIn group could be used to get a feel of companies using Wicket, at the moment there are 524

Re: Help with Wicket Adoption Numbers

2010-01-10 Thread Lester Chua
Jonathan, Bingo, I think you may have hit it on the spot. Igor, I have not managed to get a reply on how they determined Struts2 to be better supported compared to Wicket. But I suspect the list of a approved technologies is not very updated. I.e. the evaluation was probably done 2 years

Re: Help with Wicket Adoption Numbers

2010-01-11 Thread Lester Chua
on the safe side of the fence. Cheers, Ernesto On Mon, Jan 11, 2010 at 8:17 AM, Lester Chua cicowic...@gmail.com wrote: Jonathan, Bingo, I think you may have hit it on the spot. Igor, I have not managed to get a reply on how they determined Struts2 to be better supported compared

Re: Help with Wicket Adoption Numbers

2010-01-11 Thread Lester Chua
the wizard... -Trees, Palettes, Grids, etc. In a couple of weeks we have some training sessions... and after that a decision will be taken... Regards, Ernesto On Mon, Jan 11, 2010 at 10:28 AM, Lester Chua cicowic...@gmail.com wrote: Hi Ernesto, Cant offer much advise here myself. The others have

Re: Slides of Wicket and Struts 2

2010-02-17 Thread Lester Chua
, thanks Lester (the attachment was stripped on my side, probably my mailserver). J On Mon, Jan 4, 2010 at 6:36 PM, Lester Chua cicowic...@gmail.com wrote: Hi John, I thought I attached the file but here goes, Link https://docs.google.com/fileview?id=0B8Wi