| sedoc |
| Member |
|
|
|
|
| None Specified |
|
| Thursday, October 13, 2011 |
| Tuesday, January 17, 2012 9:58:23 AM |
17 [0.09% of all post / 0.00 posts per day] |
|
Hello,
With the same script, i have an error in Firefox (9.0.1) but that's working well in IE (7).
The error message is: Error: Error setting property on NPObject!
My script is: try { var objAuthView = objAuthPlugIn.AuthenticView; var curNode = objAuthView.Selection.FirstXMLData; var childNode = curNode; while ((curNode.Kind != 0) && ((curNode.Name != 'para'))) { childNode = curNode; curNode = curNode.Parent; } if (curNode.Kind != 0) { //On test si le para a déjà un rectif var myAttr = curNode.GetChildAttribute('rectif'); if (!(myAttr)) { myAttr = createAttr(objAuthView, 'rectif', ''); curNode.appendChild(myAttr); } //on place la sélection dans le para de la balise var myRange = objAuthView.Selection; myRange.FirstXMLData = myAttr; myRange.FirstXMLDataOffset = 0; myRange.LastXMLData = myAttr; myRange.LastXMLDataOffset = 0; myRange.Select(); } else alert("Impossible d'insérer un rectificatif à cette position."); } catch (e) { alert("Erreur : " + e); }
Could you help me, please ?
Regards
|
Am I the only one with this problem?
It does not do it on every PC, but a majority.
|
|
Ok, thank you.
|
Well,
I red this: http://manual.altova.com/authenticbrowser/index.html?abobj_auth_xmldatasaveurl.htm But i don't fing exemples... :-(
|
Hello vlad,
Thank you for your reply. Could you post an exemple, please ?
Regards.
|
Ok, thanks you for your rapidity.
so, i make this for write the balise: authenticRange.PerformAction(0, 'fig'); authenticRange.GotoPreviousCursorPosition().Select(); authenticRange.SetElementAttributeValue('fig', 'name', IDFigure);
How can i put the text "Illustration2" ? I can't fing the command. :-(
|
Hello,
I have authentic Enterprise browser, I have a registration key test. I use an SPS that contains macros in JavaScript (and in GlobalDeclarations). The activeX is correctly loaded, But when I want to execute an action that require javascript, I get an error. And in my debugger (VS2010), it crashes on the first line of any kind. (after the crash, the macro is working properly) I am in IE7 with Windows XP (the security of IE for this site is verry low).
How can I make sure I'm good with the Enterprise version, not the community version? is there another reason could be that the javascript crash?
Regards
|
|
Isn't possible to get response of SavePost function ?
|
Hello,
I use Authentic Browser in Javascript. I want add text where is the cursor like "<fig name='fig05'>Illustration2</figure><p>Figure test</p>".
But the text is interpreted like text, and i want that is interpreted like XML.
i tried to use GetTextValueXMLDecoded, PerformAction, but i can't find the solution.
Could you help me ?
|
Ok,
Thank you for your informations.
Regards.
|
|