You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by gv...@apache.org on 2006/05/02 17:22:40 UTC
svn commit: r398962 - /struts/shale/trunk/xdocs/features-reusable-views.xml
Author: gvanmatre
Date: Tue May 2 08:21:29 2006
New Revision: 398962
URL: http://svn.apache.org/viewcvs?rev=398962&view=rev
Log:
Fixed a couple of small typo's
Modified:
struts/shale/trunk/xdocs/features-reusable-views.xml
Modified: struts/shale/trunk/xdocs/features-reusable-views.xml
URL: http://svn.apache.org/viewcvs/struts/shale/trunk/xdocs/features-reusable-views.xml?rev=398962&r1=398961&r2=398962&view=diff
==============================================================================
--- struts/shale/trunk/xdocs/features-reusable-views.xml (original)
+++ struts/shale/trunk/xdocs/features-reusable-views.xml Tue May 2 08:21:29 2006
@@ -214,7 +214,7 @@
<attributes>
<set name="required" value="true"/>
<set name="value" value="#{userContext.username}"/>
- <set name="validator" value="#{managed-bean-name.validate}"/>
+ <set name="validator" value="#{@managed-bean-name.validate}"/>
</attributes>
</component>
</pre>
@@ -272,12 +272,12 @@
<!-- login submit button -->
<component jsfid="login" extends="commandButton" id="login">
<attributes>
- <set name="action" value="#{managed-bean-name.submit}"/>
+ <set name="action" value="#{@managed-bean-name.submit}"/>
<set name="value" value="Log In" />
</attributes>
</component>
</pre>
- <p>The expression <code>#{managed-bean-name.submit}</code> references the managed bean we
+ <p>The expression <code>#{@managed-bean-name.submit}</code> references the managed bean we
specified with the <code>clay</code> tag above with the <code>managedBeanName</code>
attribute. You can alias managed beans for any component, which allows a single component
definition to be used for any managed bean that has corresponding method signatures.</p>