Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-23 Thread ORACLEADF
What is the maven dependency for using this? - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-Jquery-JqueryUI-Ajax-modal-windows-examples-tp4658157p4658179.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-23 Thread Martin Grigorov
http://search.maven.org/#search%7Cga%7C1%7Cwicket-jquery-ui On Tue, Apr 23, 2013 at 10:16 AM, ORACLEADF ora@gmail.com wrote: What is the maven dependency for using this? - Regards -- View this message in context:

Re: Nested forms: error messages of the inner form now showing up

2013-04-23 Thread Sven Meier
Is this the expected behavior? No, it isn't. Please create a quickstart and attach it to a new Jira issue. Sven On 04/22/2013 06:57 PM, pureza wrote: I have two nested forms. When I submit the outer form, the inner form's validation fails but no error is shown. I know the validation fails

Re: OOM in Tests with Wicket 6.7.0

2013-04-23 Thread Martin Grigorov
Hi, We are working on a fix. But I wonder how many cookies do you manage in your tests to get an OOM ? Your tests either make a lot of interactions with the page or you do not destroy WicketTester at the end of each test and you reuse the same instance of WicketTester for all tests. On Tue, Apr

Custom Error Message with StringValidator.length Between

2013-04-23 Thread madmax108
Hi, I'm validating a field with StringValidator.lengthBetween, but somehow, it only displays the default error message rather than one I've defined in a properties file. My validator checks length of input between 8 and 20, and I've defined it as

Re: Custom Error Message with StringValidator.length Between

2013-04-23 Thread Sven Meier
What Wicket version? The key should be myField.StringValidator.range, see StringValidator's javadoc. Sven On 04/23/2013 12:12 PM, madmax108 wrote: Hi, I'm validating a field with StringValidator.lengthBetween, but somehow, it only displays the default error message rather than one I've

Problem with iAjaxRequestAttributes

2013-04-23 Thread Bruno Moura
I'm using wicket 6.7.0 with maven and I'm trying to use the code below but I getting error with it the object AjaxRequestAttributes that isn't recognized: add(new ListView[ObjItem](listObjItem, listData) { override protected def onBeforeRender() { periodTotal = new Period()

DropDownChoice and Wicket 6.7

2013-04-23 Thread Bruno Moura
I updated the wicket dependence from 1.4.22 to 6.7 and now I'm trouble for create a DropDownChoice component (I'm using scala). Before: Wicket 1.4 (works fine) val listCustomer: java.util.List[Customer] = customerDAO.listCustomer item.add(new DropDownChoice(customerSelection, listCustomer,new

Re: Panel resfresh with AjaxRequestTarget

2013-04-23 Thread souvikbhattacharyas
Hi, Thanks for the suggetion you have given in two posts. With the first one Replace Components I have to create the new object again and creating new object will call lots of web services as written on screen initialize. This will effect the performance of the product. In second one you have

Re: DropDownChoice and Wicket 6.7

2013-04-23 Thread Martin Grigorov
On Tue, Apr 23, 2013 at 3:09 PM, Bruno Moura brunormo...@gmail.com wrote: I updated the wicket dependence from 1.4.22 to 6.7 and now I'm trouble for create a DropDownChoice component (I'm using scala). Before: Wicket 1.4 (works fine) val listCustomer: java.util.List[Customer] =

DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Christoph.Manig
Hello, I have a Problem with the DefaultDataTable and the Export csv. Here is my code: DefaultDataTableProtocolSearchData,String searchTable = new DefaultDataTableProtocolSearchData, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(Collections.EMPTY_LIST),10);

Re: Problem with iAjaxRequestAttributes

2013-04-23 Thread Martin Grigorov
Hi, Most probably your pom.xml has more than one dependency for wicket(-core).jar with different versions. On Tue, Apr 23, 2013 at 2:56 PM, Bruno Moura brunormo...@gmail.com wrote: I'm using wicket 6.7.0 with maven and I'm trying to use the code below but I getting error with it the object

Re: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Sven Meier
Show us your #onSubmit(ART) ... formatted please. Sven On 04/23/2013 02:54 PM, christoph.ma...@t-systems.com wrote: Hello, I have a Problem with the DefaultDataTable and the Export csv. Here is my code: DefaultDataTableProtocolSearchData,String searchTable = new

AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Christoph.Manig
Hello, here is the code of onSubmit method of the AjaxFallbackButton. FormFilterCreatorProtocol protocollSearchForm = new FormFilterCreatorProtocol(protokollierungSucheForm, new CompoundPropertyModelFilterCreatorProtocol(new FilterCreatorProtocol())); protocollSearchForm.add(new

Re: Panel resfresh with AjaxRequestTarget

2013-04-23 Thread vineet semwal
i actually meant improve your B.java in my second post , also yes you can repaint any inner component of B from A and not the whole B by say providing getter of that component so you can repaint just b.getSomeComponent() by adding to AjaxRequestTarget ,you can also replacewith that inner

Re: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
Hi Christoph, ExportToolbar#isVisible() is not visible in any of these conditions: * There are no rows displayed (this is your case) * There are no data exporters (this is not your case) * There are no exportable columns (I dont know if this is your case) If you want the export toolbar to be

Re: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Sven Meier
Your replaced DataTable doesn't have a bottomtoolbar: target.add(ProtokollierungPage.this.get(searchTable).replaceWith( new DefaultDataTableProtocolRecord,String(searchTable, getTableHead(),

AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Christoph.Manig
Ok. Thanks for your answer. Here are my columns: ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new

AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Christoph.Manig
But I added the Toolbar at the initial call oft he Webpage. Then I can submit the AjaxButton and some data is in the table. Why should I add the bottomtoolbar again? The no-record-found-toolbar will be rendered after the Ajaxcall. Why not the Exporttoolbar? Mit freundlichen Grüßen Christoph

Re: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
Hi Christoph, PropertyColumns are already exportable. Exportable means implements IExportableColumn. Sven identified that the replaced data table does not have the export toolbar added to it. This is why it does not display after being replaced. Cheers, Jesse On 23/04/2013 15:49,

Re: How to ignore submit button while executing event on blowser close?

2013-04-23 Thread Anna Simbirtsev
But when should we set it to 1 so that it ignores submit button? On Mon, Apr 22, 2013 at 4:03 PM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, In your code no one sets dont_confirm_leave to 1. On Mon, Apr 22, 2013 at 10:51 PM, Anna Simbirtsev asimbirt...@gmail.com wrote: We try to

Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
Because you replaced the data table to which the export toolbar was added with another data table, which has no export toolbar. A data table without an export toolbar will not render an export toolbar. If you want the export toolbar to render, you must add it to the data table being rendered.

Re: Nested forms: error messages of the inner form now showing up

2013-04-23 Thread pureza
Hi, I've fixed this. It seems I forgot to call #setReuseItems(true) in a ListView :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-forms-error-messages-of-the-inner-form-now-showing-up-tp4658166p4658202.html Sent from the Users forum mailing list archive

Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread ORACLEADF
Hi Christoph I also have this problems. when you solved this problem, please upload an image of your wicket page contains a data table and has the capability to export its data to a CVS file. - Regards -- View this message in context:

Datatable with Image in Cell

2013-04-23 Thread Antonio muñoz alonso
Hi. I have a table with values​​. I need insert next to the value, an icon with a green arrow or red, depending on whether more or less than average. any ideas? Thanks.

Re: Datatable with Image in Cell

2013-04-23 Thread Raul
Hi Antonio. For this you can use the Image component and the ContextRelativeResource. if ( isaIcon() ) { relativeResource = new ContextRelativeResource( /images/a_icon.png); } else { relativeResource = new

Re: WicketTester against real EJB backend

2013-04-23 Thread Tom Eicher
Just to let you people know, The idea I have, is to use WicketTester against a real EJB deployment. The benefits would be: - a lot faster than Selenium tests - using WicketTester API - testing EJB calls as they are really used from wicket actions (especially with regards to lazy loading as I

Re: Problem with iAjaxRequestAttributes

2013-04-23 Thread Bruno Moura
Hi Martin I verified the dependencies of my pom.xml and not found any reference for a previous version of wicket. Bellow is listed my pom.xml with dependencies: !-- WICKET DEPENDENCIES -- dependency groupIdcom.google.code.jqwicket/groupId

Error for add TextBox in a ListView

2013-04-23 Thread Bruno Moura
I'm trying to add a textField in a listView using the code bellow: val detail = new TextField(detail, new PropertyModel(meeting, description)) detail.add(new AjaxFormComponentUpdatingBehavior((keyup)) { protected def onUpdate(target: AjaxRequestTarget) { // } }) But I'm

Re: Problem with iAjaxRequestAttributes

2013-04-23 Thread Martin Grigorov
On Wed, Apr 24, 2013 at 5:03 AM, Bruno Moura brunormo...@gmail.com wrote: Hi Martin I verified the dependencies of my pom.xml and not found any reference for a previous version of wicket. Bellow is listed my pom.xml with dependencies: !-- WICKET DEPENDENCIES -- dependency

Re: Error for add TextBox in a ListView

2013-04-23 Thread Martin Grigorov
Hi, I have answered you on similar question with DropDownChoice+PropertyModel. It is the same problem. On Wed, Apr 24, 2013 at 5:16 AM, Bruno Moura brunormo...@gmail.com wrote: I'm trying to add a textField in a listView using the code bellow: val detail = new TextField(detail, new

AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Christoph.Manig
Hello, now I see the Problem. Thank you for your help and sorry for my blindness. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188