Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces Advanced Components
-
Assignee Priority:P1
Description
For the "for" attribute, the generator is generating the variable name (e.g. "forValue") in the meta class as the attribute name for the TLD doc. See ICE-7290 for more details.
Issue Links
- is duplicated by
-
ICE-7104 tabSetProxy "For" attribute should be in lower case
- Closed
Activity
yip.ng
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Environment | * | ICEfaces Advanced Components |
Salesforce Case | [] | |
Component/s | ACE-Components [ 10050 ] | |
Component/s | Components [ 10012 ] | |
Fix Version/s | 2.1 [ 10241 ] | |
Assignee Priority | P1 | |
Affects Version/s | 2.1-Beta [ 10291 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 | P2 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P2 | P1 |
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta2 [ 10294 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Mark Collette
made changes -
The code that generates the TLD file and the Tag classes needed to be updated to look for the specified property name, and if none was specified, fallback to the Meta class' field name. But, only when specifying the property name as a string, or when constructing a getter or setter method name, as direct field names still needed to just be the given field name, as the property name could be a reserved Java keyword, like "for", and so can not be used directly, only indirectly.
Also updated TabSetProxyMeta to specify the name field on the for property's annotation.
Development branch
Subversion 25970
component/src/org/icefaces/ace/component/tab/TabSetProxyMeta.java
generator/src/org/icefaces/ace/generator/artifacts/TagArtifact.java
generator/src/org/icefaces/ace/generator/utils/Utility.java
generator/src/org/icefaces/ace/generator/xmlbuilder/TLDBuilder.java