[JBoss JIRA] (RF-12689) Upgrade Atmosphere from 1.0.1 to 1.0.10
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12689?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12689:
---------------------------------
QE: please give a push functionality special attention and verify that works across all supported containers
> Upgrade Atmosphere from 1.0.1 to 1.0.10
> ---------------------------------------
>
> Key: RF-12689
> URL: https://issues.jboss.org/browse/RF-12689
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: build/distribution, component-push/poll
> Affects Versions: 4.3.0.M3
> Reporter: Juergen Zimmermann
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> 4.3.0.M3 still uses Atmosphere 1.0.1. However, there is 1.0.7 (or even 1.1.0.beta2)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (RF-10945) TabPanel without any Tab: NullPointerException in AbstractTabPanel.getActiveItem()
by Lutz Ulrich (JIRA)
[ https://issues.jboss.org/browse/RF-10945?page=com.atlassian.jira.plugin.s... ]
Lutz Ulrich commented on RF-10945:
----------------------------------
To me it seems, this bug has been implicitly fixed in RichFaces 4.3.0.Final .
> TabPanel without any Tab: NullPointerException in AbstractTabPanel.getActiveItem()
> ----------------------------------------------------------------------------------
>
> Key: RF-10945
> URL: https://issues.jboss.org/browse/RF-10945
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.Final
> Reporter: Lutz Ulrich
> Fix For: 5-Future
>
>
> Hello,
> when removing the last UITab child from UITabPanel (via AJAX request) a NullPointerException is thrown by AbstractTabPanel.getActiveItem() when re-rending the UITabPanel:
> getFirstItem().getName() => cannot work since getFirstItem() returns null
> There should be no errors when the UITabPanel is empty.
> I fixed that in my local 'copy' of AbstractTabPanel by checking if getFirstItem() returns null. If it is null, getActiveItem() returns null, too.
> Seems to work for me. But I didn't do much testing on that, yet.
> public String getActiveItem() {
> String res = super.getActiveItem();
> if (res == null) {
>
> // L. Ulrich, 21.04.2011
> // original code
> //res = getFirstItem().getName();
> // fixed code:
> AbstractTogglePanelItemInterface firstItem = getFirstItem();
> if (firstItem != null)
> {
> res = firstItem.getName();
> }
> // end of fixed code
> } else {
> AbstractTogglePanelTitledItem item =
> (AbstractTogglePanelTitledItem) super.getItemByIndex(super.getChildIndex(res));
> if (item.isDisabled()) {
> res = getFirstItem().getName();
> }
> }
> return res;
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (RF-12789) TabPanel error after partial update with new tab
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12789?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč reassigned RF-12789:
-------------------------------
Assignee: Lukáš Fryč
> TabPanel error after partial update with new tab
> ------------------------------------------------
>
> Key: RF-12789
> URL: https://issues.jboss.org/browse/RF-12789
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.CR2
> Environment: Mojarra 2.1.17, Tomcat 7.0.22, Java 1.7, Windows 7
> Reporter: Lutz Ulrich
> Assignee: Lukáš Fryč
> Labels: Tab, TabPanel, dynamical-add
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Adding tabs dynamically (programatically) in partial requests results in errors.
> The JavaScript code for all TabPanels and their child Tabs is added to HTML <body> using JavaScriptService.addScript(FacesContext, S), see DivPanelRenderer.writeJavaScript(), TabRenderer.doEncodeItemEnd() and TabRenderer.doEncodeEnd().
> The top-level <script> element in <body> won't be updated if a new Tab is added dynamically in a partial request. Thus, the script, new RichFaces.ui.Tab(...), for the new Tab is missing.
> Similar problems arise if a TabPanel is added in a partial request.
> All scripts, RichFaces.ui.Tab(...) and RichFaces.ui.TabPanel(...) should be rendered inline for partial update to work with new TabPanels and new Tabs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12765:
----------------------------
Sprint: 4.3.1 Sprint - Critical + tabs
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 7 months