[jboss-cvs] jboss-seam/examples/wiki/view/includes ...
Christian Bauer
christian at hibernate.org
Mon Oct 1 15:08:09 EDT 2007
User: cbauer
Date: 07/10/01 15:08:09
Modified: examples/wiki/view/includes commentsDisplay.xhtml
commentForm.xhtml
Log:
Tagging of content, JBSEAM-1851
Revision Changes Path
1.13 +1 -1 jboss-seam/examples/wiki/view/includes/commentsDisplay.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: commentsDisplay.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/commentsDisplay.xhtml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- commentsDisplay.xhtml 15 Sep 2007 17:06:20 -0000 1.12
+++ commentsDisplay.xhtml 1 Oct 2007 19:08:09 -0000 1.13
@@ -64,7 +64,7 @@
<div align="right">
<h:form rendered="#{s:hasPermission('Comment', 'delete', documentHome.instance)}">
- <a:commandLink action="#{commentHome.remove(c.id)}" reRender="content"
+ <a:commandLink action="#{commentHome.remove(c.id)}" reRender="comments" oncomplete="wrapBoxes();"
styleClass="button"><span class="buttonLabel">Remove Comment</span></a:commandLink>
</h:form>
</div>
1.14 +6 -4 jboss-seam/examples/wiki/view/includes/commentForm.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: commentForm.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/includes/commentForm.xhtml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- commentForm.xhtml 25 Sep 2007 15:06:08 -0000 1.13
+++ commentForm.xhtml 1 Oct 2007 19:08:09 -0000 1.14
@@ -16,13 +16,15 @@
<div class="formHead bottomBorder">
<h:outputLink tabindex="102" rendered="#{empty param.showCommentForm}" accesskey="T"
- value="#{wiki:renderURL(currentDocument)}?showCommentForm=true#commentForm">Pos<u>t</u> Comment</h:outputLink>
+ styleClass="buttonNonpersistent"
+ value="#{wiki:renderURL(currentDocument)}?showCommentForm=true#commentForm"><span class="buttonLabel">Pos<u>t</u> Comment</span></h:outputLink>
<s:fragment rendered="#{not empty param.showCommentForm}">Post Comment</s:fragment>
</div>
- <div style="#{empty param.showCommentForm ? 'display:none;' : ''}" class="hiddenCommentForm formFields formBorder wideLabels">
+ <s:div style="#{empty param.showCommentForm ? 'display:none;' : ''}"
+ styleClass="hiddenCommentForm formFields formBorder wideLabels">
<s:decorate id="userNameDecorate" template="formFieldDecorate.xhtml">
<ui:define name="label">Name</ui:define>
@@ -92,14 +94,14 @@
</s:decorate>
</s:div>
- </div>
+ </s:div>
<div style="#{empty param.showCommentForm? 'display:none;' : ''}" class="hiddenCommentForm formControls wideLabels">
<div class="entry">
<div class="label"> </div>
<div class="input">
- <a:commandLink action="#{commentHome.persist}" tabindex="102" reRender="comments, commentForm" accesskey="S"
+ <a:commandLink action="#{commentHome.persist}" tabindex="102" reRender="commentDisplayForm" accesskey="S"
status="commentForm:status"
oncomplete="jQuery('.hiddenCommentForm').show();jQuery('#commentForm\\:userNameDecorate\\:userName').focus(); wrapBoxes();"
styleClass="button"><span class="buttonLabel">Po<u>s</u>t Comment</span></a:commandLink>
More information about the jboss-cvs-commits
mailing list