Search found 45 matches

by neon096
Wed Jul 11, 2012 9:47 am
Forum: Other Issues
Topic: Applet Save dialog on close
Replies: 2
Views: 1254

Applet Save dialog on close

Is there any way to change the dialog message on the close? When we use the API AuthorAccess.getEditorAccess().close(true);

Currently we see

Save cms://127.0.0.1/document/access/46?

What we want is

Save <Title of document>?
by neon096
Mon Jul 09, 2012 10:12 am
Forum: Other Issues
Topic: Printing a document within author applet
Replies: 5
Views: 2003

Re: Printing a document within author applet

I've now got a problem that the printed document is too big. I'm guessing that the CSS we use in the document display is being used to print. Is there any way to scale the printed documents down?
by neon096
Thu Jul 05, 2012 10:41 am
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6718

Re: Preventing Invalid Xml

Thanks Radu, Using the SchemaAwareHandler how would I handle a delete / prevent a delete. I've currently got the method which still allows a delete @Override public boolean handleDelete(final int offset, final int deleteType, final AuthorAccess authorAcess, final boolean wordLevel) throws InvalidEdi...
by neon096
Wed Jul 04, 2012 3:08 pm
Forum: Other Issues
Topic: Preventing Invalid Xml
Replies: 16
Views: 6718

Preventing Invalid Xml

Is there a way of restricting the Author application to only allow actions which pass a given Schema (similar to what happens with the copy and paste actions)? So that we don’t have to code all the data model restrictions? What we currently have is the following XML. However what we want is to allow...
by neon096
Tue Jul 03, 2012 2:40 pm
Forum: Other Issues
Topic: Preventing content insertion
Replies: 1
Views: 1004

Preventing content insertion

I'm trying to restrict a user from entering more than 2000 characters for a given element. Whereby the content the user is trying to insert is ignored. I'm currently looking at the AuthoringListenerAdapter beforeContentInsert method and I can count the text content but I'm struggling to prevent the ...
by neon096
Wed Jun 27, 2012 10:36 am
Forum: Other Issues
Topic: Floating licence applet not working as expected
Replies: 2
Views: 1823

Floating licence applet not working as expected

I've setup the floating license server using the provided WAR file and I've setup the applet to use this. It works as a standalone applet and connects correctly. However when I embed the applet into our Spring MVC application it fails to connect. I've used fiddler to capture the packets and found th...
by neon096
Wed Jun 20, 2012 2:27 pm
Forum: Other Issues
Topic: Printing a document within author applet
Replies: 5
Views: 2003

Re: Printing a document within author applet

Thanks that worked perfectly.
by neon096
Wed Jun 20, 2012 1:56 pm
Forum: Other Issues
Topic: Printing a document within author applet
Replies: 5
Views: 2003

Printing a document within author applet

Is there an API call I can use to issue a print operation? Similar to the print within the oxygen applications. Or do I need to implement my own using the java.awt.print?

Thanks
by neon096
Tue Jun 19, 2012 12:22 pm
Forum: Other Issues
Topic: Element suggestions list
Replies: 3
Views: 1547

Element suggestions list

Currently in Author mode when a user presses "Enter" the user is pressented with a list of suggestions (elements, comments, etc) that the schema will allow. I want to be able to prevent this and return a default action. For instance like a word processor would just returns a new paragraph ...
by neon096
Wed Jun 13, 2012 4:38 pm
Forum: Other Issues
Topic: Custom Action XPath
Replies: 1
Views: 1085

Custom Action XPath

I've created an action using the InsertOrReplaceFragmentOperation. Whereby the user highlights a selection of text and marks up a link. However the schema contraints are that the <link/> tag cannot be nested. <para> The quick brown fox jumped over the <link>lazy</link> dog. </para> So far I've not b...
by neon096
Mon Jun 11, 2012 1:05 pm
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1995

Re: Spell Checking

Thanks I'm using 13.2 at the moment. I'll see if I can upgrade to 14.
by neon096
Fri Jun 08, 2012 5:08 pm
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1995

Re: Spell Checking

Thanks, I've tested the out of the box solution and that doesn't work either. As for the way I'm running the applet, I using two ways the 1st as a standalone within Eclipse using sun.applet.AppletViewer, as well as JNLP through a simplified version of the HTML. Both of these methods require the JNA ...
by neon096
Fri Jun 08, 2012 2:37 pm
Forum: Other Issues
Topic: Spell Checking
Replies: 5
Views: 1995

Spell Checking

Hi, I'm creating an Applet based on your AuthorSampleComponent and I have a few questions. 1) I had difficulties with getting the Spell Checking (hunspell) to work. The solution was to put the jna JAR file above the oxygen JAR in hte classpath. The question I have is why are the JNA stuff packaged t...
by neon096
Mon May 28, 2012 3:55 pm
Forum: Other Issues
Topic: Applet having validation exceptions
Replies: 3
Views: 1432

Re: Applet having validation exceptions

I've been using Maven to build the project and it would appear I have used the xercesImpl from mvnrepository.com to build the project. I've moved them to point to the oxygen jars and I no longer have the exception.

Thanks for the speedy response.
by neon096
Mon May 28, 2012 1:00 pm
Forum: Other Issues
Topic: Applet having validation exceptions
Replies: 3
Views: 1432

Applet having validation exceptions

I'm currently trying to build an applet based on the AuthorComponentSample example provided. However I'm getting the following exception on the automatic validation thread every time I perform an action. The frameworks and options zip I'm using are working without exceptions in the example applet, s...