[ https://issues.apache.org/jira/browse/PIVOT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876790#action_12876790 ]
Appddevvv commented on PIVOT-520: --------------------------------- I'm okay with that but I may not have been clear. The idea was to let the id act as the name only when the id is specified but a name is not. Otherwise, when a name is specified its always the name of course. > add a name property to Component > -------------------------------- > > Key: PIVOT-520 > URL: https://issues.apache.org/jira/browse/PIVOT-520 > Project: Pivot > Issue Type: Improvement > Components: wtk > Reporter: Appddevvv > Priority: Minor > Fix For: 1.6 > > > Add a name property to Component > a) A getter/setter > b) A method to Container for Component getNamedComponent(String componentName) > The name should default to an the wtkx:id if one is specified for that > component or if the name is not specified, null. If a name is specified and > no wtkx:id is specified , it should become the wtkx:id of that component. The > name must be a valid java identifier, otherwise an serialization exception > should be thrown. The name used in the component should be left and right > whitespace trimmed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.