Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6DR#1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:WinXP SP2, Firefox 1.5.0.11, JBoss 4.0.4 GA, JSP component-showcase
-
Workaround Exists:Yes
-
Workaround Description:Use Facelets instead of JSP
Description
In icefaces\component-metadata\src\main\resources\conf there are a bunch of xml files for the components, with <property-class>java.lang.Boolean</property-class> sections.
As well, in some of the components, the property getters and setters do not follow the JSF norm of:
public Boolean getProperty() {
if (property!= null)
return property;
ValueBinding vb = getValueBinding("property");
if (vb != null)
return (Boolean) vb.getValue(getFacesContext());
return Boolean.FALSE;
}
public void setProperty(Boolean property) {
this.property = property;
}
Together, these create a problem for JSP applications that have components tags using these attributes with non-ValueBinding values.
Specifically, the expanded attribute on the panelAccordion component is one, but my searches found more instances of this issue. What's less known is if all of the other primitive attributes share this issue, like java.lang.Integer.
As well, in some of the components, the property getters and setters do not follow the JSF norm of:
public Boolean getProperty() {
if (property!= null)
return property;
ValueBinding vb = getValueBinding("property");
if (vb != null)
return (Boolean) vb.getValue(getFacesContext());
return Boolean.FALSE;
}
public void setProperty(Boolean property) {
this.property = property;
}
Together, these create a problem for JSP applications that have components tags using these attributes with non-ValueBinding values.
Specifically, the expanded attribute on the panelAccordion component is one, but my searches found more instances of this issue. What's less known is if all of the other primitive attributes share this issue, like java.lang.Integer.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.6 [ 10031 ] | |
Affects Version/s | 1.6DR#4 [ 10060 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee Priority | P2 |
Ken Fyten
made changes -
Assignee Priority | P2 | P1 |
Ken Fyten
made changes -
Assignee Priority | P1 | P3 |
Ken Fyten
made changes -
Assignee Priority | P3 | P1 |
Mark Collette
made changes -
Summary | JSP Tags have wrong primitive attribute metadata | panelAccordion.expanded had wrong attribute metadata |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Mark Collette
made changes -
Fix Version/s | 1.6DR#5 [ 10071 ] | |
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Assignee Priority | P1 | |
Affects Version/s | 1.6DR#1 [ 10035 ] | |
Affects Version/s | 1.6DR#4 [ 10060 ] | |
Security | Private [ 10001 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |