I have forwarded this to the user's list.

sean

On 11/21/05, Marco Nady <[EMAIL PROTECTED]> wrote:
I have two classes A,B
 
public class A
{
    private B b = new B() ;
 
    public B getB() { return b; }
    public void setB(B b) { this.b = b ; }
}
 
public class B
{
   public static final String STR = "My String" ;
   private String s = new String() ;
 
   public String getS() { return s; } ;
   public void setS(String s) { this.s = s ; } ;
}
 
i registered A as a managed bean in faces-config
 <managed-bean>
  <managed-bean-name>a</managed-bean-name>
  <managed-bean-class>mypackage.A</managed-bean-class>
  <managed-bean-scope>session</managed-bean-scope>
 </managed-bean>
 
why <h:outputText value="#{a.b.STR }" /> is working correctly ,
and <h:inputText value="#{a.b.s}" /> is not working?


Marco


Yahoo! FareChase - Search multiple travel sites in one click.


Reply via email to