on 08-10-2011 2:07 PM
hi,
i implemented a application with webdynpro which uses a sap babi. everything wents fine, except that i don't know which container i have to use for a cardinality 0..n. one node has this and so the attributes can entered as often as possible.
but i only need one string, so i tried it with an input field, but this is greyed out. what have i to do?
See my reply in your other thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcus,
If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
wdContext.nodeYourNode().addElement(yourNodeElem);
Hope this explains a bit!
Best,
Robin van het Hof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean webdynpro DC component application?
For one string that must be connected with input string you must create separate context node with cardinality 1-1.
To be not greyed check 'enabled' attribute of input string, it must be "yes".
or describe your task more detailed and fully for the View that you develop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
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.