[ 
https://issues.jboss.org/browse/RF-10112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ilya Shaikovsky reopened RF-10112:
----------------------------------

      Assignee: Nick Belaevski  (was: Alex Kolonitsky)


parent is null
http://localhost:8080/panels-demo/javax.faces.resource/togglePanelItem.js.jsf?ln=org.richfaces
Line 130

today after update.

code:

        <h:form>
                <a4j:region>
                <rich:panel style="width:500px">
                        <h:selectOneRadio value="#{cityTabBean.city}"
                                valueChangeListener="#{cityTabBean.changeCity}">
                                <f:selectItem itemLabel="New York" 
itemValue="nyc" />
                                <f:selectItem itemLabel="San Francisco" 
itemValue="sf" />
                                <f:selectItem itemLabel="Los Angeles" 
itemValue="la" />
                                <a4j:ajax event="change" render="cityTabs 
@this" />
                        </h:selectOneRadio>
                </rich:panel>
                </a4j:region>
                <rich:panel style="width:500px" id="cityTabs" 
header="rich:tabPanel and rich:tab">
                        <rich:tabPanel switchType="ajax" 
                                activeItem="#{cityTabBean.selectedTab}">
                                <rich:tab header="New York City" name="nyc">
                  Statue of Liberty
              </rich:tab>
                                <rich:tab header="San Francisco" name="sf">
                  Golden Gate Bridge
              </rich:tab> 
                                <rich:tab header="Los Angeles" name="la">
                  Hollywood
              </rich:tab>
                        </rich:tabPanel> 
                </rich:panel>
        </h:form>

tried different options with the same result,

> tabPanel: destroy failed on ajax render
> ---------------------------------------
>
>                 Key: RF-10112
>                 URL: https://issues.jboss.org/browse/RF-10112
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes
>    Affects Versions: 4.0.0.Milestone5
>            Reporter: Ilya Shaikovsky
>            Assignee: Nick Belaevski
>            Priority: Critical
>             Fix For: 4.0.0.CR1
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> I'm trying to perform render="chatPanel". and that panel contains tabPanel 
> inside.
> If will not be reproducable - consider that I'm adding tabs dynamically using 
> forEach. (not sure if important as all other functionality works just fine.)
> tab.js
> destroy: function () {
> 139 var parent = this.getTogglePanel();
> 140 delete parent.getItems()[this.index]; 
> parent is null
> http://localhost:8080/richfaces-showcase/javax.faces.resource/tab.js.jsf?ln=org.richfaces
> Line 140

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to