on 01-30-2007 6:36 AM
Hi
Please let me know the code to get the view context values.
regards
mmukesh
Hi,
IF your variable is avail in direct context u can use like this.
Wdcontext.currentContextElement().get<varaibleName)();
Or your variable or value attribute is in undernode.
Wdcontext.current<NodeNAMe>tElement().get<varaibleName)();
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi mukesh,
if you want to read the attribute values under the context then
wdContext.currentcontextelement.get<attributename>();
if you want to read the attribute values under a node then
get the size
int size = wdContext.node<nodename>.size();
for(int i = 0; i<size;i++)
{
wdContext.node<nodename>.get<nodename>elementat(i).get<fieldname>();
}
Regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You want to read the values in the context ?? !!!
wdContext.currentContextElement().get<<AttributeName>>();
Check the sample applications is WebDynpro .
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.