Search found 264 matches

by sderrick
Mon Jun 01, 2015 6:01 pm
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 4159

Re: setEditable odd behavior

I added the document listener. docListener = new DocumentListener() { @Override public void removeUpdate(DocumentEvent e) { System.out.println("removeUpdate"); insertUpdate(e); } @Override public void insertUpdate(DocumentEvent e) { System.out.println("insertUpdate"); if (!editab...
by sderrick
Sun May 31, 2015 9:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Hide Author tab?
Replies: 3
Views: 2429

Hide Author tab?

Can I hide the Author Tab to prevent users from using that mode in the Applet?
by sderrick
Sun May 31, 2015 9:25 pm
Forum: SDK-API, Frameworks - Document Types
Topic: setEditable odd behavior
Replies: 6
Views: 4159

setEditable odd behavior

I set some documents as not editable.

When in Author mode if I try to edit the document a small popup displays saying
Cannot insert text in read only Context
, nice

When in text mode, our main editing mode, it does prevent editing but no popup? Can I enable that popup in text mode?
by sderrick
Sat May 30, 2015 5:48 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Calling the applet from Javascript
Replies: 3
Views: 2630

Calling the applet from Javascript

I'm having intermittent crashes when calling the applet to load up a file and am sure its something I'm not doing right. I see two different methods used.. this one elevates privileges public String getSerializedDocument() { //EXM-27477 This method might come from Javascript code, elevate privileges...
by sderrick
Fri May 29, 2015 5:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Put the Applet on a diet
Replies: 11
Views: 5457

Put the Applet on a diet

I'm trying to remove excess baggage from the applet which is coming in at +70MB!

We only need text mode to edit TEI/XML documents.

The frameworks jar is 21MB, what can I remove without compromising the applets functionality?

Any other jars I can safely remove?

thanks,

Scott
by sderrick
Wed May 27, 2015 5:12 pm
Forum: Common Problems
Topic: XTDE0640: Attempt to access a variable while it is being eva
Replies: 4
Views: 2527

Re: XTDE0640: Attempt to access a variable while it is being

Mint 17.1
Oxygen stand alone alone
Saxon PE 9.9.0.5

OK I changed the global opt to 0

no change in "step over" behaviour.

I emailed some example files.

Scott
by sderrick
Tue May 26, 2015 8:38 pm
Forum: Common Problems
Topic: XTDE0640: Attempt to access a variable while it is being eva
Replies: 4
Views: 2527

Re: XTDE0640: Attempt to access a variable while it is being

Well, I upgraded from 16.1 to 17.0 too see if that would help any. And it did! In fact it appears that the debugger is evaluating local variables in real time! WOOHOO!!! And no crash from XTDE0640: Attempt to access a variable while it is being evaluated However stepping is extremely weird. I can se...
by sderrick
Tue May 26, 2015 4:53 pm
Forum: Common Problems
Topic: XTDE0640: Attempt to access a variable while it is being eva
Replies: 4
Views: 2527

XTDE0640: Attempt to access a variable while it is being eva

XTDE0640: Attempt to access a variable while it is being evaluated And now your done because the debugger has crashed! This happens quite regularly when stepping through the debugger. Saying its frustrating is an understatement! I don't care if the Saxon engine is crippled in its support for debugg...
by sderrick
Mon May 25, 2015 3:34 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Disabling editing within the editor??
Replies: 7
Views: 4166

Re: Disabling editing within the editor??

Ah, good call on the listener to catch the text to author mode.

thanks,

Scott
by sderrick
Mon May 25, 2015 2:02 am
Forum: SDK-API, Frameworks - Document Types
Topic: Unexpected Security problem.
Replies: 3
Views: 2757

SOLVED: Re: Unexpected Security problem.

Pilot error, my bad. :shock:

I changed something in the default.properties file accidentally and caused the problem..

Scott
by sderrick
Sat May 23, 2015 7:58 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unexpected Security problem.
Replies: 3
Views: 2757

Re: Unexpected Security problem.

Just to be sure I tried to load the applet from another pc on my local network. It's running windoze 7 with a fresh install of Java 8_45

Same Java Security exception, same two jars listed in the console as missing signed elements?

Scott
by sderrick
Sat May 23, 2015 7:20 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Unexpected Security problem.
Replies: 3
Views: 2757

Unexpected Security problem.

running on Linux Mint 17 Java 8_45 Firefox 37 I've been developing and running the applet for a couple weeks with no security problems. It is self signed and I put the host site in the java exception list. For dev I've been running it off my localhost apache http and tomcat server. Yesterday I moved...
by sderrick
Fri May 22, 2015 8:26 pm
Forum: SDK-API, Frameworks - Document Types
Topic: missing Edit_Copy and Edit_Select_All toolbar buttons?
Replies: 1
Views: 1747

missing Edit_Copy and Edit_Select_All toolbar buttons?

I generated the list of common actions for PAGE_TEXT in the list were Copy and Select_All. Edit/Edit_Copy=ro.sync.exml.editor.b.b.ib@64b67d68, Edit/Edit_Select_All=ro.sync.exml.editor.b.b.kb@ed5403f, Actually Copy was already being inserted in the demo. actionsToolbar.add(new ToolbarButton((Action) ...
by sderrick
Fri May 22, 2015 6:21 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Disabling editing within the editor??
Replies: 7
Views: 4166

Re: Disabling editing within the editor??

Radu, Hopefully I'm doing multiple editors correctly? I took this from the FAQ. 7, Does the XML Author component support multiple documents being open simultaneously? What are the licensing ramifications? A single AuthorComponentFactory instance can create multiple EditorComponentProvider editors wh...
by sderrick
Fri May 22, 2015 1:23 am
Forum: SDK-API, Frameworks - Document Types
Topic: Disabling editing within the editor??
Replies: 7
Views: 4166

Re: Disabling editing within the editor??

I was hoping for a quick easy solution?

Is there none?

Scott
by sderrick
Thu May 21, 2015 5:23 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Disabling editing within the editor??
Replies: 7
Views: 4166

Disabling editing within the editor??

I'm setting up the applet to have a tabbed interface. Enabling the user to open multiple documents at the same time. Each tab has its own editor instance. This is working fine. Some of the documents the user can open are for reference only and should not be edited. I can of course not allow them to ...
by sderrick
Fri May 15, 2015 2:26 am
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging Applet
Replies: 4
Views: 3220

Re: Debugging Applet

As always Radu you are spot on....

I had changed the height and width in the applet tag, which was causing the jvm to launch another session....

Scott
by sderrick
Wed May 13, 2015 4:13 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging Applet
Replies: 4
Views: 3220

Re: Debugging Applet

Why does the java console start up show a slew of jars loading, then shut down, then another console start up? It does this whether netbeans is running or not. Why are there two instances of the java console? I think that is the clue. both consoles show at the top Java Plug-in 11.45.2.14 Using JRE v...
by sderrick
Wed May 13, 2015 1:41 am
Forum: SDK-API, Frameworks - Document Types
Topic: Debugging Applet
Replies: 4
Views: 3220

Debugging Applet

I can debug the applet running it stand alone, but debugging it in the browser is giving me fits! I have setup my JVM to run with the parameters: -agentlib:jdwp=transport=dt_socket,address=localhost:8000 I've set up Netbeans to listen on socket 8000 I launch Firefox, the java console opens and Netbe...
by sderrick
Wed May 06, 2015 1:48 am
Forum: SDK-API, Frameworks - Document Types
Topic: The list of actions available for applet
Replies: 1
Views: 1685

The list of actions available for applet

in the main applet function that configures the toolbar is the following code if (EditorPageConstants.PAGE_AUTHOR.equals(editorComponent .getWSEditorAccess().getCurrentPageID())) { WSAuthorComponentEditorPage authorPage = (WSAuthorComponentEditorPage) editorComponent .getWSEditorAccess().getCurrentP...
by sderrick
Tue May 05, 2015 6:22 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Re: Deploy applet to local server fails

Radu,

thanks I got a reply. It was user error as you guys suggested. Didn't realize I couldn't inject the key...

I'm up and running. Looks fantastic!

Sorry for the key posting snafu...

Scott
by sderrick
Tue May 05, 2015 3:25 am
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Re: Deploy applet to local server fails

Sorry, I thought about that a few minutes ago. Got carried away trying to post all the information so I could get up and running instead of flailing around wasting time trying to make a demo of what this may do for them. Still looking for an answer. I was given this license key in an email by your s...
by sderrick
Mon May 04, 2015 11:03 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Re: Deploy applet to local server fails

I updated to the the latest Java, 8.0.45 and the latest plugin. I am getting this error. CacheEntry[http://localhost/oxygen/lib/oxygen-16.1.3.jar]: updateAvailable=true,lastModified=Mon May 04 09:37:07 MDT 2015,length=16635819 [OXYGEN] Doc base is http://localhost/oxygen/author-component-dita-simple...
by sderrick
Mon May 04, 2015 6:54 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Re: Deploy applet to local server fails

Radu, mvn install works fine. I linked the folder ./mySample/oxygen-sample-applet/target/jnlp to http://localhost/oxygen so I can load up the webpage author-component-dita-simple.html on my apache server. It starts to load the applet but I get a java accessControlException for java.uti.PropertyPermi...
by sderrick
Fri May 01, 2015 11:39 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Re: Deploy applet to local server fails

I forget to add that it appears that this address http://maven.sync.ro/archiva/repository does not exist.

I can't find where it is getting that URL from?
by sderrick
Fri May 01, 2015 9:53 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deplying oxygen-sdk-sample-webapp fails on start
Replies: 3
Views: 2603

Re: Deplying oxygen-sdk-sample-webapp fails on start

my maven profile for the sdk is <!-- oxygen profile --> <profile> <id>oxy</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>public</id> <name>oXygen public artifacts</name> <url>http://www.oxygenxml.com/maven</url> <releases> <enabled>true</enabl...
by sderrick
Fri May 01, 2015 8:49 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deploy applet to local server fails
Replies: 8
Views: 4653

Deploy applet to local server fails

I have built the SDK using Maven on Mint 17.1. Set the certificate and dev license data. When I execute mvn -pl oxygen-sample-applet/ -am deploy I get the following error [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for myGroup...
by sderrick
Fri May 01, 2015 8:42 pm
Forum: SDK-API, Frameworks - Document Types
Topic: Deplying oxygen-sdk-sample-webapp fails on start
Replies: 3
Views: 2603

Deplying oxygen-sdk-sample-webapp fails on start

I have built the SDK using Maven on Mint 17.1 and was attempting to deploy the webapp on my local Tomcat server. I have a few web apps that are running fine on the server. When I deploy or try to start the app I get this error. Initializing log4j with: jndi:/localhost/oxygen-sdk-sample-webapp/WEB-IN...
by sderrick
Mon Apr 27, 2015 3:55 pm
Forum: Other Issues
Topic: Using the SDK
Replies: 3
Views: 2093

Re: Using the SDK

Alex,

that is good news. I just got a license key for the applet and will be trying that out today.

Too bad the new browser based editor doesn't have a source mode.

thanks,

Scott
by sderrick
Sun Apr 26, 2015 12:58 am
Forum: Other Issues
Topic: Using the SDK
Replies: 3
Views: 2093

Using the SDK

I have a project that needs a Tomcat hosted XML editor. I need to provide the same editor to 2-5 editors for them to access a document repository and make changes to XML files. I need an editor like Oxygen Editor in text mode. I was looking at the SDK and all the references are to Author mode. Can t...