[seam-commits] Seam SVN: r7150 - trunk/examples/wiki/view/plugins/faqBrowser.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jan 18 17:22:40 EST 2008


Author: christian.bauer at jboss.com
Date: 2008-01-18 17:22:40 -0500 (Fri, 18 Jan 2008)
New Revision: 7150

Modified:
   trunk/examples/wiki/view/plugins/faqBrowser/faqQuestionForm.xhtml
Log:
Stupid bug

Modified: trunk/examples/wiki/view/plugins/faqBrowser/faqQuestionForm.xhtml
===================================================================
--- trunk/examples/wiki/view/plugins/faqBrowser/faqQuestionForm.xhtml	2008-01-18 18:14:01 UTC (rev 7149)
+++ trunk/examples/wiki/view/plugins/faqBrowser/faqQuestionForm.xhtml	2008-01-18 22:22:40 UTC (rev 7150)
@@ -24,68 +24,65 @@
                 <h:outputText value="#{messages['faqBrowser.label.NewFaqQuestion']}: #{faqQuestionHome.parentNode.name}"/>
             </div>
 
-            <a:region>
-                <s:div styleClass="formFields formBorder">
+            <s:div styleClass="formFields formBorder">
 
-                    <s:decorate id="nameDecorate" template="../../includes/formFieldDecorate.xhtml">
-                        <ui:define name="label">#{messages['faqBrowser.label.QuestionTitle']}</ui:define>
-                        <h:inputText id="faqQuestionName" tabindex="1" size="60" maxlength="255" required="true" value="#{faqQuestionHome.instance.name}"/>
-                    </s:decorate>
+                <s:decorate id="nameDecorate" template="../../includes/formFieldDecorate.xhtml">
+                    <ui:define name="label">#{messages['faqBrowser.label.QuestionTitle']}</ui:define>
+                    <h:inputText id="faqQuestionName" tabindex="1" size="60" maxlength="255" required="true" value="#{faqQuestionHome.instance.name}"/>
+                </s:decorate>
 
-                    <ui:include src="../../includes/wikiTextEditor.xhtml">
-                        <ui:param name="textEditorId" value="faqQuestion"/>
+                <ui:include src="../../includes/wikiTextEditor.xhtml">
+                    <ui:param name="textEditorId" value="faqQuestion"/>
+                    <ui:param name="textPreviewId" value="faqQuestionPreview"/>
+                    <ui:param name="namingContainer" value="faqBrowserPlugin\\\\:faqQuestionForm"/>
+                    <ui:param name="statusId" value="faqQuestionFormStatus"/>
+                    <ui:param name="label" value="#{messages['faqBrowser.label.QuestionText']}"/>
+                    <ui:param name="valueBinding" value="#{faqQuestionHome.formContent}"/>
+                    <ui:param name="valueMaxLength" value="32768"/>
+                    <ui:param name="valueRequired" value="true"/>
+                    <ui:param name="textEditorColumns" value="60"/>
+                    <ui:param name="textEditorRows" value="20"/>
+                </ui:include>
+
+                <s:div styleClass="marginLeft">
+                    <ui:include src="../../includes/wikiTextPreview.xhtml">
                         <ui:param name="textPreviewId" value="faqQuestionPreview"/>
-                        <ui:param name="namingContainer" value="faqQuestionPlugin\\\\:faqQuestionForm"/>
-                        <ui:param name="statusId" value="faqQuestionFormStatus"/>
-                        <ui:param name="label" value="#{messages['faqBrowser.label.QuestionText']}"/>
-                        <ui:param name="valueBinding" value="#{faqQuestionHome.formContent}"/>
-                        <ui:param name="valueMaxLength" value="32768"/>
-                        <ui:param name="valueRequired" value="true"/>
-                        <ui:param name="textEditorColumns" value="60"/>
-                        <ui:param name="textEditorRows" value="20"/>
+                        <ui:param name="valueBinding" value="#{faqQuestionHome.instance.content}"/>
+                        <ui:param name="enablePlugins" value="false"/>
+                        <ui:param name="baseDocument" value="#{faqQuestionHome.instance}"/>
+                        <ui:param name="baseDirectory" value="#{currentDirectory}"/>
                     </ui:include>
-
-                    <s:div styleClass="marginLeft">
-                        <ui:include src="../../includes/wikiTextPreview.xhtml">
-                            <ui:param name="textPreviewId" value="faqQuestionPreview"/>
-                            <ui:param name="valueBinding" value="#{faqQuestionHome.instance.content}"/>
-                            <ui:param name="enablePlugins" value="false"/>
-                            <ui:param name="baseDocument" value="#{faqQuestionHome.instance}"/>
-                            <ui:param name="baseDirectory" value="#{currentDirectory}"/>
-                        </ui:include>
-                    </s:div>
-
                 </s:div>
 
-                <div class="formControls">
-                    <div class="entry">
-                        <div class="label">&#160;</div>
-                        <div class="input">
+            </s:div>
 
-                            <a:commandLink id="save" action="#{faqQuestionHome.persist}"
-                                           eventsQueue="ajaxEventQueue"
-                                           reRender="faqBrowserPluginContainer, messageBoxContainer"
-                                           status="faqQuestionFormStatus"
-                                           tabindex="1"
-                                           styleClass="button saveButton sessionEventTrigger">
-                                <h:outputText styleClass="buttonLabel" value="#{messages['faqBrowser.button.SaveNoKey']}"/>
-                            </a:commandLink>
+            <div class="formControls">
+                <div class="entry">
+                    <div class="label">&#160;</div>
+                    <div class="input">
 
-                            <a:commandLink action="#{faqQuestionHome.cancel}"
-                                           reRender="faqBrowserPluginContainer, messageBoxContainer"
-                                           immediate="true"
-                                           status="faqQuestionFormStatus"
-                                           eventsQueue="ajaxEventQueue"
-                                           tabindex="1" styleClass="buttonNonpersistent sessionEventTrigger">
-                                <h:outputText styleClass="buttonLabel" value="#{messages['faqBrowser.button.CancelNoKey']}"/>
-                            </a:commandLink>
+                        <a:commandLink id="save" action="#{faqQuestionHome.persist}"
+                                       eventsQueue="ajaxEventQueue"
+                                       reRender="faqBrowserPluginContainer, messageBoxContainer"
+                                       status="faqQuestionFormStatus"
+                                       tabindex="1"
+                                       styleClass="button saveButton sessionEventTrigger">
+                            <h:outputText styleClass="buttonLabel" value="#{messages['faqBrowser.button.SaveNoKey']}"/>
+                        </a:commandLink>
 
-                        </div>
+                        <a:commandLink action="#{faqQuestionHome.cancel}"
+                                       reRender="faqBrowserPluginContainer, messageBoxContainer"
+                                       immediate="true"
+                                       status="faqQuestionFormStatus"
+                                       eventsQueue="ajaxEventQueue"
+                                       tabindex="1" styleClass="buttonNonpersistent sessionEventTrigger">
+                            <h:outputText styleClass="buttonLabel" value="#{messages['faqBrowser.button.CancelNoKey']}"/>
+                        </a:commandLink>
+
                     </div>
                 </div>
+            </div>
 
-            </a:region>
-
         </div>
     </h:form>
 




More information about the seam-commits mailing list