on 12-29-2010 11:37 AM
Hello,
I usually reset the variables of type string of context like this:
wdContext.nodeGlobal.currentnodeGlobal.setattribute ("");
and it works perfectly for my blackberry with OS 4.0
but for blackberry OS 5.0 does not work, and I leave the old value without resetting the variable.
anyone know how I can reset a context variable for the blackberry with OS 5.0?
My intention is that if I have an input field mapped to an attribute "attribute" that has the text "this is my reason" and you need to leave empty for the user to enter a new value, I make .... setAttribute ("") and still see" this is my reason. "
Edited by: PaKaZo on Dec 29, 2010 12:46 PM
Edited by: PaKaZo on Dec 29, 2010 12:57 PM
Hello,
Try using wdContext.currentABCElement().setAttribute1(null);
Regards
Nizamudeen SM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Nizamudeen , thanks for answering.
I tried with "" and null but does not work.
Now I'm trying to create a node attributes only to reset and make wdContext.nodeNode.getContext (). reset () and wdContext.nodeNode.invalidate () but does not work either.
the only way I've found is with a ... setAtribute whitespace (""), but of course then I have to delete later and is very expensive
sorry for my english
Thanks
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.