[jboss-cvs] jboss-seam/examples/seamdiscs/view/layout ...
Peter Muir
peter at bleepbleep.org.uk
Mon Oct 8 09:42:33 EDT 2007
User: pmuir
Date: 07/10/08 09:42:33
Modified: examples/seamdiscs/view/layout footer.xhtml
Log:
Extra stuff for Seamdiscs
Revision Changes Path
1.5 +14 -4 jboss-seam/examples/seamdiscs/view/layout/footer.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: footer.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamdiscs/view/layout/footer.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- footer.xhtml 8 Oct 2007 09:10:54 -0000 1.4
+++ footer.xhtml 8 Oct 2007 13:42:33 -0000 1.5
@@ -117,21 +117,31 @@
</module></code></pre>
</rich:modalPanel>
- <rich:modalPanel id="ajax" width="450" height="230">
+ <rich:modalPanel id="ajax" width="450" height="370">
<f:facet name="header">
- RichFaces Ajax and Trinidad: Different partial page models
+ RichFaces Ajax and Trinidad
</f:facet>
<f:facet name="controls">
<a href="javascript:Richfaces.hideModalPanel('ajax')">X</a>
</f:facet>
<p>Trinidad and RichFaces Ajax both provide partial page refresh and submit. For Trinidad PPR to work, it needs to be surrounded by a component
which enables PPR. The example uses <code><tr:panelPartialRoot /></code> to achieve this:</p>
- <pre class="source-code"><code>
-<tr:panelPartialRoot>
+ <pre class="source-code"><code><tr:panelPartialRoot>
<tr:form>
<tr:table value="#<span>{artists.dataModel}</span>" var="artist">
<tr:column>
...</code></pre>
+ <p>
+ If you want to use RichFaces' partial page refresh with Trinidad
+ components then you'll need to disable Trinidad's compressed style
+ keys:
+ </p>
+ <pre class="source-code"><code><context-param>
+ <param-name>
+ org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION
+ </param-name>
+ <param-value>true</param-value>
+</context-param></code></pre>
</rich:modalPanel>
<rich:modalPanel id="inplace" width="450" height="300">
More information about the jboss-cvs-commits
mailing list