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](this,
custName)
only a property model with the Object/Pojo as I was using.
String is an Object, no ? ;-)
Sorry, I'm new in
Martin, the DDC has already created with the sema object type in the
constructor
for PropertyModel, listCustomer, and ChoiceRenderer
new DropDownChoice(customerSelection,
new PropertyModel[Customer](customer, name), listCustomer, new
ChoiceRenderer[Customer](name))*
But I need only a piece of
The selected value is reachable thru: customer.getName
On Fri, May 17, 2013 at 4:33 PM, Bruno Moura brunormo...@gmail.com wrote:
Martin, the DDC has already created with the sema object type in the
constructor
for PropertyModel, listCustomer, and ChoiceRenderer
new
Hi Martin
But the DDC doesn't have a constructor with PropertyModel[String](this,
custName)
only a property model with the Object/Pojo as I was using.
Sorry, I'm new in the world of wicket and scala, and is difficult to find
good examples around
so I'm using this list a lot because I'm getting
You should have objects of same type in DropDownChoice, PropertyModel, List
and ChoiceRenderer
On Fri, May 17, 2013 at 10:12 AM, Bruno Moura brunormo...@gmail.com wrote:
Hi Martin
But the DDC doesn't have a constructor with PropertyModel[String](this,
custName)
only a property model with
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
struggling with this. I asked for some help several times but
unfortunately I didn't archive my goal because I'm failing sometimes to
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.
Hi,
you can pass a IModelCustomer to the constructor as well. This model will
receive the currently selected Customer.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Get-the-selected-item-in-the-DropDownChoice-using
:
ddc.getModel()
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Get-the-selected-item-in-the-DropDownChoice-using-Scala-tp4658555p4658559.html
Sent from the Users forum mailing list archive at Nabble.com
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
10 matches
Mail list logo