on 03-20-2008 6:27 AM
Hi,
Im trying to create a new field "identification type" in a view. This field is existing as a attribute of "BuilIdNumber" object. Im able to add this as context node. But when i include this field in view, and launch webclient, this field is disabled, Can ne one help me on this. I have used the wizard for creating a context node.
Can ne one plz tell all the steps in detail that are to be carried to create a new context node and add attributes to this context node and make these attributes available in view.
Thanks in advance,
chandan
Hi,
Please make sure that you have a lock on BuilIdNumber node before you can hope to maintain any of its attributes in the UI.
Hope this will help you out!
Thanks,
Sudipta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have also found same issue even though my field was bound.
Wizard was generating code in CONTEXT NODE CLASS and method : GET_YOURATTRIBUTE_NAME
value =
'XXXX not bound'."#EC NOTEXT
if iterator is bound.
current = iterator->get_current( ).
else.
current = collection_wrapper->get_current( ).
endif.
I changed it to
value = ' ' .
IT WORKED. You can try.
regards,
Laxman
Hi Sudipta,
Thanks for your reply. I was able to make it enabled in webclient. My mistake was that when creating a context node thru wizard, we need to select the option " Always create an instance", which i was missing out.
By the way, can you plz explain what is"lock on BuilIDNumber node". I have no idea regarding this.
Now i have added two new attributes to a view. But now webclient is responding differently. I have added two new fields in "CreatePerson" view. After save it shud go to "DetailAccount" view, but after adding two new fields it is going to "SearchAccount" view. Any inputs regarding this??
Regards,
chandan
I m not sure, It solved my issue. Though I mapped context node attribute correctly still it was showing property readonly.
I have also come across the the solution which you found in different scenario(in iterator case where i was not creating the child object automatically)
regards,
Laxman
Edited by: laxman on Mar 24, 2008 5:00 PM
Hello chandan,
If your field is disabled that means that your Object BuilIdNumber is not bound.
Check your node connection and creation.
Good Luck
Eli Steklov
Please Reward Points if it Helped
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.