The Source for Java Technology Collaboration




CMS Tag Library

Cms Taglibs makes it very easy to use cms functionalities and actions without introducing complexity of backend repository connections . This plugin has been developed with Netbeans 6. For CMS Tag Lib demo, please refer to CMSDemo

Tag Libs

Seven cms taglibs are being provided now.Each of them necessarily requires the pathvaraiable to be passed which can be done both statically and at runtime.

addFile:It takes the documentname,description,author,path and content as the inputs and adds the file in the cms at the path specified .

addFolder:It takes the foldername,description and path as inputs and creates a new folder at the in specified path.

deleteFile:This tag deletes a file from the cms repository given the pathname.

deleteFolder:This tag deletes s folder from cms along with its child folders and files given the pathname.

getFiles:It gets all the files under a folder and are set in the pagecontext given the full path of the folder.

getFolders:It gets all the folders under a folder and are set in the pagecontext given the full path of the folder.

GetFileContent:This tag will be useful to get the file content .Specified the full path of the file It will get the document object and sets in the pagecontext.

The above tags provide you with the most important cms operations.And it makes the setting and getting of files and folders from cms very easy.

Future Plan

Presently all the tags are dealing with files and folders.But many other tags would be added to the list and made more generic as the cms repository and functionalities list grow.












Topic CMSPlugin . { Edit | Ref-By | Printable | Diffs r1 | More }

 XML java.net RSS

Revision r1 - 20 Oct 2007 - 19:21:31 - Main.tmueller
Parents: WebHome