[JBoss JIRA] (RF-13450) page attribute on dataScroller doesn't work with a request scope
by Luca Stancapiano (JIRA)
[ https://issues.jboss.org/browse/RF-13450?page=com.atlassian.jira.plugin.s... ]
Luca Stancapiano updated RF-13450:
----------------------------------
Attachment: scrollablesample.zip
I attach a sample project with the problem
> page attribute on dataScroller doesn't work with a request scope
> ----------------------------------------------------------------
>
> Key: RF-13450
> URL: https://issues.jboss.org/browse/RF-13450
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-ScrollableDataTable
> Affects Versions: 4.3.4
> Environment: java 6 on jboss as 7.1
> Reporter: Luca Stancapiano
> Labels: datatable, scrollable
> Attachments: scrollablesample.zip
>
>
> Here the dataTable with a dataScroller:
> <rich:dataScroller for="table" maxPages="5"
> page="#{currentPage.page}" />
> <rich:dataTable value="#{carsBean.allInventoryItems}" var="car"
> id="table" rows="10">
> <rich:column>
> <f:facet name="header">
> <h:outputText value="Vendor " />
> </f:facet>
> <h:outputText value="#{car.vendor}" />
> </rich:column>
> ...
> </rich:dataTable>
> Here the definition of the currentPage bean:
> <managed-bean>
> <managed-bean-name>currentPage</managed-bean-name>
> <managed-bean-class>prova.CurrentPage</managed-bean-class>
> <managed-bean-scope>request</managed-bean-scope>
> </managed-bean>
> Here the currentPage bean:
> package prova;
> import javax.enterprise.context.RequestScoped;
> import javax.inject.Named;
> @Named
> @RequestScoped
> public class CurrentPage {
>
> private int page = 1;
> public int getPage() {
> return page;
> }
> public void setPage(int page) {
> this.page = page;
> }
> }
> the 'page' attribute in the dataScroller configuration doesn't work if set to 'request' scope. The buttons rewind and forward are blocked and it doesn't work. If I configure it with a 'session' scope that's ok
--
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, 11 months
[JBoss JIRA] (RF-13449) rich:fileuload progress not displaying
by Javier Gonzales (JIRA)
Javier Gonzales created RF-13449:
------------------------------------
Summary: rich:fileuload progress not displaying
Key: RF-13449
URL: https://issues.jboss.org/browse/RF-13449
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.3.4
Reporter: Javier Gonzales
On my local environment with IE 9 the progress bar works fine. Once the application is deployed in higher environments then the progress bar does not display at all. I've also noticed this same issue in the showcases with the same browser IE9 (I've tried other browsers and also experiencing the same problem, IE10, Chrome 31.0, etc). After some debugging I've noticed that when the application makes the following request, the response is always 0.
http://showcase.richfaces.org/rfRes/fileUploadProgress.jsf?ln=org.richfac....
--
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, 11 months
[JBoss JIRA] (RF-13442) iterationStatusVar not working in header/footer of extendedDataTable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13442?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13442:
------------------------------------
Looking at the iteration status more closely:
https://github.com/richfaces/richfaces/blob/master/framework/src/main/jav...
The following properties would make sense in the context of the header/footer:
* begin
* end
* count
* rowCount
The following would not make sense
* index
* first
* last
* even
* odd
Having access to the begin, end, count, and rowCount values in the header and footer would indeed make sense. the other properties could just resolve to null.
> iterationStatusVar not working in header/footer of extendedDataTable
> --------------------------------------------------------------------
>
> Key: RF-13442
> URL: https://issues.jboss.org/browse/RF-13442
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha2
> Reporter: Michael Abele
> Assignee: Brian Leathem
> Labels: waiting_on_user
>
> interationStatusVar attribute is available in columns of r:extendedDataTable but not in footer or header part of the table. This would be very useful to display messages like "15 rows loaded" in a table footer.
> Example code:
> {code}
> <r:extendedDataTable values="#{testBean.rows}" interationStatusVar="iter">
> <r:column>#{iter.index}</r:column
> <f:facet name="footer">
> <h:outputText value="#{iter.rowCount} rows loaded." />
> </f:facet>
> </r:extendedDataTable>
> {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
10 years, 11 months
[JBoss JIRA] (RF-13442) iterationStatusVar not working in header/footer of extendedDataTable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13442?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13442:
-------------------------------
Labels: (was: waiting_on_user)
> iterationStatusVar not working in header/footer of extendedDataTable
> --------------------------------------------------------------------
>
> Key: RF-13442
> URL: https://issues.jboss.org/browse/RF-13442
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha2
> Reporter: Michael Abele
> Assignee: Brian Leathem
>
> interationStatusVar attribute is available in columns of r:extendedDataTable but not in footer or header part of the table. This would be very useful to display messages like "15 rows loaded" in a table footer.
> Example code:
> {code}
> <r:extendedDataTable values="#{testBean.rows}" interationStatusVar="iter">
> <r:column>#{iter.index}</r:column
> <f:facet name="footer">
> <h:outputText value="#{iter.rowCount} rows loaded." />
> </f:facet>
> </r:extendedDataTable>
> {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
10 years, 11 months
[JBoss JIRA] (RF-13442) iterationStatusVar not working in header/footer of extendedDataTable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13442?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13442:
-------------------------------
Fix Version/s: 5-Tracking
> iterationStatusVar not working in header/footer of extendedDataTable
> --------------------------------------------------------------------
>
> Key: RF-13442
> URL: https://issues.jboss.org/browse/RF-13442
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha2
> Reporter: Michael Abele
> Assignee: Brian Leathem
> Fix For: 5-Tracking
>
>
> interationStatusVar attribute is available in columns of r:extendedDataTable but not in footer or header part of the table. This would be very useful to display messages like "15 rows loaded" in a table footer.
> Example code:
> {code}
> <r:extendedDataTable values="#{testBean.rows}" interationStatusVar="iter">
> <r:column>#{iter.index}</r:column
> <f:facet name="footer">
> <h:outputText value="#{iter.rowCount} rows loaded." />
> </f:facet>
> </r:extendedDataTable>
> {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
10 years, 11 months
[JBoss JIRA] (RF-13442) iterationStatusVar not working in header/footer of extendedDataTable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13442?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13442:
-------------------------------
Issue Type: Feature Request (was: Bug)
> iterationStatusVar not working in header/footer of extendedDataTable
> --------------------------------------------------------------------
>
> Key: RF-13442
> URL: https://issues.jboss.org/browse/RF-13442
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 5.0.0.Alpha2
> Reporter: Michael Abele
> Assignee: Brian Leathem
> Fix For: 5-Tracking
>
>
> interationStatusVar attribute is available in columns of r:extendedDataTable but not in footer or header part of the table. This would be very useful to display messages like "15 rows loaded" in a table footer.
> Example code:
> {code}
> <r:extendedDataTable values="#{testBean.rows}" interationStatusVar="iter">
> <r:column>#{iter.index}</r:column
> <f:facet name="footer">
> <h:outputText value="#{iter.rowCount} rows loaded." />
> </f:facet>
> </r:extendedDataTable>
> {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
10 years, 11 months
[JBoss JIRA] (RF-13442) iterationStatusVar not working in header/footer of extendedDataTable
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13442?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13442:
-------------------------------
Component/s: component-tables
> iterationStatusVar not working in header/footer of extendedDataTable
> --------------------------------------------------------------------
>
> Key: RF-13442
> URL: https://issues.jboss.org/browse/RF-13442
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 5.0.0.Alpha2
> Reporter: Michael Abele
> Assignee: Brian Leathem
> Fix For: 5-Tracking
>
>
> interationStatusVar attribute is available in columns of r:extendedDataTable but not in footer or header part of the table. This would be very useful to display messages like "15 rows loaded" in a table footer.
> Example code:
> {code}
> <r:extendedDataTable values="#{testBean.rows}" interationStatusVar="iter">
> <r:column>#{iter.index}</r:column
> <f:facet name="footer">
> <h:outputText value="#{iter.rowCount} rows loaded." />
> </f:facet>
> </r:extendedDataTable>
> {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
10 years, 11 months