Re: [Wicket-user] Where can I find source package of wicket?

2006-11-24 Thread Martijn Dashorst
The source is included in the package itself. Martijn On 11/24/06, Carfield Yim [EMAIL PROTECTED] wrote: So I must build myself? Too bad that I don't know maven yet.. On 11/24/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: http://wicket.sourceforge.net/source-repository.html On

Re: [Wicket-user] Can I set the DropDownChoice to String[] or List instead of String?

2006-11-24 Thread Frank Bille
http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/ListChoice.html http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/ListMultipleChoice.html Frank On 11/24/06, Carfield Yim [EMAIL PROTECTED] wrote: I need to allow multiple selection of a selection list, can I do it at

Re: [Wicket-user] Question about using DropDownChoice

2006-11-24 Thread Johan Compagner
why are you setting the context path? this you should only do if you virtual host your application server behind for example apache. johan On 11/21/06, Carfield Yim [EMAIL PROTECTED] wrote: Sorry, actually I set the context path at eclispe-jetty plugin to thing other than / and add the

Re: [Wicket-user] Where can I find source package of wicket?

2006-11-24 Thread Carfield Yim
On 11/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote: The source is included in the package itself. Yes... in fact I can just zip [wicket-x.x.x\src\main\java] myself. - Take Surveys. Earn Cash. Influence the Future of IT

Re: [Wicket-user] Where can I find source package of wicket?

2006-11-24 Thread Frank Bille
Else there is the sources.jar in maven repo: http://www.ibiblio.org/maven2/wicket/wicket/1.2.3/ http://www.ibiblio.org/maven2/wicket/wicket/1.2.3/wicket-1.2.3-sources.jar Frank On 11/24/06, Carfield Yim [EMAIL PROTECTED] wrote: On 11/24/06, Martijn Dashorst [EMAIL PROTECTED] wrote: The

[Wicket-user] Question about Hour and Minute selection

2006-11-24 Thread Carfield Yim
Just wonder if there any hour and minute selection widget available? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business

Re: [Wicket-user] Different type of components in wicket.extensions.markup.html.tree.Tree

2006-11-24 Thread Peter Klassen
Hi Matej, but isn't the fact, that i can use only one markup file (the tree.html) for one TreeClass avoid the usage of different tree nodes ? Thx. Peter Matej Knopp wrote: Hi, look at the Tree class - it extends DefaultAbstractTree. Use the same approach as tree does (you can copy the

[Wicket-user] Wicket Stuff / Wiki

2006-11-24 Thread Korbinian Bachl
Hi, some days ago, Eelco and others had the idea to bring the wicket stuff page to a wiki, so updates wold be easier. Hwoever, what wiki system should be used? - I personally are quite new to thse and have only got a small experience with JOOMLA and Typo3 (4.0) so far. Anyone who knows some?

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-11-24 Thread Frank Silbermann
About DataTable and SortableDataProvider, I believe the designer's assumptions are that in typical use: (1) the DataProvider will not cache any data, (2) each call to iterate() will do a select from the database, (3) each call to size() will do a select from the database, and (4) the number of

[Wicket-user] question about showing components or not

2006-11-24 Thread Francisco Treacy
Hi wicketers, I would like to ask you what's the best way to perform the following: Say I have Products. There are Products that have a Photo and there are Products that don't. // Set data to the page add(new Label(product-description, product.getDescription()));

Re: [Wicket-user] Wicket Stuff / Wiki

2006-11-24 Thread Upayavira
Korbinian Bachl wrote: Hi, some days ago, Eelco and others had the idea to bring the wicket stuff page to a wiki, so updates wold be easier. Hwoever, what wiki system should be used? - I personally are quite new to thse and have only got a small experience with JOOMLA and Typo3 (4.0) so

Re: [Wicket-user] Wicket Stuff / Wiki

2006-11-24 Thread Korbinian Bachl
As far as i understood, this is just for organisation, not for the Website itself. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Upayavira Gesendet: Freitag, 24. November 2006 15:34 An: wicket-user@lists.sourceforge.net Betreff: Re:

Re: [Wicket-user] question about showing components or not

2006-11-24 Thread Korbinian Bachl
Well, if you use a wicket:id in the HTML, then you have to fill it - doing nothing about it is invalid. So here you could either place an empty text e.g: if (product.getPhoto() != null) { add(new Label(product-photo-date,

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-11-24 Thread Korbinian Bachl
Remember that these things are from the Extensions Framework, meaning they suite some needs, but not all. The thing they ask the size() first and then the iterator is, that in a big DB the iterator will already pull the data while the size() usually would only do a count over it. So you doing this

Re: [Wicket-user] question about showing components or not

2006-11-24 Thread Johan Compagner
why don't you use a property model? That will handle null values for you. And then specify a converter to the label itself so that it formats the date as you want. then you can just do this: add(new Label(product-description, product.getDescription())); add(new Label(product-photo-date, new

Re: [Wicket-user] Question about XML processing in wicket

2006-11-24 Thread Carfield Yim
On 11/24/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: And what do want to achieve? What is the input markup and what your expected output markup? Say XML like body tag1value1/tag1 tag2value2/tag2 /body Wicket template like html body Tag1 is wicket:xml wicket:id=body:tag1/wicket:xml

Re: [Wicket-user] Different type of components in wicket.extensions.markup.html.tree.Tree

2006-11-24 Thread Matej Knopp
No, it doesn't because the elements you want to put there can be panels. -Matej Peter Klassen wrote: Hi Matej, but isn't the fact, that i can use only one markup file (the tree.html) for one TreeClass avoid the usage of different tree nodes ? Thx. Peter Matej Knopp wrote: Hi, look

Re: [Wicket-user] SortableDataProvider, size() iterator(int first, int count), Correct execution order?

2006-11-24 Thread Igor Vaynberg
On 11/24/06, Korbinian Bachl [EMAIL PROTECTED] wrote: Remember Also remember that its always a question how you access data (plain JDBC, JDO, JPA etc.) to have a good solution. it doesnt matter how you access data. the only assumption made is that it is cheaper to retrieve a (total

Re: [Wicket-user] Question about XML processing in wicket

2006-11-24 Thread Matej Knopp
Can't you just override the onComponentTag method and modify the tag the way you need? -Matej Carfield Yim wrote: On 11/24/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: And what do want to achieve? What is the input markup and what your expected output markup? Say XML like body

Re: [Wicket-user] question about showing components or not

2006-11-24 Thread Matej Knopp
IMHO the easiest way is to override the isVisible method, e.g. newLabel(product-photo-date, CommonUtil.getFormattedDate(product.getPhoto().getDateTime())) { public boolean isVisible() { return product.getPhoto() != null; } } -Matej Francisco Treacy wrote: Hi wicketers, I would

[Wicket-user] Tweederde van hen is tijdens de vakantie gewoon bereikbaar voor het werk.

2006-11-24 Thread Lowe Emmanuel
Verzin een idee en je klanten verzinnen er het businessmodel bij, kan het nog gekker? Leveranciers en klanten zijn minder bereikbaar, personeel gaat op vakantie. Op dit moment is de Europese markt voor BPO ongeveer half zo groot als die in de Verenigde Staten. Door ICT-toepassingen als mobiele

[Wicket-user] They have a plan in place to offer them higher.

2006-11-24 Thread contrition
Both methods are in common use by their respective proponents for the evaluation of scattering patterns with preferred orientation under rotational symmetry. Thousands of vulnerabilities and hundreds of thousands of security incidents are reported yearly, with most attacks taking advantage of

Re: [Wicket-user] Question about Hour and Minute selection

2006-11-24 Thread Jean-Baptiste Quenot
* Carfield Yim: Just wonder if there any hour and minute selection widget available? There is the Dojo TimePicker, but I don't know if it's already in wicket-contrib-dojo from the wicket-stuff project at SourceForge. -- Jean-Baptiste Quenot aka John Banana Qwerty

Re: [Wicket-user] [solved] question about showing components or not

2006-11-24 Thread Francisco Treacy
Thanks for your answers, I finally found the best practice solution to my problem, well, I think so. Remember I was looking for a way to switch on/off a part of my page (that of course includes declared components in page class and in html markup). I'll try to explain why some approaches

[Wicket-user] 1 app, 2 HomePages. 1 public, 1 logged-in

2006-11-24 Thread Robert McClay
I have an app that has a public section and a logged-in section. If the session expires for a logged-in user, I'd like to direct him to the login. If a page expires for a public user, I'd like to direct him to the / page. Any thoughts on how to handle this efficently? One easy way would be to

Re: [Wicket-user] 1 app, 2 HomePages. 1 public, 1 logged-in

2006-11-24 Thread Juergen Donnerstag
Please don't use the sourceforge list anymore. We migrated to apache. On 11/25/06, Robert McClay [EMAIL PROTECTED] wrote: I have an app that has a public section and a logged-in section. If the session expires for a logged-in user, I'd like to direct him to the login. If a page expires for a

Re: [Wicket-user] 1 app, 2 HomePages. 1 public, 1 logged-in

2006-11-24 Thread Eelco Hillenius
Heh. This is the user list, and we didn't migrate that one (yet). The develop list is on Apache, but this user list will stay on sourceforge for a while. Eelco On 11/24/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: Please don't use the sourceforge list anymore. We migrated to apache. On

Re: [Wicket-user] 1 app, 2 HomePages. 1 public, 1 logged-in

2006-11-24 Thread Eelco Hillenius
On 11/24/06, Robert McClay [EMAIL PROTECTED] wrote: I have an app that has a public section and a logged-in section. If the session expires for a logged-in user, I'd like to direct him to the login. If a page expires for a public user, I'd like to direct him to the / page. Any thoughts on how