on 10-29-2007 2:13 PM
I have a table UI element bound to a context model node called Subst.
Is there any difference between the following statements:
Integer substRecno = wdContext.nodeSubst().currentSubstElement().getRecno();
Integer substRecno = wdContext.currentSubstElement().getRecno();
My application showed the wrong Subst elements using the first statement, using the second statement it worked. But when debugging now I can't see any difference. Has this anything to do with the singleton property?
And the second question is: If I have a master and a detail node, when do I need to write
wdContext.nodeMaster().nodeDetail().currentDetailElement();
and when
wdContext.nodeDetail().currentDetailElement();
Thanks in advance
Josef
Hi,
thanks for your answers.
Is it wrong to write the long form
wdContext.nodeMaster().nodeDetail().currentDetailElement();
in both cases (singleton or not)?
Should I get a build error if detail is non-singleton and I write
wdContext.nodeDetail().currentDetailElement();
or do I get possibly wrong data?
Regards,
Josef
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
can u give me the idea how to increase the width and increase the gap in roadsteps in roadmap with in web dynpro abap.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Josef,
There is no difference between the following statements:
Integer substRecno = wdContext.nodeSubst().currentSubstElement().getRecno();
Integer substRecno = wdContext.currentSubstElement().getRecno();
I both the cases, it returns the Recno for the <b>element under lead selection</b>.
Second question,
If for the node Detail singleton is false then write
wdContext.nodeMaster().nodeDetail().currentDetailElement();
If for the node Detail singleton is true then write
wdContext.nodeDetail().currentDetailElement();
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 ,
I am giving second questions answer:
In your MasterNode , for each masterElement there will be a DetailNode.
And this will give you Detail Node for currentMasterElement.
wdContext.nodeMaster().nodeDetail().currentDetailElement();
for a particular Detail Node, you can find current selected Element.
wdContext.nodeDetail().currentDetailElement();
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.