[JBoss JIRA] (RF-10756) collapsibleSubtable: id set to tbody differs from component id and break rendering.
by H G (JIRA)
[ https://issues.jboss.org/browse/RF-10756?page=com.atlassian.jira.plugin.s... ]
H G commented on RF-10756:
--------------------------
DataTable is one of the most important frequently used components. CollapsibleSubtable adds very nice functionality but is practically useless because of several bugs related to partial updates, breaks filters, etc... All this bugs are very old and targeted to 5-Future. I'd like to see the fixes in the comings releases of RF 5 (alpha 2,3).
> collapsibleSubtable: id set to tbody differs from component id and break rendering.
> -----------------------------------------------------------------------------------
>
> Key: RF-10756
> URL: https://issues.jboss.org/browse/RF-10756
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.0.0.Final
> Reporter: Ilya Shaikovsky
> Assignee: Nick Belaevski
> Fix For: 5-Future
>
>
> added to richfaces-showcase code:
> <rich:column colspan="6">
> <rich:collapsibleSubTableToggler for="sbtbl" />
> <h:outputText value="#{list.vendor}" />
> <a4j:commandButton value="render" render="sbtbl" action="#{carsBean.incDaysLive}">
> </a4j:commandButton>
> </rich:column>
> <rich:collapsibleSubTable value="#{list.vendorItems}" var="item" id="sbtbl"
> expandMode="client">
> <rich:column>
> <h:outputText value="#{item.daysLive}" />
> </rich:column>
> and
> public void incDaysLive(){
> for (InventoryVendorList vendor : inventoryVendorLists) {
> for (InventoryVendorItem item : vendor.getVendorItems()) {
> item.setDaysLive(item.getDaysLive()+1);
> }
>
> }
> }
> do not see values updated before refreshing the browser.
> According to log update came fine for the subtable. just wrapper tbody has different id than specified at component. so it can't be updated.
--
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
10 years, 7 months
[JBoss JIRA] (RF-13372) togglePanel does not work with toggleControl
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13372?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek updated RF-13372:
-----------------------------
Steps to Reproduce:
# deploy metamer and open [this|http://localhost:8080/metamer/faces/components/richTogglePanel/rf-13372.xhtml]
# try to toggle item with any of the links
# have: page is reloaded and item is not switched
# expected: panel is switched by ajax to the chosen item
was:
# deploy metamer and open [this|http://localhost:8080/metamer/faces/components/richTogglePanel/simple.xhtml]
# try to toggle item with any of the links
# have: page is reloaded and item is not switched
# expected: panel is switched by ajax to the chosen item
> togglePanel does not work with toggleControl
> --------------------------------------------
>
> Key: RF-13372
> URL: https://issues.jboss.org/browse/RF-13372
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha2
> Environment: GlassFish 3.1.2.2, AS 7.1.1
> Reporter: Jiří Štefek
> Priority: Blocker
>
> Worked in 4.3.4.Final.
--
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
10 years, 7 months
[JBoss JIRA] (RF-13293) accordion: JS API: bugs of function switchTo()
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13293?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek edited comment on RF-13293 at 11/21/13 11:07 AM:
-------------------------------------------------------------
Same with TogglePanel. Imho with all switchables.
was (Author: jstefek):
Same for TogglePanel. Imho for all switchables.
> accordion: JS API: bugs of function switchTo()
> ----------------------------------------------
>
> Key: RF-13293
> URL: https://issues.jboss.org/browse/RF-13293
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.4, 5.0.0.Alpha1
> Reporter: Jiří Štefek
> Fix For: 4.5-Tracking
>
>
> Bug #1 -- @cycledSwitching
> Cannot switch to next item, when there is a disabled item in the way when @cycledSwitching=false.
> E.g.:When you use function _switchTo(nextItem())_
> * it switches to next item, but
> ** if you use @cycledSwitching=false, then it cannot switch to an item after a disabled item.
> ** if you use @cycledSwitching=true, then it switches to next available item after a disabled item (plus it can cycle through items from beginning).
> ----
> Bug #2 -- result of function _switchTo()_ can be used without params
> Function _switchTo_ can be used without parameters and this behaviour is undocumented. When you use it without parameters (or null) it simply switches to next item.
> The catch: When you use _switchTo(previousItem())_ , you use @cycledSwitching=false and you have first item active, then it switches to next item instead of doing nothing (the _previousItem()_ returns null).
--
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
10 years, 7 months
[JBoss JIRA] (RF-13293) accordion: JS API: bugs of function switchTo()
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-13293?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-13293:
----------------------------------
Same for TogglePanel. Imho for all switchables.
> accordion: JS API: bugs of function switchTo()
> ----------------------------------------------
>
> Key: RF-13293
> URL: https://issues.jboss.org/browse/RF-13293
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.4, 5.0.0.Alpha1
> Reporter: Jiří Štefek
> Fix For: 4.5-Tracking
>
>
> Bug #1 -- @cycledSwitching
> Cannot switch to next item, when there is a disabled item in the way when @cycledSwitching=false.
> E.g.:When you use function _switchTo(nextItem())_
> * it switches to next item, but
> ** if you use @cycledSwitching=false, then it cannot switch to an item after a disabled item.
> ** if you use @cycledSwitching=true, then it switches to next available item after a disabled item (plus it can cycle through items from beginning).
> ----
> Bug #2 -- result of function _switchTo()_ can be used without params
> Function _switchTo_ can be used without parameters and this behaviour is undocumented. When you use it without parameters (or null) it simply switches to next item.
> The catch: When you use _switchTo(previousItem())_ , you use @cycledSwitching=false and you have first item active, then it switches to next item instead of doing nothing (the _previousItem()_ returns null).
--
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
10 years, 7 months