Comments (5)
I also have this issue with DataTableExporter:
protected void exportRow(FacesContext context, DataTable table, int rowIndex) {
if (rowIndex != NO_ROW_INDEX_REQUIRED) {
table.setRowIndex(rowIndex);
if (!table.isRowAvailable()) {
return;
}
}
super.addCells(context, table);
}
This should be addCells(context, table);
at the end of the method instead, to make the addCells
method effectivly overwritable.
from primefaces.
I'll most probably deprecate ExporterUtils and put everything back in TableExporter 😢
from primefaces.
I still have a suggestion for improving this:
I think it would be beneficial if utility methods in TableExporter
were protected, so users can override them individually.
Right now, to have a custom implementation of getComponentValue()
, I have to override both getColumnValue() and addCells()
as well.
Or am I missing something? Sorry for not having noticed that during review.
from primefaces.
They're all public or protected, what am I missing?
from primefaces.
Right. My excuses, I was apparently overthinking this.
It is good enough as it is I guess.
from primefaces.
Related Issues (20)
- AutoComplete no empty message if forceSelection is false or introduce a new attribute showEmptyMessage HOT 7
- Dialog: Position is being reset on scroll HOT 8
- SONAR: enable quality checks on JS/CSS files
- Menu: Provide screen reader compliant navigation for accessibility. HOT 2
- SelectCheckboxMenu: Update accessibility HOT 8
- Core: Do not shade BoundedInputStream
- Dialog: Focus from input lost in very short time after dialog opened HOT 6
- SONAR: Fix JS issues HOT 2
- SONAR: Fix CSS issues HOT 2
- Captcha: command button not working with p:captcha HOT 5
- JDK8: `org.json` dependency causes java version mistatch HOT 4
- SubTable: still alive even after been announced deprecated in 10.0.0 HOT 8
- Integration-tests: move to JakartaEE (10) HOT 6
- FileUpload (advanced): DragAndDrop not working, javascript error HOT 6
- DataTable: Select/unselect all with selectionPageOnly="false" does not work properly HOT 6
- Charts axis ticks are not completely visible HOT 8
- BooleanCheckbox: duplicates ui-state-disabled HOT 3
- Datatable: Values in editable fields not changing after removing rows HOT 3
- Schedule: SelectEvent does not bring the correct time HOT 5
- FileUpload (advanced): Multiple FileUpload - regressions when some files do not meet the limits HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primefaces.