Author: adubovsky
Date: 2008-11-25 07:30:05 -0500 (Tue, 25 Nov 2008)
New Revision: 11352
Modified:
trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp
trunk/test-applications/jsp/src/main/webapp/Editor/EditorProperty.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp 2008-11-25 12:11:49 UTC
(rev 11351)
+++ trunk/test-applications/jsp/src/main/webapp/Editor/Editor.jsp 2008-11-25 12:30:05 UTC
(rev 11352)
@@ -6,10 +6,25 @@
<f:subview id="editorSubviewID">
<h:panelGrid id="EditorPanelID" columns="2"
border="1">
- <rich:editor id="editorID" value="#{editor.value}"
- width="300" height="100"></rich:editor>
+ <rich:editor id="editorID" binding="#{editor.htmlEditor}"
+ value="#{editor.value}" width="#{editor.width}"
+ height="#{editor.height}" theme="#{editor.theme}"
+ onchange="#{event.onchange}" oninit="#{event.oninit}"
+ onsave="#{event.onsave}" onsetup="#{event.onsetup}"
+ autoResize="false"
+ converter="#{editor.convert}"
+ converterMessage="converterMessage"
+ immediate="false"
+ rendered="true"
+ required="false"
+ requiredMessage="requiredMessage"
+ useSeamText="false"
+ validator="#{editor.validate}"
+ validatorMessage="validatorMessage"
+ valueChangeListener="#{editor.valueChangeListener}"
+ viewMode=""></rich:editor>
- <h:panelGrid columns="1" >
+ <h:panelGrid columns="1">
<f:facet name="header">
<h:outputText value="Results" />
</f:facet>
Modified: trunk/test-applications/jsp/src/main/webapp/Editor/EditorProperty.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Editor/EditorProperty.jsp 2008-11-25
12:11:49 UTC (rev 11351)
+++ trunk/test-applications/jsp/src/main/webapp/Editor/EditorProperty.jsp 2008-11-25
12:30:05 UTC (rev 11352)
@@ -5,10 +5,21 @@
<f:subview id="editorPropertySubviewID">
<h:panelGrid columns="2">
- <h:outputText value="height"></h:outputText>
+ <f:facet name="header">
+ <h:outputText value="List of Attributes" />
+ </f:facet>
+
+ <h:outputText value="height: "></h:outputText>
<h:inputText value="#{editor.height}" onchange="submit();"
></h:inputText>
- <h:outputText value="width"></h:outputText>
+ <h:outputText value="width: "></h:outputText>
<h:inputText value="#{editor.width}" onchange="submit();"
></h:inputText>
+
+ <h:outputText value="theme: "></h:outputText>
+ <h:selectOneRadio value="#{editor.theme}"
onchange="submit();">
+ <f:selectItem itemValue="simple" itemLabel="simple" />
+ <f:selectItem itemValue="advanced" itemLabel="advanced" />
+ </h:selectOneRadio>
</h:panelGrid>
+ <h:commandButton value="add test"
action="#{editor.addHtmlEditor}"></h:commandButton>
</f:subview>
\ No newline at end of file
Show replies by date