Re: Ill really apreciate the help to get the selected item of a DropDownChoice using Scala

2013-05-17 Thread Bruno Moura
of code that works in retrieve the selected value. Thanks again. Bruno Moura 2013/5/17 Martin Grigorov mgrigo...@apache.org Hi Bruno, On Fri, May 17, 2013 at 6:12 AM, Bruno Moura brunormo...@gmail.com wrote: Hi Martin But the DDC doesn't have a constructor with PropertyModel[String

Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-17 Thread Bruno Moura
Thanks Martin I will investigate this and how add a datepicker behaviour in a textField. Bruno Moura 2013/5/17 Martin Grigorov mgrigo...@apache.org Hi Bruno, WicketStuff provides two grid components - InMethod Grid and EnhancedGrid. DatePicker usually is just a behavior added

Re: Retrieve a value of textField and set the property of the Model

2013-05-17 Thread Bruno Moura
very much! Bruno Moura 2013/5/17 Martin Grigorov mgrigo...@apache.org Hi Bruno, Use any pastebin service to paste your code with Scala/Java highlighting so we can see what is wrong. On Fri, May 17, 2013 at 6:04 AM, Bruno Moura brunormo...@gmail.com wrote: Thanks Martin again I

Re: Example for advanced grid for wicket with timer/date picker controls

2013-05-17 Thread Bruno Moura
Thanks Sebastien. I'll verify your links and I hope some one will help me a lot! Regards Bruno Moura 2013/5/17 Sebastien seb...@gmail.com Hi Bruno, If you plan to use jQuery UI, you way find a DatePicker (for wicket 1.5 or 6) here for instance: http://www.7thweb.net/wicket-jquery-ui

Example for advanced grid for wicket with timer/date picker controls

2013-05-16 Thread Bruno Moura
Someone could give an example of code of an app built with an advanced grid with date picker component in it cells? Thanks Bera

Re: Retrieve a value of textField and set the property of the Model

2013-05-16 Thread Bruno Moura
assigned. Bruno Moura 2013/5/15 Martin Grigorov mgrigo...@apache.org Hi, On Wed, May 15, 2013 at 6:18 AM, Bruno Moura brunormo...@gmail.com wrote: Hi Paul, thanks very much for your help! I followed your suggestion but this peace of code doesn't compile unfortunately: IModel

Re: Ill really apreciate the help to get the selected item of a DropDownChoice using Scala

2013-05-16 Thread Bruno Moura
suport and feedback and I don't want to give up of my project. thanks Bera 2013/5/15 Martin Grigorov mgrigo...@apache.org Hi, On Wed, May 15, 2013 at 6:32 AM, Bruno Moura brunormo...@gmail.com wrote: Hi For some weeks I'm trying to implement a simple combobox, DDC, and I'm

Re: Retrieve a value of textField and set the property of the Model

2013-05-14 Thread Bruno Moura
: AjaxRequestTarget) { meetingDAO.saveMeeting(descriptionModel.getObject()) } } Unless you want to also update some other element on the screen with each user key press I really don't think you need the keyup listener. ~ Thank you, Paul Bors On Thu, May 9, 2013 at 11:03 PM, Bruno Moura

Ill really apreciate the help to get the selected item of a DropDownChoice using Scala

2013-05-14 Thread Bruno Moura
Hi For some weeks I'm trying to implement a simple combobox, DDC, and I'm struggling with this. I asked for some help several times but unfortunately I didn't archive my goal because I'm failing sometimes to understand scala with wicket, I have a little background with them at the moment.

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-10 Thread Bruno Moura
Maxin, thanks a lot again! I'll verify and if this approach works for me and then I'll share the code here! Regards! Bruno Moura 2013/5/10 Maxim Solodovnik solomax...@gmail.com ChoiceRenderer accepts 2 parameters (one of its constructor) one parameter for the name being displayed, other

Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
I implemented a dropbox in a ListView, now when I choose a value the erro bellow always happen: WicketMessage: Method onSelectionChanged of interface org.apache.wicket.markup.html.form.IOnChangeListener targeted at component [MarkupContainer [Component id = customerSelection]] threw an exception

Re: Keep the state or value of a DropDownChoice and TextField both inside a ListView

2013-05-09 Thread Bruno Moura
Thanks Ernesto for your help Bruno Moura 2013/5/5 Ernesto Reinaldo Barreiro reier...@gmail.com From javadoc of ListView * p * strongWARNING:/strong though you can nest ListViews within Forms, you HAVE to set the * setReuseItems property to true in order to have validation work

Re: Wicket - get the value of a textbox using scala

2013-05-09 Thread Bruno Moura
Thanks very much Martin again for your help Bruno Moura 2013/5/6 Martin Grigorov mgrigo...@apache.org Hi, On Mon, May 6, 2013 at 2:48 AM, Bruno Moura brunormo...@gmail.com wrote: I'm trying to retrieve a value of a TextField as is showed bellow: item.add(new TextField

Re: Wicket MarkupContainer error, the component failed to render

2013-05-09 Thread Bruno Moura
thanks very much for your help Sven Bruno Moura 2013/5/5 Sven Meier s...@meiers.net I'm not fluent in Scala but it seems you're adding additional components without reason: private class TextDesc(id: String, workSheet: WorkSheet) extends TextField[String](id) { add(new TextField

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
wantOnSelectionChangedNotifications: Boolean = true protected override def onSelectionChanged(newSelection: Customer) { super.onSelectionChanged(newSelection) } }) Thanks Bruno Moura 2013/5/9 Bruno Moura brunormo...@gmail.com I implemented a dropbox in a ListView, now when I choose a value

Retrieve a value of textField and set the property of the Model

2013-05-09 Thread Bruno Moura
I'm trying to implement a ListView and in on column of it I added a listView, for each line, I want to save the data inserted on it and update the model: I'm implemented the code bellow: val description = new TextField(description,new PropertyModel[Meeting](meeting, description))

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
Thanks Maxin, yes the code is in scala I didn't understand your suggestion I want to display the property name in the DDC no the property or field id, sorry if I did mistake in the code of my previous message. Bruno Moura 2013/5/10 Maxim Solodovnik solomax...@gmail.com I would try

Get the selected item in the DropDownChoice using Scala

2013-05-05 Thread Bruno Moura
How can I get the selected item form a DropDownChoice inside an ListView? I implemented the chunky code bellow: val listCustomer: java.util.List[Customer] = customerDAO.listCustomers item.add(new DropDownChoice(customerSelection, listCustomer, new ChoiceRenderer[Customer](name))) In

Wicket - get the value of a textbox using scala

2013-05-05 Thread Bruno Moura
I'm trying to retrieve a value of a TextField as is showed bellow: item.add(new TextField(description, new Model[String]() { override def getObject(): String = { customer.description = ??? // I don't know how I can get the value here return ... }

Keep the state or value of a DropDownChoice and TextField both inside a ListView

2013-05-05 Thread Bruno Moura
I have implemented a listView and every time that a new item is added in this ListView the values inserted in the textField and selected in a DropDownChoice are lost. The following pictures show what's happen before and after add a new ListView item: [image: Imagem inline 1] And after Add a new

Wicket MarkupContainer error, the component failed to render

2013-05-04 Thread Bruno Moura
I need to add components in a listView and associate all of them with a model,for allow keep the state of each object saved in this listView. I'm using wicket 1.4 with scala. The code is showed bellow, isn't a short piece of code but I tried to keep it simple as possible add(new

Re: Example for saving value edited in Text Box on exit event

2013-04-26 Thread Bruno Moura
. Bruno Moura 2013/4/26 Martin Grigorov mgrigo...@apache.org Hi, There is no 'exit' event. Please give us more details. And show us what you have so far. On Fri, Apr 26, 2013 at 8:54 PM, Bruno Moura brunormo...@gmail.com wrote: Hi someone please could give me an example for saving value

Re: Error for add TextBox in a ListView

2013-04-24 Thread Bruno Moura
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 PropertyModel(meeting, description

Re: Problem with iAjaxRequestAttributes

2013-04-24 Thread Bruno Moura
Hi Martin, I got back wicket to version 1,4 in my pom after realise that I couldn't use the wicket 6.x because I will need to change a LOT of source code in the application that I'm working. Thanks for your support Bruno Moura 2013/4/24 Martin Grigorov mgrigo...@apache.org: On Wed, Apr 24

Problem with iAjaxRequestAttributes

2013-04-23 Thread Bruno Moura
org.apache.wicket.ajax.attributes.AjaxRequestAttributes The last is not recognized neither after maven build What's the heck with this code and how is the issue that i need to correct since I'm using wicket 6.7? Thanks for your help! This list is saving my time! Bruno Moura

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: Problem with iAjaxRequestAttributes

2013-04-23 Thread Bruno Moura
${wicket.version}/version /dependency properties wicket.version6.7.0/wicket.version /properties Bruno Moura 2013/4/23 Martin Grigorov mgrigo...@apache.org: Hi, Most probably your pom.xml has more than one dependency for wicket(-core).jar with different versions. On Tue, Apr 23, 2013

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

wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Bruno Moura
Hi Someone could provide resources and links for Jquery/JqueryUI Ajax modal examples with wicket? Thanks a lot! Bera - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Advanced editable grid component for wicket

2013-04-22 Thread Bruno Moura
Hi I'm looking for a grid component with pagination, editables cells, inline ajax editable labels, combobox inside cells and update line/model, all of these capabilities/featues out of the box. Someone could give me links for components and examples? Thanks a lot Bera

Re: Advanced editable grid component for wicket

2013-04-22 Thread Bruno Moura
Thanks a lot Martin! Best Regards! Bruno Moura 2013/4/22 Martin Grigorov mgrigo...@apache.org: demo: http://www.wicket-library.com/inmethod-grid/data-grid/simple?1 source code: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/inmethod-grid-parent also see: https://github.com

Re: wicket Jquery/JqueryUI Ajax modal windows examples

2013-04-22 Thread Bruno Moura
Thanks a lot Martin and Maxim Bruno Moura 2013/4/22 Martin Grigorov mgrigo...@apache.org: Hi, See https://github.com/sebfz1/wicket-jquery-ui and the demo app at: http://www.7thweb.net/wicket-jquery-ui/dialog/MessageDialogPage?1 On Mon, Apr 22, 2013 at 4:07 PM, Bruno Moura brunormo

Wicket with Scala Book or Deep/Complete tutorial

2013-04-21 Thread Bruno Moura
Someone know a good resources to learning wicket + scala together?

Populate Listitem with comboboxes and editables labes and preserve the state of each object in lines

2013-04-21 Thread Bruno Moura
I have created a listView with method populateList, that fills a list of customers meetings with the respective manager responsible for each line according the figure bellow: Begin End Manager Detail Total Actions 21/04/2013 09:52:41 21/04/2013

Re: Wicket free guide updated.

2013-04-09 Thread Bruno Moura
Great job Andrea, really nice! Thanks Bruno Moura 2013/4/9 Bertrand Guay-Paquet ber...@step.polymtl.ca Hi Paul, I asked the same question for v1. Here's the answer: no, at the moment there is no source for documentation. The main document is a LibreOffice odt file. I didn't decide yet

Update Model on DropDown Item Selection

2013-04-08 Thread Bruno Moura
I need to update a model or object immediately after select a DropDownChoice item. Bellow is the code that I'm working: // - add(new ListView[Company](listCompanies, listData) { override protected def

Using a Inline-label Editable inside a ListView and update a model after change label value

2013-04-08 Thread Bruno Moura
, the listView shows a set of SomeObject, when the label total is changed in some line of the listview the corresponding object SomeObject should be updated with the new value of the label total. Someone can provide some useful example for help me with this task? Thanks Bruno Moura

Dealing with time counters with different values from each other and show them simultaneously in realtime

2013-04-03 Thread Bruno Moura
to implement this feature? Thanks! Bruno Moura