[an error occurred while processing this directive]

Dojo Editor Example

                         

In this example, you will learn about the dojo editor.

Editor: This is a Dijit's Rich Text editor, Dijit.Editor, is a text box that designed to look as a word processor. It works like a word processor. The features of editor is follow:

  1. Toolbar
  2. HTML output, and 
  3. Plugin architecture 

Which supports new commands, new buttons and other new features also.

The default configuration of Dijit.Editor has a toolbar on the top to the editor section, that contains Copy, Cut, Paste, Italic, Underline, Numbered, Bulleted list, Indent lift and Indent right.

 

Here is the code of Example:

<html>
<head>

<title>Editor Demo</title>

     <style type="text/css">
      @import "../dijit/themes/soria/soria.css";
      @import "/resources/dojo.css";
  </style>

    <script type="text/javascript" src="dojo.xd.js" djConfig="parseOnLoad: true"></script>

        <script type="text/javascript">
       dojo.require("dojo.parser");
       dojo.require("dijit.Editor");
     </script>

</head>
<body class="soria">

    <textarea name="field" dojoType="dijit.Editor">   
      This tips is light towards people with some JavaScript knowledge, priestly used 
another JavaScript (Ajax) framework before, now have a real need to use some of the 
features found in dojo. In 
this tips, learn about the dojo and its directory structure. 
The purpose of 
this tips, for new user learn to dojo then you need to know about the 
what is dojo and its directory structure.

    </textarea>
       
</body>
</html>

                         

Ask programming questions?

 

 

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

0 comments so far (post your own) View All Comments Latest 10 Comments:
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification

Tell A Friend
Your Friend Name

 

 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright 2007. All rights reserved.

[an error occurred while processing this directive]