You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2006/09/06 12:49:23 UTC

[jira] Updated: (VELOCITY-70) public members inherted from non-public classes are not valid references

     [ http://issues.apache.org/jira/browse/VELOCITY-70?page=all ]

Henning Schmiedehausen updated VELOCITY-70:
-------------------------------------------

    Bugzilla Id:   (was: 8651)
    Component/s: Engine
                     (was: Build)
       Assignee:     (was: Velocity-Dev List)

> public members inherted from non-public classes are not valid references
> ------------------------------------------------------------------------
>
>                 Key: VELOCITY-70
>                 URL: http://issues.apache.org/jira/browse/VELOCITY-70
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.5
>         Environment: Operating System: All
> Platform: PC
>            Reporter: jeff292
>         Attachments: velocity_test.zip
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org