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

2008-12-29 Thread wch2001
Dear all, CheckBox checkBoxPersonReceiveEmailOnDeals = new CheckBox(personItem.personReceiveEmailOnDeals, new PropertyModel(this, personItem.personReceiveEmailOnDeals)) ; Now personItem.personReceiveEmailOnDeals is true. but it also show it is not checked, how can i do ? Thank you for your

WicketTester OnChangeAjaxBehavior ?

2008-12-29 Thread Martin Makundi
Hi! I have some select boxes on the screen which trigger screen refresh in live mode. However, I have not yet figured out how to trigger OnChangeAjaxBehavior using WicketTester in a non-intrusive manner. I have found some intrusive workarounds that tweak the server-side models, but what is the

Re: WicketTester OnChangeAjaxBehavior ?

2008-12-29 Thread Marat Radchenko
tester.executeAjaxEvent(full:path:to:component, onchange); 2008/12/29 Martin Makundi martin.maku...@koodaripalvelut.com: Hi! I have some select boxes on the screen which trigger screen refresh in live mode. However, I have not yet figured out how to trigger OnChangeAjaxBehavior using

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

2008-12-29 Thread Dipu
why is it not working ? I tried and its working public class TestPage extends WebPage { private PersonItem personItem = new PersonItem(); public TestPage() { FormVoid form = new FormVoid(inform);

RE: Dynamically show and edit a textarea in a table

2008-12-29 Thread Claudio Miranda
Thanks Heikki, it works! Heikki Uotinen wrote: if you put extra div around textarea and add it to the target it should work - Claudio Miranda http://weblogs.java.net/blog/claudio http://www.claudius.com.br/blog -- View this message in context:

Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-29 Thread Peter Neubauer
Hi there, thanks for the fast answers, got around to try it first now. So, the DateTextField works great with dateField= new DateTextField(date, new Model(new Date()), new StyleDateConverter(false)); dateField.add(new DatePicker()); form.add(dateField); However, if I click on the datepicker icon

AjaxFallbackDefaultDataTable problem

2008-12-29 Thread Björn-Peter Tietjens
Hi there, I would need some help on the AjaxFallbackDefaultDataTable please. I am using this AjaxFallbackDefaultDataTable to display entries from a database using hibernate and a SortableDataProvider. I inserted a Action column to delete entries. My ActionPanel adds a link and overwrites its

RE: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-29 Thread Jeremy Thomerson
Any JS errors? Jeremy Thomerson http://www.wickettraining.com -- sent from a wireless device -Original Message- From: Peter Neubauer peter.neuba...@jayway.se Sent: Monday, December 29, 2008 8:10 AM To: users@wicket.apache.org Subject: Re: use of

Re: Default Focus Behavior?

2008-12-29 Thread Scott Swank
Jonathan, Have you considered O'Reilly's Cookbook series? I've done some tech review for them over the years, though not recently. E-mail me directly if you'd like a potentially dated contact. :) Scott On Sun, Dec 28, 2008 at 9:26 AM, Jonathan Locke jonathan.lo...@gmail.com wrote: I have

How to access the AJAX transport.responseXML

2008-12-29 Thread Vance Fellers
I need to access the XMLHttpRequest.responseXML from my javascript for a Wicket web page. I followed the code in the wicket-ajax.js, seen below. I assume this.loadedCallback is the onSuccess function, but how to access responseXML passed in the xmldoc variable, or have loadedCallback call my

feedback message without a form

2008-12-29 Thread miro
How to add feed back messages to page with out a form , in my case when the link is clicked I call some external service and that might return me some message and I want to show this message as a feedback message -- View this message in context:

Re: use of org.wicketstuff.yui.markup.html.calendar.Calendar

2008-12-29 Thread Peter Neubauer
Ok, first, I should take DateTimeField, that gives the desired setup. Anyway, now I am having JS YUI initialization errors when using the component within my pages, so I guess I will have to disable JS related stuff one by one and see what the offending other components are. Thanks for the help!

Re: AjaxFallbackDefaultDataTable problem

2008-12-29 Thread James Carman
Are you using an AjaxLink to do the delete? If so, are you adding the table to the ajax request target, so that it gets updated? On Mon, Dec 29, 2008 at 10:15 AM, Björn-Peter Tietjens bjor...@web.de wrote: Hi there, I would need some help on the AjaxFallbackDefaultDataTable please. I am

Re: feedback message without a form

2008-12-29 Thread James Carman
Component.info(String message)? On Mon, Dec 29, 2008 at 12:24 PM, miro miroconn...@yahoo.com wrote: How to add feed back messages to page with out a form , in my case when the link is clicked I call some external service and that might return me some message and I want to show this message

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

2008-12-29 Thread Peter Neubauer
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 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html

ComponentResolver and CompoundPropertyModels

2008-12-29 Thread Ricardo Mayerhofer
Hi all, I'm trying to autoAdd form components using componentResolver, but as far as I know it doesn't work nor is the recommended aproach: http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html#LifecycleofaWicketApplication-Rendering My intent is something like this: if (

Re: How to access the AJAX transport.responseXML

2008-12-29 Thread Martijn Dashorst
What is the usecase for needing to acces the responseXML coming from Wicket? Martijn On Mon, Dec 29, 2008 at 6:11 PM, Vance Fellers nvfellers...@yahoo.com wrote: I need to access the XMLHttpRequest.responseXML from my javascript for a Wicket web page. I followed the code in the

Re: FormComponent cookie persistent issue

2008-12-29 Thread Murat Yücel
By the way i am using wicket 1.3.5. I dont know if you need other information? I can send the quickstart project if anyone is interested. I dont know if it is okey to attach it to the mailing list. /Murat 2008/12/29 Murat Yücel kodeperke...@gmail.com Hi All I have a strange problem with

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

2008-12-29 Thread wch2001
Thank you a lot CheckBox(personItem.personReceiveEmailOnDeals, new PropertyModelBoolean(this,personItem.personReceiveEmailOnDeals)); it can not work, can we use PropertyModelBoolean ? thanks Dipu-3 wrote: why is it not working ? I tried and its working public class TestPage extends

[GMAP2] Map can not display in AjaxTabbedPanel

2008-12-29 Thread 新希望软件 -- 俞宏伟
first, sorry for my poor englist. in normal page, GMAP can display well, but when add GMAP AjaxTabbedPanel, when click tab, the GMAP can not display(can not see any map image). if default tabindex of the Page is GMAP's Tab, it displays well. attachfile is example code. I have another question

Re: Modal window not appearing in IE

2008-12-29 Thread NHSoft.YHW
here is ajax debug message, i found that there has a error var settings = new Object(); settings.minWidth=200; settings.minHeight=200; settings.className=w_blue; settings.width=460; settings.height=500; settings.resizable=true; settings.element = element; settings.cookieId=mwCreateOrder;

Re: AjaxFallbackDefaultDataTable problem

2008-12-29 Thread Björn Tietjens
Hi thanx for your help. I just forgot to update the datasource for the table before calling modelChanged() Cheers B James Carman schrieb: Are you using an AjaxLink to do the delete? If so, are you adding the table to the ajax request target, so that it gets updated? On Mon, Dec 29, 2008 at

How to get DropDownChoice value without commit form?

2008-12-29 Thread wch2001
Dear all, I have a project to have year dropdown choice (2008,2009, 2010 and so on), I need its value after it changed but b4 commit the form. How can i do ? thanks, Wch2001 -- View this message in context: