[JBoss JIRA] Created: (RF-8898) CDK could generate object names that conflict with Java keywords.
by Alexander Smirnov (JIRA)
CDK could generate object names that conflict with Java keywords.
-----------------------------------------------------------------
Key: RF-8898
URL: https://jira.jboss.org/browse/RF-8898
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CDK
Reporter: Alexander Smirnov
Assignee: Alexander Smirnov
Fix For: 4.0.0.Milestone1
Attachments: generator.patch.zip
CDK creates enum for attributes referenced in the property getters/setters. If attribute name coincides with Java keyword, generated Java class couldn't be compiled.
Mojarra uses a little bit more complicated enum class for these cases, so CDK has to do the same:
enum PropertyKeys {
forValue("for"),
showDetail,
showSummary,
redisplay;
String toString;
PropertyKeys(String toString) {
this.toString = toString;
}
PropertyKeys() {
}
public String toString() {
return ((this.toString != null) ? this.toString : super.toString());
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (RF-8922) RF4.0: DataScroller - class names for buttons
by Lukas Fryc (JIRA)
RF4.0: DataScroller - class names for buttons
----------------------------------------------
Key: RF-8922
URL: https://jira.jboss.org/browse/RF-8922
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: component, component-tables
Affects Versions: 4.0.0.Alpha2
Reporter: Lukas Fryc
It will be nice to have also class names for exact selection of such buttons, instead you have to use CSS3 selectors (such as :nth-child, :first, :last) to select such elements, but this isn't straightforward if you disable some buttons.
I suggest use new class names, such as rf-ds-f, rf-ds-fr, rf-ds-ff, rf-ds-l.
Read more at: http://community.jboss.org/thread/153989
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years