...| Home | CMS...
DBPrism Content Management System > CMS Addin for JDeveloper 9i DS >

+ Home ...
+ Download
+ Documentation
> DBPrism Content Management System
+ DBPrism - Apache Cocoon
+ Credits
+ Legal
 
+ CMS
+ Introduction to DBPrism / Cocoon and DBPrism CMS
+ Install Instruction
+ External Cache Invalidator Server
+ CMS-Tables
+ Upload Utility
+ Config File
> CMS Addin for JDeveloper 9i DS
+ Dynamic Content
+ Source Code
+ Stylesheets
+ Scripts Explained
+ Security
 
+ links
+ Yahoo.groups
+ OTN
+ OSCOM.org
 
Moreover news
+ IBM speeds Java on mainframes (CNET Asia)
+ Middle-aged mainframe converts to Java (ZDNet UK)
+ IBM speeds Java on mainframes (ZDNet)
+ IBM speeds Java on mainframes (CNET)
+ All Buttons (JavaBoutique)
+ Drag-and-Drop Editor Out for Linux Devs (Internet News)
+ Using Program Parameters in Java (JavaBoutique)
+ Sun pledges to cooperate with Microsoft (AP via Seattle Post Intelligencer)
+ Sun pledges to cooperate with Microsoft (Boston Globe)
+ Bitter legal feud ends with payment, Sun cuts 3,300 more jobs (China Post)
+ Sun and Microsoft settle (Chicago Sun-Times)
+ Microsoft to pay $1.6 billion, settle with Sun Microsystems (Baltimore Sun)
+ Visualize Hoovers Data With Anacubis (ResearchBuzz via ResearchBuzz)
+ Sun and BEA advance Java app offerings (Computer Weekly)
+ Sun wants to lift its Java profile (ZDNet UK)
+ 'Smack the Pingu' on Your Mobile Phone! (PA News via The Scotsman Online)
+ Third Generation Mobile Phone Game from Nihon Enterprise (Japan Corp)
+ Comment: Free but shackled - the Java trap (Sydney Morning Herald)
+ Sun plots Java comeback (CNET Asia)
+ Veritas and BEA vow to love Java together (The Register)
+ Microsoft and Sun's settlement will yield web services benefits and support for Java (Computer Weekly)
+ Sun plots Java comeback (CNET)
+ Sun plots Java comeback (ZDNet)
+ Sun enables new wave of mobile Java services (Sunday Times South Africa)
+ Sun Releases Sun Java Studio 6 (Techfocus)
+ Sam Pitrodas Telecom Firm Sets Up India Centre (Financial Express)
+ Multi Player Mobile Gaming (BBC)
+ Combining SOAP and JavaMail (Java Pro)
+ Draw Applet (JavaBoutique)
+ IBM dedicates module to Java on mainframes (CNET)
 
+ OTN News
+ View Live Customer Webcast Demos of Enterprise Manager 10g Grid Control
+ Oracle Database 10g for Windows Now Available for Download
+ Download New Oracle 10g JDBC Drivers
+ JDeveloper 10g Reviewed in Internet.com's Java Boutique
+ Java Developer's Journal Readers Name Oracle Products "Best" in Two Categories
+ New OracleAS Portal Extension for Macromedia Dreamweaver
+ Learn from the Experts During Java Week
+ Download Oracle Database 10g
+ New OracleAS Web Cache How-To Documents
+ Learn About SQL 2003 Support in Oracle Database 10g
+ New: Quick Installation Guide for RAC on Oracle Database 10g SE (Windows)
+ Oracle Forms Diagnostic Techniques
+ Introduction to JavaServer Faces
+ Prepare for Oracle Database 10g
+ New Tutorial: Learn JSP 2.0
+ Learn Best Practices for Consolidating Oracle on Linux Deployments
+ What's New in PL/SQL in Oracle Database 10g?
+ New Oracle 10g JDBC Samples
+ New Tech Tip: Using HttpUnit in Oracle JDeveloper 10g
+ Oracle 10g Supports Microsoft Windows Media Streaming Services and Windows Media File Format (ASF)
+ New Books at Oracle 10g Book Center
+ Tech Tip: Using JSTL SQL in Oracle JDeveloper 10g Preview
+ New Technical Article Series: The Hitchhiker's Guide to PHP
+ New Enterprise Manager 10g Grid Control Hands-on Tutorial
+ OC4J 10g (10.0.3) Developer Preview 2 Now Available
+ Download the New Oracle JDeveloper Application Migration Assistant (AMA) Search Rules for WebLogic Migrations
+ Learn Oracle in 2 Days
+ Download the new Oracle XDK 10g Production Release
+ Explore New JDBC 10g How-To's
+ New Oracle 10g JDBC Sample: CachedRowSet
+ New RowSet Implementation Tutorial Series
+ Download 2003 ODTUG Conference Papers
+ New Tutorial: Understanding TLD Caching in JSPs
+ Deploy the New J2EE 1.4 Adventure Builder Reference Application to OC4J
+ Download New Servlet Advanced Sample Applications
+ New: Oracle XDK 10g Unicode Support and XSLT Extension Sample App
+ New Oracle Application Server ProcessConnect End-to-End Samples
DBPrism at SourceForge
Built with Cocoon2
CMS
 
Custom Adding for integrating CMS Upload Utility with Oracle JDeveloper 9i DS

DBPrism CMS Addin for JDeveloper 9i is an extension of CMS Upload Utility which works in batch mode.

This feature provide a quick Upload Utility for DBPrism CMS, using the XML Editing functionality built on top of Oracle JDeveloper 9i DS 9.0.3.1035 (TM).

This Adding is integrated with JDeveloper in three different options:

  1. As context menu on single file selection.
  2. As Option on Tools Menu for the current file.
  3. As context menu on Project Node (Bulk Upload).

You can see How to install and configure DBPrism CMS Addin on this Viewlet.

Single File Upload (Right button Context Help)

File Selection Upload

Single File Upload (Tools Menu Option)

Menu Selection Upload

Bulk File Upload (Project Menu Option)

Project Upload

Download and Install

This feature is provided as a jar (use Save link target as...) file ready to use with Oracle JDeveloper 9.0.3+. To install it, you need to follow these steps:

  1. Copy AddinCms.jar to [JDEV_HOME/jdev/lib/ext] directory.
  2. Configure the CmsConfig.xml file.
  3. Test it.

Copy AddinCms.jar to JDeveloper addin directory

This directoy is located under the [JDEV_HOME]/jdev/lib/ext. Copy AddinCms.jar file to this directory

Unix:

cp [CMS_HOME]/deploy/AddinCms.jar [JDEV_HOME]/jdev/lib/ext

Windows:

copy [CMS_HOME]\deploy\AddinCms.jar [JDEV_HOME]\jdev\lib\ext

This is actually telling JDeveloper to include the addin jar file in its classpath and register it to the system.

Once the jar is copied you should restart JDeveloper to view the Addin.


Configure the CmsConfig.xml file

CmsConfig.xml file is a simplified version of CMS Config file which tells to the CMS Addin Upload which repository is used for storing the pages, the upload path and so on.

This file is located under the Project Directory, directory where ProjectName.jpr file resides.

To create or edit this file, DBPrism CMS 2.0.1+ includes a new JDeveloper Wizard which provides the creation facilities of this file by selecting a database node into the System Navigator.

First you has to select a node into System Navigator configured with the database connection information for the CMS repository.

Selecting a database node.

Then, after the welcome page, this wizard will ask you for the information about the CMS user's credentials. It means the username and password used by the CMS Security system to validate the access.

Welcome Page.

CMS User's credentials.

Finally you has to specify some upload parameters such as the upload path (originally is configured to the HTML root directory of your Project, Verbose functionality and so on.

Aditional options.

Summary page.

This wizard will create a CmsConfig.xml file into the project root directory and will add it to the list of files includes into the project.

NoteAn XML file added into the the project root directory will showed by the System Navigator into the Miscellanous files of the HTML sources nodes.

The generated XML file is automatically opened into the the IDE XML Editor, check for the values stored and close it.

CmsConfig.xml file content.


Importing options

Depending on the node to be imported this Addin takes different behaviour. That is:

  1. Document of type XML, parsed as document-v10.dtd syntax and then upload to the CMS.
  2. Document of type Text, imported directly (without parsing) to the CLOB column of the CMS.
  3. OpenOffice 1.x Writer Documents, transformed with the default stylesheet defined in the CmsConfig.xml file, then parsed as document-v10.dtd, and finally upload to the CMS (DBPrism CMS includes an stylesheet named sxw2document-v10.xsl which provides a traslation templates of sxw files to DBPrism CMS format). Documents which include images are splited into the content XML file, stored into the CMS, and the images stored into the DBPrism upload repository, this repository is available using mod_plsql emulation zone.
  4. Document of type HTML, transformed with the default stylesheet defined in the CmsConfig.xml file, then parsed as document-v10.dtd, and finally upload to the CMS.
  5. Project nodes (bulk upload), for every node into the project import it using the previous rules.

NoteOnly documents which reside into the LoadPath defined on CmsConfig.xml file are taken into account. It mean, a node (Document) does not start with the pathname defined in the parameter LoadPath will not be evaluated, if this file resides into the load path this path is extracted and then saved into the CMS repository with the relative path. For example if LoadPath is file:/home/oracle8i/cms/dbprism/xdocs a document which phisically resides into file:/home/oracle8i/cms/dbprism/xdocs/docs/Readme.xml will be stored into the CMS system as /docs/Readme.xml

NoteDocuments with path starting with TemplatePath will also marked as documents templates, these templates are used by the frontend application to create documents using templating mechanism.

NoteTo upload OpenOffice 1.0 Writer documents (.sxw), its necessary to configure Oracle JDeveloper whith the correct mapping for this file type. Go to the menu Tools->Preferences...->File Types and, in the column Recognized file types: choose JarNode, then press the button Add... and type .sxw extension, confirm this extension, restart your JDeveloper and add your OpenOffice Writer document to the desired project.




Last Update: 2003-08-07 09:42:39.0| webmaster@dbprism.com.ar
Search | Use AltaVista (TM) query syntax<<
Quick Links<<
(C) 2003 - DBPrism ~ DBPrism CMS | Marcelo F. Ochoa | TANDIL ~ Argentina