Comments (14)
Reported by @edburns
from javaserverfaces-spec.
@edburns said:
move to p4
from javaserverfaces-spec.
@edburns said:
Give to Roger.
from javaserverfaces-spec.
rogerk said:
Adam Winer wrote:
Roger Kitain wrote:
Adam Winer wrote:
-1; I'd suggest instead adding "headerClass" and "footerClass" to
<h:column>.I don't have a problem with this except for this question..
Did you intend "headerClass"/"footerClass" to be properties on the
UIColumn component? "headerClass"/"footerClass" are today are renderer
dependent attributes. And, we don't have a renderer for UIColumn.These would definitely be renderer-specific properties, and imply
the existence of an HtmlColumn subclass. TableRenderer could still
render the UIColumns on their behalf (including getting these
properties, or you could move the rendering of , etc.) down
to the ColumnRenderer. Which way you do it is at least partly
an implementation decision, but the latter's a bit better since
it would let someone write an alternative column renderer.– Adam
I've taken the approach of generating an HtmlColumn subclass.
TableRenderer renders the UIColumns (as it does today), and it gets
the "headerClass"/"footerClass" properties from each column.
example:
<h:dataTable......
<h:column headerClass="column-header" footerClass="column-footer".....
By default, the "headerClass"/"footerClass" at the "dataTable" level would
also be used at the column level (as it is done today), but specifying
"headerClass"/footerClass" at the column level overrides it.
-roger
SECTION: Modified Files
M jsf-api/doc/standard-html-renderkit-base.xml
M jsf-api/doc/standard-html-renderkit.xml
— added entry for HtmlColumn
— included column-props.xml
M jsf-ri/src/com/sun/faces/renderkit/html_basic/TableRenderer.java
— for each child column, render the headerClass/footerClass column
attributes (if present); Otherwise default to the table level
headerClass/footerClass (if present)
M jsf-ri/src/com/sun/faces/taglib/html_basic/ColumnTag.java
— add headerClass/footerClass properties; include in setProperties method.
M jsf-ri/web/test/RenderResponse_correct
— new golden file for test
M jsf-ri/web/test/TestRenderResponsePhase.jsp
— include h:dataTable with two nested columns
M jsf-tools/conf/TAG-DEF-12.txt
M jsf-tools/conf/TAG-DEF-21.txt
— include headerClass/footerClass attributes
A jsf-api/doc/column-props.xml
— new properties for "column" (headerClass/footerClass)
from javaserverfaces-spec.
rogerk said:
Created an attachment (id=13)
Change bundle for this issue.
from javaserverfaces-spec.
@edburns said:
RK> SECTION: Modified Files
RK> ----------------------------
RK> M jsf-api/doc/standard-html-renderkit-base.xml
RK> M jsf-api/doc/standard-html-renderkit.xml
RK> — added entry for HtmlColumn
RK> — included column-props.xml
Ok.
RK> M jsf-ri/src/com/sun/faces/renderkit/html_basic/TableRenderer.java
RK> — for each child column, render the headerClass/footerClass column
RK> attributes (if present); Otherwise default to the table level
RK> headerClass/footerClass (if present)
Ok.
RK> M jsf-ri/src/com/sun/faces/taglib/html_basic/ColumnTag.java
RK> — add headerClass/footerClass properties; include in setProperties method.
RK>
OK. We have to remember to convert these to the new setter type of
a javax.el.Expression subclass.
RK> M jsf-ri/web/test/RenderResponse_correct
RK> — new golden file for test
RK> M jsf-ri/web/test/TestRenderResponsePhase.jsp
RK> — include h:dataTable with two nested columns
RK> M jsf-tools/conf/TAG-DEF-12.txt
RK> M jsf-tools/conf/TAG-DEF-21.txt
RK> — include headerClass/footerClass attributes
RK>
RK> A jsf-api/doc/column-props.xml
RK> — new properties for "column" (headerClass/footerClass)
Are we sure that it's space separated, and not comma delimited? If so,
r=edburns.
Ed
from javaserverfaces-spec.
rogerk said:
checked in.
from javaserverfaces-spec.
@edburns said:
Prepare to delete "spec" subcomponent.
from javaserverfaces-spec.
@edburns said:
Move all to 1.2
from javaserverfaces-spec.
@manfredriem said:
Closing resolved issue out
from javaserverfaces-spec.
File: issue-4.zip.gz
Attached By: rogerk
from javaserverfaces-spec.
Was assigned to rogerk
from javaserverfaces-spec.
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-4
from javaserverfaces-spec.
Marked as fixed on Thursday, March 4th 2010, 6:09:29 am
from javaserverfaces-spec.
Related Issues (20)
- CDI shortcut for search expressions HOT 2
- ActionListener and PhaseListener declared in Facelet: Injectable or not? HOT 1
- ProtectedViewException for a protectedview access while checking the OriginHeader HOT 1
- JSF 2.3 Table 5-3 JSF artifacts eligible for injection - Constructor Injection - Not supported HOT 1
- 11.4.6 should specify "search-expression-context-factory" rather than "search-expression-context-kit-factory" HOT 1
- wrong link to Mojarra on spec front page HOT 1
- JSF 2.3 spec section 2.5.2.1 typo HOT 1
- ResourceVisitOption.TOP_LEVEL_VIEWS_ONLY clarification HOT 1
- Add PartialResponseWriterWrapper HOT 3
- StringIndexOutOfBoundsException when using jsf 2.3.3 on tomcat 9.0.2 HOT 2
- Determine url of h:outputLink at click time HOT 4
- Implement cc:insertPassthroughAttributes HOT 1
- importConstants should be allowed everywhere, not only in f:metadata HOT 3
- JSF 2.3 with Java 10&11 not recognizing generic types with f:viewParam HOT 2
- Make javascript functions created by h:commandScript return a Promise HOT 1
- javax.faces.annotation.ManagedProperty websocket event incompatibility HOT 2
- Protected View Exception
- Change locale is not working HOT 1
- Replace "fat" XML responses with modern JSON/RESTful responses HOT 2
- typo in webpage HOT 2
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 javaserverfaces-spec.