AnsweredAssumed Answered

Access from jsf to hierarchy classes

Question asked by rrobles on Dec 20, 2010
Latest reply on Dec 22, 2010 by rrobles

    I have a new class that extends of a alfresco's class, is it possible access to the properties of parents class from jsp?

for example,
  it existis a class of alfresco, for example AlfrescoClass

class AlfrescoClass {
  protected String test = new String("Test");
  public String getTest() {
   return this.test;
  public void setName(String Test) {
   this.example = Text;


I create a new class Example and extends of a class from Alfresco, for example AlfrescoClass

class Example extends AlfrescoClass{
    protected String name = new String("Name");
    public String getName() {
    public void setName(String name) { = name;

In my jsp   example.jsp, I can access to properties of Example

      <h:outputText value="#{}" />

But, Can I access to the properties of AlfrescoClass?

      <h:outputText value="#{Example.test}"  />