on 12-03-2007 11:58 AM
Hi Experts,
My requirement is like, I have a check table attached to a field 'A' in my ztable. Now iam binding a Dropdown By Key UI Element to the field A. I want to populate all the values from the check table to the Drop Down. But its not listing.
Instead of check table, if iam giving fixed values in the domain, then every thing will work fine.
Anybody having an idea please help
Regards
Sarath
Hi Sarath,
Try Using the Object of <b>ISimpleTypeModifiableValueSet</b> and populate the Values from the Table using a key value Pair.
Hope this helps u.
Regards,
Poojith MV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sarath,
You should use dropDownByKey for the fields with check table with fixed values.
You should use dropDownByIndex for the fields with dynamic values.
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes.. the values are not coming incase of DDK.. But in DDI values coming
So it is better to go for SimpleType.. And ValueSet
change the type of valueAttriute to <SimpleType> .. Use following code to fetch from SimpleType.. Here u can set these values to a ValueSet as <Key,value> pairs
IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
Map m=simple.getEnumerationTexts();
Collection c=m.values();
Iterator it=c.iterator();
while(it.hasNext())
{
}
Regards
LakshmiNarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> HI,
>
> As per Mr Siva said.. We have to use DDI if the
> values are Dynamic..
> If we use DDK we should use fixed values likwe
> SimpleType.
>
> Regards
> LakshmiNarayana
This is not true - you can have dynamic values either in DDI or DDK (as long as the key is unique).
If I understand the question correctly you need to choose multiple options from the DD - this is not possible. You can use 'ItemListBox' or even a table to accomplish that.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.