Re: Taglib bug?
On Mon, 14 May 2001, Joseph B. Ottinger wrote: As one who's done quite a bit with taglibs on Orion, I've never seen this kind of behavior at all. Ever. Any version. (Bugs with it, sure - but that was related to tag instantiation and not location.) More information? Samples? Here's a snippet: %@ taglib uri=fetcher prefix=ftcr % %@ taglib uri=ext prefix=ext % %@ taglib uri=common prefix=common % %@ page language=java import=org.apache.oro.text.regex.*,java.util.*,java.text.* % ftcr:page blah blah /ftcr:page % String foo = newscontent; common:iterate id=match type=org.apache.oro.text.regex.MatchResult collection=%= foo % Generates: Error parsing JSP page /pec/open/testfetch.jsp line 43 No tag named 'iterate' found in tag-library file:/home/maxxon/orion/applications/pec/pecportal/WEB-INF/lib/fetcher.jar Tomcat handles the WAR just fine. //Mikko
Re: Taglib bug?
All I can think of is that you have common mapped to the fetcher jar. You do close that tag starting with %String don't you? [EMAIL PROTECTED] 05/15/01 06:21pm On Mon, 14 May 2001, Joseph B. Ottinger wrote: As one who's done quite a bit with taglibs on Orion, I've never seen this kind of behavior at all. Ever. Any version. (Bugs with it, sure - but that was related to tag instantiation and not location.) More information? Samples? Here's a snippet: %@ taglib uri=fetcher prefix=ftcr % %@ taglib uri=ext prefix=ext % %@ taglib uri=common prefix=common % %@ page language=java import=org.apache.oro.text.regex.*,java.util.*,java.text.* % ftcr:page blah blah /ftcr:page % String foo = newscontent; common:iterate id=match type=org.apache.oro.text.regex.MatchResult collection=%= foo % Generates: Error parsing JSP page /pec/open/testfetch.jsp line 43 No tag named 'iterate' found in tag-library file:/home/maxxon/orion/applications/pec/pecportal/WEB-INF/lib/fetcher.jar Tomcat handles the WAR just fine. //Mikko
Taglib bug?
I TRIED looking in Bugzilla first, but couldn't find anything... I have a JSP page referring to several taglibs. However, Orion seems to 'lock' the taglib reference to the first encountered JAR and therefore refuses to find subsequent tags in other taglib jars. I'm using 1.4.0 -- has this been fixed later? This 'lock' works even across pages, i.e. if I first view a page referring to taglib A and then another page referring to taglib B, Orion complains that tag B:b isn't found in A.jar! //Mikko
Re: Taglib bug?
As one who's done quite a bit with taglibs on Orion, I've never seen this kind of behavior at all. Ever. Any version. (Bugs with it, sure - but that was related to tag instantiation and not location.) More information? Samples? --- Joseph B. Ottinger [EMAIL PROTECTED] http://winter.ajacency.com/ IT Consultant
Re: Taglib bug?
Hello Mikko, I'm using 1.4.5 and everything is working fine. Perhaps is a problem in deployment files? -- Best regards, Rafaelmailto:[EMAIL PROTECTED]
Re: TagLib Bug?
Hello Dave, Something's weird with your Orion installation or version, the class you're referring to is an old class (pre-JSP 1.1 final), Orion does not use this class anymore (as it's not in the spec anymore). Does this appear for you using the latest official version? (That is 0.9.4) /Karl DaveFord wrote: I have been trying to get the taglib feature to work. But it does not work. It keeps telling me it can't find a class called javax.servlet.jsp.JspError. I noticed in the archives, that a few others on the list have reported the same problem. Upon further inspection, I found out that javax.servlet.jsp.JspError does not exist! But some Orion class obviously is looking for javax.servlet.jsp.JspError. So I created a dummy class called javax.servlet.jsp.JspError and now it works. Is this a bug or am I crazy? Dave Ford