You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/08/22 15:03:14 UTC
svn commit: r1619790 - in /myfaces/tobago/branches/tobago-3.0.x: ./
tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/
tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/
tobago-example/tobago-exampl...
Author: lofwyr
Date: Fri Aug 22 13:03:13 2014
New Revision: 1619790
URL: http://svn.apache.org/r1619790
Log:
Merged from trunk
documentation of renderedPartially [from revision 1619789]
Modified:
myfaces/tobago/branches/tobago-3.0.x/ (props changed)
myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml
myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/50-partial/partial.xhtml
Propchange: myfaces/tobago/branches/tobago-3.0.x/
------------------------------------------------------------------------------
Merged /myfaces/tobago/trunk:r1619789
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java?rev=1619790&r1=1619789&r2=1619790&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/declaration/HasRenderedPartially.java Fri Aug 22 13:03:13 2014
@@ -25,7 +25,23 @@ import org.apache.myfaces.tobago.apt.ann
public interface HasRenderedPartially {
/**
+ * <p>
* Indicate the partially rendered Components in a case of a submit.
+ * </p>
+ * <p>
+ * The search depends on the number of prefixed colons in the relativeId:
+ * <dl>
+ * <dd>colonCount == 0</dd>
+ * <dt>fully relative</dt>
+ * <dd>colonCount == 1</dd>
+ * <dt>absolute (still normal findComponent syntax)</dt>
+ * <dd>colonCount > 1</dd>
+ * <dt>for each extra colon after 1, go up a naming container</dt>
+ * </dl>
+ * </p>
+ * <p>
+ * If a literal is specified the identifiers must be space delimited.
+ * </p>
*/
@TagAttribute
@UIComponentTagAttribute(type = "java.lang.String[]")
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml?rev=1619790&r1=1619789&r2=1619790&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/04-tab/01-ajax/tab-ajax.xhtml Fri Aug 22 13:03:13 2014
@@ -17,7 +17,7 @@
* limitations under the License.
-->
-<ui:composition template="/layout/overview.xhtml"
+<ui:composition template="/WEB-INF/tags/layout/overview.xhtml"
xmlns:tc="http://myfaces.apache.org/tobago/component"
xmlns:tx="http://myfaces.apache.org/tobago/extension"
xmlns:ui="http://java.sun.com/jsf/facelets"
@@ -53,9 +53,8 @@
<tc:toolBar>
<tc:toolBarCommand actionListener="#{demo.hideTab2}"
tip="#{overviewBundle.closeButtonTip}"
- image="image/remove.png">
- <tc:attribute name="renderedPartially" value=":page:tabMarsOuterForm2"/>
- </tc:toolBarCommand>
+ image="image/remove.png"
+ renderedPartially=":page:tabMarsOuterForm2"/>
</tc:toolBar>
</f:facet>
<f:facet name="layout"><tc:gridLayout rows="1*;auto;auto;1*"/></f:facet>
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/50-partial/partial.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/50-partial/partial.xhtml?rev=1619790&r1=1619789&r2=1619790&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/50-partial/partial.xhtml (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/50-partial/partial.xhtml Fri Aug 22 13:03:13 2014
@@ -93,7 +93,7 @@
action="#{partialReloadController.reload}" renderedPartially="right"/>
<tc:button label="Reload both" tip="Reload both boxes"
- action="#{partialReloadController.reload}" renderedPartially="left,right">
+ action="#{partialReloadController.reload}" renderedPartially="left right">
<tc:gridLayoutConstraint columnSpan="2"/>
</tc:button>
@@ -105,13 +105,13 @@
<tc:button label="Reload both (wait 3 s)"
tip="Reload both boxes, but the server has a delay of 3 seconds"
- action="#{partialReloadController.waitAndReload3}" renderedPartially="left,right">
+ action="#{partialReloadController.waitAndReload3}" renderedPartially="left right">
<tc:gridLayoutConstraint columnSpan="2"/>
</tc:button>
<tc:button label="Reload both (wait 7 s)"
tip="Reload both boxes, but the server has a delay of 7 seconds, this is more than the default timeout for AJAX"
- action="#{partialReloadController.waitAndReload7}" renderedPartially="left,right">
+ action="#{partialReloadController.waitAndReload7}" renderedPartially="left right">
<tc:gridLayoutConstraint columnSpan="2"/>
</tc:button>