You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2005/09/13 21:53:05 UTC

[Myfaces Wiki] Trivial Update of "Create and Display Messages" by MikeKienenberger

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by MikeKienenberger:
http://wiki.apache.org/myfaces/Create_and_Display_Messages

------------------------------------------------------------------------------
  pulldowns or inputText fields, it's very helpful.
  
  {{{
+    // myBackingBean
     private transient UIInput externalCustomerLastNameInput;
     public UIInput getExternalCustomerLastNameInput()
     {
@@ -43, +44 @@

     <h:outputText value="Customer Last Name:"/>
  </h:outputLabel>
  <h:inputText id="ExternalCustomerLastNameInput"
-    binding="#{page.externalCustomerLastNameInput}"
+    binding="#{myBackingBean.externalCustomerLastNameInput}"
-    value="#{dataModel.externalCustomerLastName}"/>
+    value="#{myDataModel.externalCustomerLastName}"/>
  <h:message for="ExternalCustomerLastNameInput" styleClass="errors" showDetail="true"/>
  }}}