3 Replies Latest reply on Jul 17, 2006 4:29 AM by denis-karpov

    Accessing methods inside the view

    bluetrade

      Hi,
      I have a question regarding the access of methods. Say I have an Address that has many fields which can change over time, so I would like to display the entire address via the toString() field that the Bean provides me with. Is there a way to access a specific method e.g. #{backingBean.toString} <- this should not work, since there is not getToString or setToString available, and as far as I understand from the JSF / EJB Specs, this would be neccessary - so is there some sort of interceptor for this available?

      I think this might come in handy very often in cases where a collection of strings of a Bean need to be displayed...

      Thanks