myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Analyst John <dotnetanal...@yahoo.com>
Subject example web app - master detail
Date Sun, 05 Mar 2006 05:47:48 GMT
i am going thru the examples, they are exciting .. looking into masterdetails , is there code
mismatch for the example , i don't think so.
   
  any pointers will help me greatly in learning myfaces.
   
  simple.war example.
  example-config.xml
     <managed-bean>
         <managed-bean-name>country</managed-bean-name>
         <managed-bean-class>org.apache.myfaces.examples.misc.Country</managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    
countryTableForm.jsp
   <f:facet name="footer">
  <h:commandButton value="#{example_messages['label_country_city_add']}" action="#{country.addCity}"/>
 </f:facet>
 
Country.java
  There is no addCity method
  
  while clicking command button, addCity of Country is performed?
   
  Regards

			
---------------------------------
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
Mime
View raw message