tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan M Rawson (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2110) No support for T3 links
Date Fri, 01 Feb 2008 19:49:08 GMT
No support for T3 links
-----------------------

                 Key: TAPESTRY-2110
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2110
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 5.0.9
         Environment: eclipse, jetty, vista business
            Reporter: Evan M Rawson
             Fix For: 5.0.10


when using t3 links with service parameters the UTF-8 parser complains and doesn't let you
use the absolute links

example

www.mydomain.com/app?service=direct/1/UserListInventory/$BorderUser.$UserNav.userSiteInventoryEditLink&sp=Sedit

gives this error

org.apache.tapestry.ioc.internal.util.TapestryException
Failure parsing template classpath:com/americanadtrader/tenk/pages/Sitemap.tml: The entity
"sp" was referenced, but not declared.

        * com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
        * org.apache.tapestry.internal.services.TemplateParserImpl.parseTemplate(TemplateParserImpl.java:212)
        * org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:140)
        * org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:122)
        * org.apache.tapestry.internal.services.PageLoaderProcessor.loadTemplateForComponent(PageLoaderProcessor.java:431)
        * org.apache.tapestry.internal.services.PageLoaderProcessor.workComponentQueue(PageLoaderProcessor.java:808)
        * org.apache.tapestry.internal.services.PageLoaderProcessor.loadPage(PageLoaderProcessor.java:393)
        * org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(PageLoaderImpl.java:60)
        * org.apache.tapestry.internal.services.PagePoolCache.checkout(PagePoolCache.java:188)
        * org.apache.tapestry.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:107)
        * org.apache.tapestry.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:43)
        * org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:47)
        * org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:66)
        * org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:924)
        * com.americanadtrader.tenk.services.AppModule$1.service(AppModule.java:80)
        * org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
        * org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:516)
        * org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:491)
        * org.apache.tapestry.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:53)
        * org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
        * org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
        * org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
        * org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
        * org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:106)
        * org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:904)
        * org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:164)
        * org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        * org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        * org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        * org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        * org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
        * org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
        * org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        * org.mortbay.jetty.Server.handle(Server.java:324)
        * org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        * org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        * org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        * org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        * org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        * org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        * org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)


the html/UTF parser should ignore text within href, onclick, onblur, onmouseover,etc.... attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message