01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/jsf/tags/sakai_2-4-1/widgets/src/java/org/sakaiproject/jsf/component/InputRichTextComponent.java $
03: * $Id: InputRichTextComponent.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $
04: **********************************************************************************
05: *
06: * Copyright (c) 2003, 2004, 2005 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.jsf.component;
21:
22: import javax.faces.component.UIInput;
23:
24: /**
25: * <p>Formerly RichTextEditArea.java</p>
26: * * <p>Renders a rich text editor and toolbar within an HTML "textarea" element.</p>
27: <p>The textarea is decorated using the HTMLArea JavaScript library.</p>
28: <p>
29: HTMLArea is a free, customizable online editor. It works inside your
30: browser. It uses a non-standard feature implemented in Internet
31: Explorer 5.5 or better for Windows and Mozilla 1.3 or better (any
32: platform), therefore it will only work in one of these browsers.
33: </p>
34:
35: <p>
36: HTMLArea is copyright <a
37: href="http://interactivetools.com">InteractiveTools.com</a> and
38: released under a BSD-style license. HTMLArea is created and developed
39: upto version 2.03 by InteractiveTools.com. Version 3.0 developed by
40: <a href="http://students.infoiasi.ro/~mishoo/">Mihai Bazon</a> for
41: InteractiveTools. It contains code sponsored by other companies as
42: well.
43: </p>
44: * <p>Copyright: Copyright (c) 2004 Sakai</p>
45: * @author cwen@iu.edu
46: * @author Ed Smiley esmiley@stanford.edu (modifications)
47: * @version $Id: InputRichTextComponent.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $
48: */
49:
50: public class InputRichTextComponent extends UIInput {
51: public InputRichTextComponent() {
52: super ();
53: this .setRendererType("org.sakaiproject.InputRichText");
54: }
55:
56: public String getFamily() {
57: return "org.sakaiproject.InputRichText";
58: }
59: }
|