You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/07/06 00:30:03 UTC
DO NOT REPLY [Bug 49555] Custom Taglibs should support all
parameters
https://issues.apache.org/bugzilla/show_bug.cgi?id=49555
--- Comment #1 from james_calfee@yahoo.com 2010-07-05 18:30:00 EDT ---
I have an architecture that uses static inner classes. After about an hour of
trial and error and internet searches, I discovered that I can not use a Static
inner class as a method parameters in my TDL file. This is the error:
org.apache.jasper.JasperException: /WEB-INF/jsp/page.jsp(19,2) The function
listElement cannot be located with the specified prefix
No, it is there. It can't find the parameter:
com.example.MyClass.MyInnerStaticClass
It simply can not find my method. I know I have it correct because I can
replace the static inner class parameter with a top-level class (MyClass). I
can then call my static function.
The more important part of my program relies on static inner classes. There
are a number of them. I did this by design to represent a simple structure
that is best coded in a single file. I'm not changing this part of the
program. Unfortunately, escaping Java code in JSP pages does not mix well with
JSP expression language. Also, I have a decent amount of expression language
code. So, I really need the jasper compiler have basic support for Java
constructs. Can you help please?
I'm using the Google AppEngine SDK 1.3.2. I'm sorry, I do not see the Jasper
version. I only see the apache jasper package name in my exception.
Please let me know if I can help.
Thank,
Jimmy
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org