Hi Igor,
Check my response to "Re: [Wicket-user] I see a lot of questions and
talk aboutDropDownChoice and IChoiceRenderer."
I have figured it out and thanks for the help.
Florian
Igor Vaynberg wrote:
since you are using a compound property model, and create your ddc
with id "categories"
since you are using a compound property model, and create your ddc with id
"categories" you are trying to access bean.getCategories() property, but i
see no such property defined. so why is your form model compound? once again
i urge you to read the models wiki page.
-igor
On 5/18/07, Florian H
Here is the bean... sorry I should have thought to include it:
package com.sag.ids.web.data.dto;
import com.sag.ids.api.datamodel.java.*;
import java.io.*;
public class SymbolDto implements Serializable
{
public String
getIdsDocoId()
{
return theIdsDocoId;
}
public void
no, it doesnt really help since we cant see the bean that is inside
mySymbol.
as far as the example below:
see the use of loadabledetachablemodel below.
also you are specifying the same model for selection and list of choices,
that makes no sense. if whatever bean inside mySymbol model has a
"cat
hi,
here is my code:
public class AttributeChoiceDto implements Serializable
{
public AttributeChoiceDto(String aId, String aName)
{
theId = aId;
theName = aName;
}
public String getId()
{
return theId;
}
public void setId(String aId)
{
theId
if you show me the exact code snippet that doesnt work that will give me the
necessary context.
-igor
On 5/17/07, Florian Hehlen <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for the help... It's starting to make more sense to me although
still not working. The issue is definitely with the form mod
Hi,
Thanks for the help... It's starting to make more sense to me although
still not working. The issue is definitely with the form model. because
all my sandbox experiments show me that it all goes to hell when i
introduce the model in the form. My form is a a bean wrapped in a
CompoundPrope
On Wed, 16 May 2007, Florian Hehlen wrote:
> (String id, IModel model, IModel choices, IChoicerenderer renderer) but
> I can't figure out what is the difference between the 2 IModel objects
> that have to be provided. If I provide twice a ref to the same object I
One is the default choice, and
if you type it it looks like this
DDC(String,IModel,IModel>,IChoiceRenderer)
the first model is the one that holds the selection, the second is the one
that holds a list of available choices.
the constructor with a single model:
DDC(String,IModel>,IChoiceRenderer)
is used when you use DDC in
hi,
I am new to wicket so I am not sure how simple this issue is.
I am creating DropDownChoice components. I want to a) build the the
Options from a list of Objects (not primitives) and b) want to render
the option id and value as an attribute of the object in the list. this
definitly works i
10 matches
Mail list logo