myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (TOBAGO-315) Support for Facelets Tag <ui:repeat>
Date Thu, 07 Dec 2017 10:07:00 GMT

     [ https://issues.apache.org/jira/browse/TOBAGO-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Udo Schnurpfeil resolved TOBAGO-315.
------------------------------------
    Resolution: Fixed

It seems, this issue is outdated...

<ui:repeat> should be working correctly since Tobago 3. 
For Tobago 2 I'm not sure, but it should work except for layout-manager.

> Support for Facelets Tag <ui:repeat>
> ------------------------------------
>
>                 Key: TOBAGO-315
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-315
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Facelets
>    Affects Versions: 1.0.11
>         Environment: I used Tomcat 5.5 from Netbeans with Tobago 1.0.11, Facelets 1.1.11
and MyFaces 1.1.5 
>            Reporter: David Steinkopff
>            Assignee: Udo Schnurpfeil
>
> -- face.xhtml ---
> <f:view xmlns:f="http://java.sun.com/jsf/core"
>         xmlns:ui=" http://java.sun.com/jsf/facelets"
>         xmlns:tc="http://myfaces.apache.org/tobago/component"
>         xmlns:tx=" http://myfaces.apache.org/tobago/facelet-extension">
> <tc:page>
> <ui:repeat value="#{testController.birds}" var="bird">
>                 <tc:out value="#{bird}" />
> </ui:repeat>
> </tc:page>
> </f:view>
> --- end ---
> My configuration
> web.xml, tobago-config.xml and faces-config.xml 
> only modified by facelets prefix xml to xhtml
> give me following error message
> ---
> An Error Occurred:
> Don't find any RendererClass for facelets.ui.RepeatRenderer. Please check you configuration.
> +- Stack Trace
> java.lang.RuntimeException: Don't find any RendererClass for facelets.ui.RepeatRenderer.
Please check you configuration.
>     at org.apache.myfaces.tobago.context.ResourceManagerImpl.getRenderer (ResourceManagerImpl.java:399)
>     at org.apache.myfaces.tobago.renderkit.TobagoRenderKit.getRenderer(TobagoRenderKit.java:61)
>     at org.apache.myfaces.tobago.component.ComponentUtil.getRenderer(ComponentUtil.java:429)
>     at org.apache.myfaces.tobago.component.ComponentUtil.getRenderer(ComponentUtil.java:411)
>     at org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.createCssClass(HtmlRendererUtil.java:133)
>     at org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.prepareRender (HtmlRendererUtil.java:109)
>     at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.prepareRender(DefaultLayoutRenderer.java:40)
>     at org.apache.myfaces.tobago.renderkit.RenderUtil.encode (RenderUtil.java:73)
>     at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.encodeChildrenOfComponent(DefaultLayoutRenderer.java:47)
>     at org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent (UILayout.java:71)
>     at org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.PageRenderer.encodeEnd(PageRenderer.java:126)
>     at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
>     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
>     at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
>     at com.sun.facelets.FaceletViewHandler.renderView (FaceletViewHandler.java:580)
>     at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
>     at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
>     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173)
>     at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
:202)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>     at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:178)
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>     at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107)
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
(Http11BaseProtocol.java:664)
>     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java
:80)
>     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>     at java.lang.Thread.run(Thread.java:595)
> +- Component Tree
> <UIViewRoot clientProperties="org.apache.myfaces.tobago.context.ClientProperties@34a1c8
" locale="de" renderKitId="tobago" rendered="true" transient="false" viewId="/face.xhtml">
>     <UIPage height="768" id="_id0" rendered="true" submitted="false" transient="false"
width="1024">
>         <UIRepeat id="_id1" offset="0" rendered="true" size="-1" transient="false"
var="bird">
>             <UIOutput createSpan="true" escape="true" id="_id2" markup="[ Ljava.lang.String;@1696e4c"
rendered="true" transient="false"/>
>         </UIRepeat>
>     </UIPage>
> </UIViewRoot>
> ---



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message