[JBoss JIRA] (RF-10756) collapsibleSubtable: id set to tbody differs from component id and break rendering.
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-10756?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-10756:
-------------------------------
Fix Version/s: (was: 5-Future)
> 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
>
> added to richfaces-showcase code:
> {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>
> {code}
> and
> {code}
> public void incDaysLive(){
> for (InventoryVendorList vendor : inventoryVendorLists) {
> for (InventoryVendorItem item : vendor.getVendorItems()) {
> item.setDaysLive(item.getDaysLive()+1);
> }
>
> }
> }
> {code}
> 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-10756) collapsibleSubtable: id set to tbody differs from component id and break rendering.
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-10756?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-10756:
-------------------------------
Description:
added to richfaces-showcase code:
{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>
{code}
and
{code}
public void incDaysLive(){
for (InventoryVendorList vendor : inventoryVendorLists) {
for (InventoryVendorItem item : vendor.getVendorItems()) {
item.setDaysLive(item.getDaysLive()+1);
}
}
}
{code}
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.
was:
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.
> 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:
> {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>
> {code}
> and
> {code}
> public void incDaysLive(){
> for (InventoryVendorList vendor : inventoryVendorLists) {
> for (InventoryVendorItem item : vendor.getVendorItems()) {
> item.setDaysLive(item.getDaysLive()+1);
> }
>
> }
> }
> {code}
> 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-13374) RichFaces push registered as $.fn.push overrides jQuery function
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13374?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-13374.
-----------------------------
Resolution: Done
> RichFaces push registered as $.fn.push overrides jQuery function
> ----------------------------------------------------------------
>
> Key: RF-13374
> URL: https://issues.jboss.org/browse/RF-13374
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Priority: Blocker
> Fix For: 5.0.0.Alpha2
>
>
> The real cause of an issue mentioned in RF-13359 isn't an invalid implementation of _destroy method (RF-13371), but rather conflict caused by registering $.fn.push function.
> The solution is to rename that jQuery function, e.g. {{$.fn.richfacespush}} or namespace it in other way (e.g. {{$.fn.rf.push}} - question is how it would be called then). Let's investigate further how we can namespace our jQuery plugins.
--
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-13374) RichFaces push registered as $.fn.push overrides jQuery function
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13374?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13374:
------------------------------------
+1 for _richpush_
> RichFaces push registered as $.fn.push overrides jQuery function
> ----------------------------------------------------------------
>
> Key: RF-13374
> URL: https://issues.jboss.org/browse/RF-13374
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-push/poll
> Affects Versions: 5.0.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Priority: Blocker
> Fix For: 5.0.0.Alpha2
>
>
> The real cause of an issue mentioned in RF-13359 isn't an invalid implementation of _destroy method (RF-13371), but rather conflict caused by registering $.fn.push function.
> The solution is to rename that jQuery function, e.g. {{$.fn.richfacespush}} or namespace it in other way (e.g. {{$.fn.rf.push}} - question is how it would be called then). Let's investigate further how we can namespace our jQuery plugins.
--
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