[jira] Commented: (PIVOT-520) add a name property to Component

2010-06-09 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877063#action_12877063 ] Greg Brown commented on PIVOT-520: -- If IDs in XAML get translated to variable names, then t

RE: [jira] Commented: (PIVOT-520) add a name property to Component

2010-06-09 Thread aappddeevv
Yes. Have read that. I have a hunch we are thinking similarly but using different ways of describing it. My chunky responses don't help. -Original Message- From: Greg Brown (JIRA) [mailto:j...@apache.org] Sent: Wednesday, June 09, 2010 8:46 AM To: dev@pivot.apache.org Subject: [jira] Com

Re: Component names inside the containers

2010-06-09 Thread Greg Brown
I have prototyped this change - see attached patch. Let me know if this is consistent with what you are envisioning. I added a static findAnnotation() method to BeanAdapter. WTKXSerializer uses this method to locate an IDProperty annotation and, if present, uses the value to set the given proper

[jira] Updated: (PIVOT-520) add a name property to Component

2010-06-09 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Brown updated PIVOT-520: - Attachment: PIVOT-520.patch > add a name property to Component > > >

[jira] Commented: (PIVOT-514) create an annotation to specify the default "child" property of a component used by the serializer to attach children objects

2010-06-09 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877180#action_12877180 ] Greg Brown commented on PIVOT-514: -- Any chance you could try to regenerate this patch? It i

[jira] Issue Comment Edited: (PIVOT-514) create an annotation to specify the default "child" property of a component used by the serializer to attach children objects

2010-06-09 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877180#action_12877180 ] Greg Brown edited comment on PIVOT-514 at 6/9/10 3:59 PM: -- Is it po

RE: [jira] Issue Comment Edited: (PIVOT-514) create an annotation to specify the default "child" property of a component used by the serializer to attach children objects

2010-06-09 Thread aappddeevv
I'll try. I may be able to hand edit. -Original Message- From: Greg Brown (JIRA) [mailto:j...@apache.org] Sent: Wednesday, June 09, 2010 4:01 PM To: dev@pivot.apache.org Subject: [jira] Issue Comment Edited: (PIVOT-514) create an annotation to specify the default "child" property of a co

[jira] Updated: (PIVOT-514) create an annotation to specify the default "child" property of a component used by the serializer to attach children objects

2010-06-09 Thread Appddevvv (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Appddevvv updated PIVOT-514: Attachment: defaultpropertypatch.zip Updated patch. The WTKXSerializer are patch notes not a real patch but

RE: [jira] Commented: (PIVOT-514) create an annotation to specify the default "child" property of a component used by the serializer to attach children objects

2010-06-09 Thread aappddeevv
I tried but could not figure out how to reinstate the original file. There were only actually 5-6 six lines that were added (in addition to some static methods). I added @Inherited on the annotation as pointed out in another post to DefaultProperty. The serializer patch (3-4 lines) are exclusive

RE: Component names inside the containers

2010-06-09 Thread aappddeevv
We'll after looking this over I'm not sure that this implements my thinking although I believe that I understand Dirk's comments now. I think I saw: a) The IDProperty annotation indicates which property the id/name should be placed into. b) The default for a Component is "name" but it could be ove