PAELLOS
PAELLOS
InstallationCreating contents with WebJaxeAdministrationE-learning platform
Home pageSummaryPage for printing<-->
- Creating contents with WebJaxe

Edition of a contribution

Authors: Damien Guillaume, Soufiane Ayadi
ecrans_webjaxe/jaxe.png
Edition with Jaxe

WebJaxe's editor requires Java 1.5. It opens in a new window. Be careful not to close the initial window in the web browser, because that would make the edition window disappear without letting you save the document.

remarqueRemark

There is a bug in Firefox and some other web browsers which prevents reading XML files if the option "Allow third-party cookies" is disabled. With these web browsers, this option must be enabled in the preferences.

The editor works with the XML meta-language, and entered texts are thus organized with begin and end tags. Each piece of text is surrounded by tags that give it meaning. New elements can be inserted with the menus, or with the insertion panel on the left of the window. The insertion panel only displays elements that are allowed at the cursor position, in order to prevent the creation of an invalid document (a document that does not respect the rules of the chosen XML language).

The available elements, as well as the tree rules for the elements, are defined by the XML language chosen by the administrator. It is important to learn the chosen language to use the editor in the best way. A specific documentation exists for the XPAGES language, whose WebJaxe configuration is provided with WebJaxe.

There exists a user guide for the Jaxe application, that mostly applies to WebJaxe's editor. However, there are some features that don't exist in WebJaxe. Some other features are disabled because of security restrictions imposed to Java applets by web browsers. In particular, a copy-paste is not always possible between WebJaxe and another application. Web browsers block the copy-paste in order to prevent a Java applet to read the contents of the clipboard. It is possible to work around this restriction by doing a drag-and-drop, which is equivalent (web browsers allow that because the action is explicitly done by the user).

Update: A bug in Java Virtual Machine 1.6.0_19, fixed only in the 1.6.0_21 JVM, prevents drag-and-drop to copy text content. There is a workaround for this bug (aside from updating the JVM, which might not always be possible). This workaround also allows the Java applet to do simple copy-paste, which can be very useful. The following lines just need to be added to the .java.policy file in the user home directory (for instance /Users/$USER on MacOS X or C:\Documents and Settings\%username% on Windows) :

grant codeBase "http://SERVER.NAME/WEBJAXE_FOLDER/-" {
permission java.awt.AWTPermission "accessClipboard";
};
Previous pageNext page