-
1. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
sergeysmirnov Jul 17, 2007 3:32 PM (in response to henrik.lindberg)I have a look at both 3.0.2 and 3.1.0 (trunk) code base:
http://anonsvn.jboss.org/repos/richfaces/trunk/ui/datascroller/src/main/templates/org/richfaces/htmlDatascroller.jspx
The output should not be the same as you provide:<div id="#{clientId}" x:passThruWithExclusions="value,name,type,id,styleClass" class="dr-dscr rich-datascr #{component.attributes['styleClass']}">
As you see, the first attribute should be id, then class. styleClass is included into passThruWithExclusions list. This mean it should not be included once more.
So, most likely it was the bug that fixed. -
2. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
henrik.lindberg Jul 17, 2007 4:46 PM (in response to henrik.lindberg)ok, thanks
-
3. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
henrik.lindberg Jul 17, 2007 5:45 PM (in response to henrik.lindberg)well, I updated to 3.0.2 0717-000226-30 and now the renderedIfSinglePage = false is broken
I also have problems when switching between a data set with pages, and one that is empty (or only one page), as the previously rendered datascroller remains. Refreshing the page, (or selecting the empty set again) cures the problem. When going the other way (from an empty set, to something with several pages), the datascroller updates ok. -
4. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
henrik.lindberg Jul 17, 2007 6:00 PM (in response to henrik.lindberg)And,
the original problem was not fixed in that release!
Still get this output:
<div class="dr-dscr rich-datascr SearchResultPaginator" id="search-result-form:paginator" class="SearchResultPaginator"
I am setting this like this
styleClass="#{styleClass}" if it makes a difference -
5. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
sergeysmirnov Jul 17, 2007 6:06 PM (in response to henrik.lindberg)may be the old library installed in the same Jboss still works?
-
6. Re: rich:datascroller, seam 2.0 Beta, styleClass - error
henrik.lindberg Jul 18, 2007 5:53 PM (in response to henrik.lindberg)"SergeySmirnov" wrote:
may be the old library installed in the same Jboss still works?
Yeah, I can go back to a point when this worked, but then other things don't. My solution is to wrap the paginator in a div, and then apply style via the div. So I am ok for now, but it is still an issue that needs fixing.