on 11-06-2008 11:39 AM
I am trying to obtain a reference to the element at lead selection of a context node (Node name is Person) of component controller, i had a method initPerson() to initialize the values, so when i am writting
IPersonElement personEl = wdContext.nodePerson().currentPersonElement();
to obtain a reference , at IPersonElement it is giving me an error
IPersonElement can not be ressolved or is not a type !
can anyone help me on this
Thanks in advance.
Rashmi.
Edited by: Rashmi Gupta on Nov 6, 2008 11:40 AM
Edited by: Rashmi Gupta on Nov 6, 2008 11:41 AM
Hi,
Use CTRLSHIFTO
or Right click-> Source-> Organize Imports.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope that in IPersonElement, "Person" is the node name. Please suffix it with the view or component usage as:
IPrivate<View or Component Name>.IPersonElement ele = wdContext.nodePerson().currentPersonElement();
Hope it helps.
Cheers,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Usse
view/controllerName.IPersonElement
Just like given example below
IPublicAllInOne.IFlight_List_1Element ELE = wdContext.nodeFlight_List_1().createFlight_List_1Element(new Bapisfldat());
PS: Orgine the import files. by pressing control+Spece button at time
or
controlSpeceO
Thanks
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 | |
7 | |
6 | |
5 | |
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.