myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Steinkopff (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOBAGO-327) <tx:in> from "http://myfaces.apache.org/tobago/facelet-extension" generate duplicated ids
Date Mon, 19 Mar 2007 09:22:32 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482035
] 

David Steinkopff commented on TOBAGO-327:
-----------------------------------------

With MyFaces 1.1.5 no problems.
My problem with ajax in tobago is with MyFaces also solved by the way. 

> <tx:in> from "http://myfaces.apache.org/tobago/facelet-extension" generate duplicated
ids
> -----------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-327
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-327
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.11
>         Environment: Windows 2000, Netbeans 5.5, Tomcat 5.5, Facelets 1.1.11, Tobago
1.0.10 and 1.0.11, JSF RI 1.1
>            Reporter: David Steinkopff
>            Priority: Minor
>
> --- text.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 id="pageid">
>         <f:facet name="layout">
>             <tc:gridLayout rows="1*;1*" id="gridid" />
>         </f:facet>      
>         <tx:in id="inid" label="label"  />
>         <tc:button label="destroy" id="destroy"/>
>     </tc:page>
> </f:view>
> --- end ---
> if I click on "destory" and than came following error
> ---
> An Error Occurred:
> Duplicate component ID 'pageid:_id0' found in view.
> +- Stack Trace
> java.lang.IllegalStateException: Duplicate component ID 'pageid:_id0' found in view.
> 	at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:191)
> 	at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
> 	at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
> 	at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:85)
> 	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:601)
> 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> 	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@1e5627c"
locale="de_DE" renderKitId="tobago" rendered="true" transient="false" viewId="/test.xhtml">
>     <UIPage actionId="pageid:destroy" height="808" id="pageid" rendered="true" submitted="true"
transient="false" width="1280">
>         layout
>         <UIGridLayout id="gridid" ignoreFree="false" rendered="true" rows="1*;1*"
transient="false"/>
>         <UIPanel id="_id0" rendered="true" transient="false">
>             layout
>             <UIGridLayout columns="fixed;*" id="_id0" ignoreFree="false" rendered="true"
transient="false"/>
>             <UILabel id="_id2" rendered="true" transient="false" value="label"/>
>             <UIInput id="_id3" immediate="false" localValueSet="false" markup="[Ljava.lang.String;@270664"
password="false" readonly="false" rendered="true" required="false" transient="false" valid="true"
value=""/>
>         </UIPanel>
>         <UIButtonCommand defaultCommand="false" disabled="false" id="destroy" immediate="false"
markup="[Ljava.lang.String;@14b43d" rendered="true" renderedPartially="[Ljava.lang.String;@1454f68"
transient="false" transition="true"/>
>     </UIPage>
> </UIViewRoot>
> ---
> the problem is <tx:in> generated id of panel and gridlayout when a simple button
make a request. only a tomcat reload in netbeans reset the error message.
> non error came by <tc:in>.

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


Mime
View raw message