on 04-14-2011 1:47 AM
Hi every body
Can anybody help me?
How can I add values on a Drop Down by Index Webdynpro Element?
How can I invoque my element on the Implementation Webdynpro?
I developed my webdynpro and I took your suggestions
Thanks it works
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jesus,
You can add elements to your DDbyIndex like this:
//Example: Popular un Dropdown by Index usando Nodos de contexto
// NODE[Card: 1..n, Sele:1..1] Si es obligatorio; || NODE[Card: 0..n, Sele:0..1] Si no es obligatorio y se puede dejar en blanco
//Assuming we created a node called "Source", with a string attribute called "Texto" binded to the dropdownbyindex
for (int i = 1; i <= 101; i++)
{
ISourceElement sourceElement = wdContext.createSourceElement();
sourceElement.setTexto("Text number "+i);
wdContext.nodeSource().addElement(sourceElement);
}
Regards.
Julio Herrera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1.In webDynpro java for adding drop down values first we have to add simple type of string type and go to enumeration and add values which values you want to add.
2.create one attribute of cardinality 0...n and bind this attribute to the dropdown .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
you have to make a attribute in a node of cardinality o-n and then set its value through coding
Thanks and regards
suresh joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to create a node of cardinality 0:n. Create an attribute under the node. Write code to add elements to the node and for each node element set its corresponding attribute value.
In the View Layout, add the DropDownByIndex UI element and bind its 'texts' property to the attribute of the node (0:n) that u created.
Regards,
Sayan Ghosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.