RE: How to get DropDownChoice value without commit form?

2008-12-30 Thread Heikki Uotinen
Override method wantOnSelectionChangedNotifications : dropDownChoice = new DropDownChoice...{ @Override protected boolean wantOnSelectionChangedNotifications() { return true; } @Override

Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke
Well, over the break here I've started something I swore I would never do again (well, two things, if you include the JavaOne talk I'm working on). I'm writing a (hopefully relatively short) book. It's called Twenty-Six Wicket Tricks. Each trick in the book (lettered from A-Z) demonstrates

Re: how Checkbox can be showed with checked when it value is matched?

2008-12-30 Thread Dipu
it works for me, if its not working for you show the list your code or attach a quickstart. Regards Dipu On Tue, Dec 30, 2008 at 1:08 AM, wch2001 wch2...@hotmail.com wrote: Thank you a lot CheckBox(personItem.personReceiveEmailOnDeals, new

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Dipu
i will surely buy a copy Dipu On Tue, Dec 30, 2008 at 8:32 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: Well, over the break here I've started something I swore I would never do again (well, two things, if you include the JavaOne talk I'm working on). I'm writing a (hopefully

Regarding DropdownChoice

2008-12-30 Thread Nilesh More
Hi, I am using a dropdown list to display some values. When I am selection any one from the list it should be saved in the preferences. I want to get the value that I have selected from the list in some variable on the same page. Can anybody please give me the solution? Thanks and

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Casper Bang
Sounds interesting, although it would be nice if you could mention a trick or two such as to provide us with a little more info. I'm guessing its different from what you'd find in the wiki?! Casper Jonathan Locke wrote: Well, over the break here I've started something I swore I would never

optional DropDowns

2008-12-30 Thread Björn Tietjens
Hi, I have a problem with an webform containing several dropdowns. Each dropdown is getting a (shared) object and one of the objects (int) properties as model. This way I can set the properties width and height of the object box. Now the drop downs are supposed to be optional... and when no

Re: Regarding DropdownChoice

2008-12-30 Thread Dipu
i think you have two options here 1. you can add an AjaxFormComponentUpdatingBehavior to the dropdown or 2. override wantOnSelectionChangedNotifications method of the dropdown choice first one as the name says is ajax based and second one will do roundtrip Dipu On Tue, Dec 30, 2008 at 9:20

Re: optional DropDowns

2008-12-30 Thread Matthias Keller
Hi Björn You should probably either switch from int to Integer (which can be null) or provide an own values list which includes your default entry for example with value -1 (or customize the DropDownChoice to do that) Matt Björn Tietjens wrote: Hi, I have a problem with an webform

Re: Wicket-contrib-accordion and Wicket-datetime YUI version clash?

2008-12-30 Thread Nino Martinez
Could be cool if we got a common place like jeremys jslib for this... Peter Neubauer wrote: Hi there, when using a DateTimeField together with Wicket-contrib-accordion, it seems my DateTimeField JS gets corrupted by the followoing header contributors: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez
Interesting, what kind of topics will it cover? Jonathan Locke wrote: Well, over the break here I've started something I swore I would never do again (well, two things, if you include the JavaOne talk I'm working on). I'm writing a (hopefully relatively short) book. It's called Twenty-Six

wicketstuff-annotation and Wicket 1.4

2008-12-30 Thread Azzeddine Daddah
Hi guys, Does someone already tried to use wicketstuff-annotation with Wicket 1.4? They say in the wicketstuff site that it depends on wicket 1.3.3 but isn't tested yet with 1.4. Gr. Hbiloo

Re: Twenty Six Wicket Tricks

2008-12-30 Thread jWeekend
Jonathan, We're finally starting work on a more advanced jWeekend Wicket course/workshop to complement our existing Wicket training so we would certainly look into buying several copies of such a book. Our Wicket courses have been running for 18 months and for much of that time we have been

ModalWindow not appearing in IE

2008-12-30 Thread NHSoft.YHW
ModalWindow can not appear in IE 6.x, but Firefox 3.x has no problem. In IE 6.x, when click show ModalWindow link, the server side code invoke, but the browser not show the modalwindow. ajax debug message detail as follow: INFO: focus removed from wicket-generated-id-120 INFO: focus set on

Re: optional DropDowns

2008-12-30 Thread Björn-Peter Tietjens
Hi thank you for your help. I did switch from int to Integer and it works fine now. Cheers B Matthias Keller schrieb: Hi Björn You should probably either switch from int to Integer (which can be null) or provide an own values list which includes your default entry for example with

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Eyal Golan
I can't wait for yet another great Wicket book. I will surly buy it. regarding tricks, using Modal window can be nice. Integrating Wicket with JS libs (If it's not a topic for a small book by itself). Cool stuff with Ajax. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/

Re: ComponentResolver and CompoundPropertyModels

2008-12-30 Thread Ricardo Mayerhofer
Just completing my last message... The code bellow actually works in the sense of adding the component to the form, but it doesn't work with compoundpropertymodels. I mean the value of the text field is never setted in the model. Ricardo Mayerhofer wrote: Hi all, I'm trying to autoAdd form

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Martin Grigorov
Does it have to be a book ? I do really like Igor's series at wicketinaction.com. Pros: the community feedback as comments. Cons: it is not profitable. El mar, 30-12-2008 a las 00:32 -0800, Jonathan Locke escribió: Well, over the break here I've started something I swore I would never do

Re: wicketstuff-annotation and Wicket 1.4

2008-12-30 Thread Jeremy Thomerson
I haven't tested it, but since it is in wicketstuff-core now, it is definitely compiling against 1.4. This also means that any unit tests in the project are also testing successfully against 1.4. So, that at least heightens your odds that it will work with 1.4, even though I can't comment on

Re: ModalWindow not appearing in IE

2008-12-30 Thread Jeremy Thomerson
Have you searched Nabble for past questions on this? Not sure if you'll find the answer, but you'll find an abundance of discussion and examples out there. http://www.nabble.com/Modal-window-not-appearing-in-IE-td21018938.html On Tue, Dec 30, 2008 at 3:54 AM, NHSoft.YHW nhsoft@gmail.com

How to call to a page via JavaScript

2008-12-30 Thread simonm
Hi, I would like to call to SomePage.html within my wicket project via a java script code. My project contains several pages and the navigation between the pages is done through a drop down menu (each drop down menu appears while hovering a tab-menu-panel). All popup menus are implemented using

different validations based on different submit button click

2008-12-30 Thread miro
I have a foprm with several buttons representing actions , based on different action i want different validations so is there way where i can retrieve which submit button was clicked ? -- View this message in context:

Re: different validations based on different submit button click

2008-12-30 Thread Dipu
try form.findSubmittingButton() or better you can override onSubmit() method of each button regards dipu On Tue, Dec 30, 2008 at 3:53 PM, miro miroconn...@yahoo.com wrote: I have a foprm with several buttons representing actions , based on different action i want different validations so

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke
Thanks, I appreciate the offer to review. I will get back to you in some number of weeks. ;-) Yeah, the JavaOne talk I submitted is indeed on Wicket. Jon jWeekend wrote: Jonathan, We're finally starting work on a more advanced jWeekend Wicket course/workshop to complement our

Re: How to access the AJAX transport.responseXML

2008-12-30 Thread Vance Fellers
Martin, the application provides the web page administrator the ability to assign styles to a web page by user group. For example, the visbility of certain fields or tabs will be displayed on an as need basis. These administered styles are stored in a database table. When a page is to be

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke
I've already got a bit of most of that in there. Thanks. egolan74 wrote: I can't wait for yet another great Wicket book. I will surly buy it. regarding tricks, using Modal window can be nice. Integrating Wicket with JS libs (If it's not a topic for a small book by itself). Cool

Re: feedback message without a form

2008-12-30 Thread miro
adding message is simple but how to display this message , who is rendering the added message ?, in my case I am adding the message to the page , getPage().info(This is a test message ) , now what in html i have to do to display this message ? James Carman-3 wrote: Component.info(String

DownloadLink, BIRT report

2008-12-30 Thread newbieabc
Hello.. How can create a download link on a webpage, that converts a BIRT report to excel format and downloads to client machine? Thank you. -- View this message in context: http://www.nabble.com/DownloadLink%2C-BIRT-report-tp21218997p21218997.html Sent from the Wicket - User mailing list

Contributing to Wicket - Client side form validation

2008-12-30 Thread cazoury
Hi, We have been working on a small project to integrate http://yav.sourceforge.net/ YAV library with Wicket. It is javascript validation purely on the client side. YAV has a LGPL licence and is a sourceforge project. I know that we can use an Ajax Behavior to validate the form with the

Re: feedback message without a form

2008-12-30 Thread jWeekend
Did you add a FeedbackPanel to your page? Regards - Cemal http://www.jWeekend.co.uk jWeekend miro wrote: adding message is simple but how to display this message , who is rendering the added message ?, in my case I am adding the message to the page , getPage().info(This is a test

Re: feedback message without a form

2008-12-30 Thread miro
here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing grants); return; }

Re: feedback message without a form

2008-12-30 Thread miro
i have the feedback panel and i am able to display form validations , but when I add info to the page nothing is shown by the feedback panel here the code for adding info to my page public void onClick(AjaxRequestTarget target) {

Re: feedback message without a form

2008-12-30 Thread Adriano dos Santos Fernandes
miro escreveu: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing grants); return;

Re: feedback message without a form

2008-12-30 Thread jWeekend
try getSession().info(you info message); OK? Regards - Cemal http://www.jWeekend.co.uk jWeekend miro wrote: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){

Re: Contributing to Wicket - Client side form validation

2008-12-30 Thread jWeekend
Carl, This addresses a question that comes up on this list from time to time and knowing some of the people at Zenika you have probably developed this with, I am sure it will be a well thought out, robust and useful tool. It hopefully also gives us a pretext on which to get you over to London

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke
i like those too. and i hope people keep blogging about wicket like that. it's nice to get the gist of how to do something that way and boost WIA in the process. however, the quality bar of chapters in twenty-six tricks will be higher and my goals for each trick are (i hope) considerably more

RE: Twenty Six Wicket Tricks

2008-12-30 Thread Dane Laverty
I think that sounds like a wonderful idea. I've enjoyed WIA (as much as I've read so far) and would certainly purchase a follow-up book of Wicket tricks. Dane -Original Message- From: Jonathan Locke [mailto:jonathan.lo...@gmail.com] Sent: Tuesday, December 30, 2008 8:56 AM To:

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
Jonathan, I think that Wicket is missing a solid overview of the below form components, how they differ, how they overlap, and when to use each. Check, Checkbox, CheckGroup, CheckGroupSelector DropDownChoice (there are 3 wiki pages, but I'd like to draw out the overlap with RadioChoice and the

Re: Twenty Six Wicket Tricks

2008-12-30 Thread svenmeier
I'd like to review your Wicket tricks too. Regards Sven Jonathan Locke wrote: Thanks, I appreciate the offer to review. I will get back to you in some number of weeks. ;-) Yeah, the JavaOne talk I submitted is indeed on Wicket. Jon jWeekend wrote: Jonathan,

Re: feedback message without a form

2008-12-30 Thread miro
i tried that but no messge is displayed the message is displayed when the url is http://localhost:8080/audit/app/ and my current url is http://localhost:8080/audit/app/?wicket:interface=:6 jWeekend wrote: try getSession().info(you info message); OK? Regards - Cemal

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Uwe Schäfer
Jonathan Locke schrieb: I'd also be interested in getting some idea how many people would be interested in this book (would provide some fuel for me to get it done). where´s the pre-order link ? ;) you write it, we buy it. -- THOMAS DAILY GmbH Adlerstraße 19 79098 Freiburg Deutschland T +

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jonathan Locke
well, if there's a reusable component in it somehow... i don't see how to approach that though, so maybe it's a wiki article. Scott Swank wrote: Jonathan, I think that Wicket is missing a solid overview of the below form components, how they differ, how they overlap, and when to use

DateTimeField Error and Question

2008-12-30 Thread Christoph Bach
Hi, I am using the org.apache.wicket.extensions.yui.calendar.DateTimeField 1. If I enter a date say 1.1.1955 in the textfield, the textfield strips ist to 01.01.55. The first time I click on the Calendar icon, the calendar shows the year 1955. From the second click on, the Calendar shows the

Re: Contributing to Wicket - Client side form validation

2008-12-30 Thread David Ojeda
Carl, I think this project is very interesting. I was recently investigating on client side validation with wicket and could not find any pure client-side solution. I will be waiting for your link... David On Wed, Dec 31, 2008 at 12:10 PM, jWeekend jweekend_for...@cabouge.comwrote: Carl,

Re: Contributing to Wicket - Client side form validation

2008-12-30 Thread Advanced Technology®
Hi Carl, Yeah, Pure Javascript validation is something needed. I've been trying to integrate wicket with yav a couple of days ago . I think you contribution will be very interesting. Googlecode project is a good step. Azarias Tomás 2008/12/30 cazoury carl.azo...@zenika.com -- AT(R)

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez
Check = detailed control of each check (you have to iterate over them to add more than one forexample in a listview) CheckBox = list of checks (not same as above) CheckGroup = Holds the model for checks Repeat above for radios. Dropdown = simple component There are also some ajax versions of

Re: Contributing to Wicket - Client side form validation

2008-12-30 Thread Nino Martinez
I like to keep my contributions in wicketstuff repo, and I think us wicketstuffers would be happy to have your project there .. But no matter what I think you should contribute the stuff you've done :) So if you want, just post your sourceforge nick to the dev list to get write permissions..

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Scott Swank
Thanks Nino. The problem is that there isn't any place on the wiki that pulls all of this together. Consequently I've seen aspects of this asked several times on the list. If I don't hear anything to the contrary, I'll assume that this material is in fact missing from the wiki and I'll add it.

Re: feedback message without a form

2008-12-30 Thread Vance Fellers
Have you tried without redirecting to the response page? miro wrote: here is my code public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){ getPage().error(Please assing

Re: Wicket-contrib-accordion and Wicket-datetime YUI version clash?

2008-12-30 Thread Peter Neubauer
Hi there, now, updating the wicket-contrib-accordion YUI version to 2.4.1, the one used in wicket-datetime, is solving the problem, here is the patch! Index: src/main/java/org/wicketstuff/accordion/AccordionPanel.java === ---

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Nino Martinez
NP, yeah but anyhow you have your point. If it gets asked a lot then the WIKI needs it :) Scott Swank wrote: Thanks Nino. The problem is that there isn't any place on the wiki that pulls all of this together. Consequently I've seen aspects of this asked several times on the list. If I don't

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Jeremy Thomerson
Jon, I would also offer to review for you, even understanding your rigorous requirements :) That would be a privilege if you have the need. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Dec 30, 2008 at 10:55 AM, Jonathan Locke jonathan.lo...@gmail.comwrote: i like those too.

Re: Contributing to Wicket - Client side form validation

2008-12-30 Thread cazoury
Thank you every one for your answers and interests on the project. I will be very happy for the project to go on Wicketstuff repo. My nick on sourceforge is : cazoury, I will post that on the dev list. Hopefully everything will be checked in before the end of the week. In terms of the actual

any better at dealing with Image in DataTable

2008-12-30 Thread Kirk Israel
Running into the same issue as seen in: http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg03706.html where you try to put an Image in a DataTable and get Component cell must be applied to a tag of type 'img', not 'span wicket:id=cell' (line 0, column 0) Is there a simpler way of

Re: any better at dealing with Image in DataTable

2008-12-30 Thread Adriano dos Santos Fernandes
Kirk Israel wrote: Running into the same issue as seen in: http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg03706.html where you try to put an Image in a DataTable and get Component cell must be applied to a tag of type 'img', not 'span wicket:id=cell' (line 0, column 0) Is

RE: feedback message without a form

2008-12-30 Thread Heikki Uotinen
Refresh feedback panel after setting the message: final FeedbackPanel feedback = new FeedbackPanel (feedback); feedback.setOutputMarkupId(true); add(feedback); public void onClick(AjaxRequestTarget target) { if(assignProgramsDTO.getGrantsAssigned().size()==0){

Re: Twenty Six Wicket Tricks

2008-12-30 Thread Erik van Oosten
Jonathan Locke wrote: I've got 13 tricks coded up now and ideas for a handful more, but if there are any requests out there, please let me know Perhaps something about handling URLs. Like writing your own url coding strategy and how to mount pages with URL that have some variable