Using a primefaces sheet with property showColumnHeaders set to true (also false)
<pe:sheet id="xxxxxx" ....
showColumnHeaders="true" ...... >
into an application using Filter:
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
HttpServletRequest req = (HttpServletRequest) request;
HttpServletResponse res = (HttpServletResponse) response;
.............
.............
returns at runtime a ServletException error " Setter not found for property showColumnHeaders "
Removing property showColumnHeaders all works ok
Runtime error pe:sheet Primefaces extensions 8.0.4
Hmmm let me inivestigate. it looks like the setter and getters are there.
Code: Select all
public void setShowColumnHeaders(final Boolean value) {
getStateHelper().put(PropertyKeys.showColumnHeaders, value);
}
public boolean isShowColumnHeaders() {
return Boolean.valueOf(getStateHelper().eval(PropertyKeys.showColumnHeaders, true).toString());
}
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
Ahhh I see why its capital "B" not lower b boolean. I will fix for upcoming 10.0.0
See: https://github.com/primefaces-extension ... issues/328
See: https://github.com/primefaces-extension ... issues/328
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests