Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-70

public members inherted from non-public classes are not valid references

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 1.5
    • 1.6
    • Engine
    • None
    • Operating System: All
      Platform: PC
    • 8651

    Description

      Hi there,
      I encountered a problem with Velocity when invoking inherited methods of a Java
      class. I get the
      error "org.apache.velocity.runtime.exception.ReferenceException: reference :
      template = screens/Details.vm [line 48,column 1] : $class.getFullName() is not
      a valid reference" if I want to invoke the "FullName" method of the "class"
      object. This method is inherited from a superior class. If I call a method
      defined directly in this class, everything works fine. If I obtain the name of
      the "class" object, I get the correct name.
      It would be nice, if anyone could help me on this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeff292@hotmail.com jeff292
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: