Re: Thanks Wicket-Team!

2009-07-30 Thread okrohne
Hi Jeremy, let me add that I had no web-framework/spring/html/js experience before, so this is my first web application. In addition I have no swing background which would have been helpful to better get started with the wicket programming model. This has definitly contributed to my learning

Re: Fancy URL

2009-07-30 Thread uud ashr
Okay thx, I'll read it On Wed, Jul 29, 2009 at 9:34 PM, Mathias Nilsson wicket.program...@gmail.com wrote: take a look at HybridUrlCodingStrategy -- View this message in context: http://www.nabble.com/Fancy-URL-tp24715302p24720044.html Sent from the Wicket - User mailing list archive at

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Gajo Csaba
That may be true Igor, but there doesn't seem to be any other solution to make this work: confirmBtn = new Button(confirm) { private static final long serialVersionUID = 1L; @Override public void onSubmit() { Page page = getPage(); TabbedPanel tabPanel =

Bug in AbstractOptions of Palette?

2009-07-30 Thread Eyal Golan
Hello, We encountered a small problem in our Palette. Some of the values that were supposed to be in the choices (available and/or selected) had the '' and '' . Because of that the options weren't rendererd correctly. Looking at AbstractAction#onComponentTagBody I saw that it takes the value as it

Re: Thanks Wicket-Team!

2009-07-30 Thread ivilis vytautas.civi...@gmail.com
very impressive idea and amazing implementation. Thanks for this great stuff. Cheers! cvl Oliver Krohne wrote: Hi, Many thanks to the Wicket-Team for the great Framework and of course for the support I have received from the mailinglist. I started with zero-Wicket knowledge and now 4

Re: Thanks Wicket-Team!

2009-07-30 Thread Gajo Csaba
Oliver, good website, I can see you've put a lot of work in it. Could you please make it work fully with Opera too? At one page I got a message telling me to come back with IE or Firefox. I think wicket works without problems on Opera 9... Regards, Csaba okrohne wrote: Hi Jeremy, let me

Re: Thanks Wicket-Team!

2009-07-30 Thread okrohne
Csaba, indeed a quick test some weeks ago with opera showed no problems but we had not the time to fully test opera yet. We must not only test the wicket part but the bookmarklet as well. I am sure we will get this solved within in the next days and then I will let you know. Thanks, Oliver

Re: Thanks Wicket-Team!

2009-07-30 Thread Petr Fejfar
On Thu, Jul 30, 2009 at 9:31 AM, okrohneokro...@yahoo.de wrote: So customizing existing wicket ajax components or adding ajax to components was not so easy for me. Hi Oliver, please, could you share with us what ajaxified compontets you have finally used in your project? This stuff seems to

Apache Wicket 1.3.7 marks end of life for Wicket 1.3!

2009-07-30 Thread Martijn Dashorst
The Apache Wicket team is proud to present the release of Apache Wicket 1.3.7. This will be the last feature release for the 1.3.x branch. Going forward, only security fixes will be released in the 1.3.x branch - meaning that 1.3.7 may be the last release in this branch. All users are encouraged

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Iain Reddick
Surely this is what you want for a non-ajax solution: class MyPage extends Page { private TabbedPanel tabPanel; ... public MyPage() { tabPanel = new TabPanel(...); add( tabPanel ); ... confirmBtn = new Button(confirm) { private static final long serialVersionUID = 1L;

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Iain Reddick
Sorry - I've re-read your initial post and see what your issue is. Iain Reddick wrote: Surely this is what you want for a non-ajax solution: class MyPage extends Page { private TabbedPanel tabPanel; ... public MyPage() { tabPanel = new TabPanel(...); add( tabPanel ); ...

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Iain Reddick
confirmBtn = new Button(confirm) { private static final long serialVersionUID = 1L; @Override public void onSubmit() { Page homePage = (HomePage)getPage(); homePage.getTabbedPanel().setSelectedTab(0); } }; Iain Reddick wrote: Sorry - I've re-read your initial post and see

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

2009-07-30 Thread Paul Szulc
finally out :) !! thx wicket team! On Thu, Jul 30, 2009 at 12:54 PM, Martijn Dashorst dasho...@apache.orgwrote: The Apache Wicket project is proud to announce the release of Apache Wicket 1.4. Apache Wicket is an open source, component oriented Java web application framework. With

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

2009-07-30 Thread Peter Thomas
great news. congrats to the wicket team ! the link is on DZone: http://www.dzone.com/links/apache_wicket_14_released_takes_type_safety_to_th.html On Thu, Jul 30, 2009 at 4:40 PM, Paul Szulc paul.sz...@gmail.com wrote: finally out :) !! thx wicket team! On Thu, Jul 30, 2009 at 12:54 PM,

Re: Resource without sessionId

2009-07-30 Thread Gatos
Igor, You're right! This 302 depends on server or server configuration. For example tomcat just sets cookie without redirect. I guess the correct question will be - how to generate url without sessionId from WebResource? I'm trying to generate url to an application page from a .csv file. If I

Re: Tree and TabbedPanel components

2009-07-30 Thread Zhubin Salehi
Hi Raj, I think you need to refresh 'detailPanel' instead of 'panelOnClick'. Something like this: . . . Panel panelOnClick = new DetailTabbedPanel(detailPanel, defNode); panelOnClick.setOutputMarkupId(true); this.detailPanel.replaceWith(panelOnClick);

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

2009-07-30 Thread Carl-Eric Menzel
On Thu, 30 Jul 2009 12:54:29 +0200 Martijn Dashorst dasho...@apache.org wrote: The Apache Wicket project is proud to announce the release of Apache Wicket 1.4. Congratulations to the team and all contributors, and a big thank you! Carl-Eric

Re: currency symbol in windows and unix different for a label model

2009-07-30 Thread Martin Makundi
Your system default locale might be off. Always remember to initialize it somewhere... public static void resetLocale() { TimeZone.setDefault(TimeZone.getTimeZone(EET)); Locale.setDefault(new Locale(fi, FI)); } // Joda time

Re: currency symbol in windows and unix different for a label model

2009-07-30 Thread Jonas
You shouldn't use methods that rely on the vm's default locale, as it might be set to something unexpected - use the methods with a locale parameter instead, and pass the Session#getLocale in, e.g. NumberFormat.getCurrencyInstance(Session.get().getLocale()) this is probably a serious amount of

Re: Bug in AbstractOptions of Palette?

2009-07-30 Thread Igor Vaynberg
open a jira issue -igor On Thu, Jul 30, 2009 at 1:39 AM, Eyal Golanegola...@gmail.com wrote: Hello, We encountered a small problem in our Palette. Some of the values that were supposed to be in the choices (available and/or selected) had the '' and '' . Because of that the options weren't

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Igor Vaynberg
TabbedPanel tb=new TabbedPanel(tb); tb.setOutputMarkupId(true); div wicket:id=tb/div on panel 2... add(new AjaxFallbackLink(switch){ public void onClick(AjaxRequestTarget target) { TabbedPanel tb = findParent(TabbedPanel.class); tb.setSelectedTab(0);

Re: Beginner problems with TabbedPanel

2009-07-30 Thread Igor Vaynberg
completely untrue. see my sample that works with a regular tabbed panel. -igor On Thu, Jul 30, 2009 at 3:06 AM, Gajo Csabacg...@i-rose.si wrote: Hi Iain, I solved the problem thanks to martin-g from ##wicket. Seems like the problem was I was using a non-ajax tabbed panel with an ajax button.

Components and nullable data

2009-07-30 Thread Iain Reddick
Hi all, One of the difficulties I am finding with wicket is the best practice when displaying/using data that is potentially null. Example: I have a user object which has a nullable group property. I want to show a link to the group details page when the group property is not null, but

Re: Components and nullable data

2009-07-30 Thread Igor Vaynberg
add(new LinkUser(editgroup, user) { onclick() { ... } isvisible() { return user.getgroup()!=null; } } ? -igor 2009/7/30 Iain Reddick iain.redd...@beatsystems.com: Hi all, One of the difficulties I am finding with wicket is the best practice when displaying/using data that is

Onclick method for DefaultDataTable cells

2009-07-30 Thread Elad Katz
Hi, I have a DefaultDataTable with 5 columns, I want to be able to register to an onclick method that fires when the user will click a specific row\cell in the table. In other words, I need to be able to open an edit screen when the user clicks the row he wants to edit, and for that I need the row

Re: Problem with SortableDataProvider

2009-07-30 Thread elad katz
Thanks, that was kind of right, I did package it, but I did it wrong. igor.vaynberg wrote: make sure you packaged wicket-extensions.jar in your ear or war -igor On Mon, Jul 27, 2009 at 10:18 AM, Elad Katze...@xtify.com wrote: Hi there, this is my first post on this list, so please be

Re: Onclick method for DefaultDataTable cells

2009-07-30 Thread Igor Vaynberg
http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage -igor On Thu, Jul 30, 2009 at 11:14 AM, Elad Katze...@xtify.com wrote: Hi, I have a DefaultDataTable with 5 columns, I want to be able to register to an onclick method that fires

Re: reloading DropDownChoice choices

2009-07-30 Thread Troy Cauble
It seems my problem may be with the use of LoadableDetachableModel. Below is print statement debugging of a Button action that alters the DDC choices. [jetty] DDC choices LDM: getObject [jetty] DDC choices LDM: load(reading docs) [jetty] DDC choices LDM: onAttach [jetty] delete

Re: Onclick method for DefaultDataTable cells

2009-07-30 Thread Michael O'Cleirigh
Hello, Another way is to add an onclick listener to each row in the table by overriding newRowItem(...) in DefaultDataTable like this: DefaultDataTable table = new DefaultDataTableLocationsEntity(datatable, columns, locationsProvider, 10) { @Override protected

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

2009-07-30 Thread Juan Carlos Garcia M.
Congratulations to the Wicket Team, and everyone who contributed to make this happens. Thanks for this great Framework. Carl-Eric Menzel-5 wrote: On Thu, 30 Jul 2009 12:54:29 +0200 Martijn Dashorst dasho...@apache.org wrote: The Apache Wicket project is proud to announce the release of

Re: Persistence Error with Wicket.

2009-07-30 Thread Erik Post
Hi Raphael, You're using JPA, which complains that it can't find a persistence provider (i.e. Hibernate). Have you added the JPA-specific Hibernate jars such as hibernate-entitymanager.jar (and, while you're at it, hibernate-annotations.jar) as well? And where did you put your persistence.xml?

Re: reloading DropDownChoice choices

2009-07-30 Thread Troy Cauble
Here's a minimal example of my problem. Again, the LDM::getObject() call AFTER the onSubmit() call that changes the data does not result in a LDM::load(). There's a load() before the onSubmit(), but that's too early. Anyone? What am I missing? Thanks, -troy [jetty] DDC choices LDM:

A bug in picking up resource strings for PatternValidator in 1.4-rc7

2009-07-30 Thread Jason Wang
Hi, all, I recently rebuild a small site with 1.4-rc7 and found that the resource strings for PatternValidator cannot be recognized by wicket and the default one is always used. Change back to 1.4-rc1 problem solved.(havnt tried rc2,rc6) I have created a jira ticket at

Re: A bug in picking up resource strings for PatternValidator in 1.4-rc7

2009-07-30 Thread Igor Vaynberg
1.4.0 is out, why dont you try with that... -igor On Thu, Jul 30, 2009 at 6:58 PM, Jason Wangjason.w...@bulletin.net wrote: Hi, all, I recently rebuild a small site with 1.4-rc7 and found that the resource strings for PatternValidator cannot be recognized by wicket and the default one is

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

2009-07-30 Thread James Carman
Congrats, Wicket team! Another great milestone. Keep up the good work! On Thu, Jul 30, 2009 at 6:54 AM, Martijn Dashorstdasho...@apache.org wrote: The Apache Wicket project is proud to announce the release of Apache Wicket 1.4. Apache Wicket is an open source, component oriented Java web

Re: A bug in picking up resource strings for PatternValidator in 1.4-rc7

2009-07-30 Thread Jason Wang
Ohhh, god! I took one day off and then 1.4.0 came out!!! Thanks for telling me and good job wicket team! Igor Vaynberg wrote: 1.4.0 is out, why dont you try with that... -igor On Thu, Jul 30, 2009 at 6:58 PM, Jason Wangjason.w...@bulletin.net wrote: Hi, all, I recently rebuild a small