[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5356) Unmapped Java bindings being added to to <bean> configs

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Wed Dec 2 16:40:29 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Fennelly updated JBIDE-5356:
--------------------------------

    Description: 
Bean value/wiring configs are added for all bean properties, even if no mappings were made onto the property.

Example... the <value> config in the following should have a data attribute if a mapping was made onto the property.  No mapping => no data attribute => we should just omit that <value> config.

<jb:bindings beanId="header" class="example.model.Header" createOnElement="json"> 
    <jb:value property="date"/>  
</jb:bindings>

Note... it is not mandatory for a mapping to be made onto a bean property!!


  was:
Bean value/wiring configs are added for all bean properties, even if no mappings were made onto the property e.g.

<jb:bindings beanId="header" class="example.model.Header" createOnElement="json"> 
    <jb:value property="date"/>  
</jb:bindings>

Note... it is not mandatory for a mapping to be made onto a bean property!!




> Unmapped Java bindings being added to to <bean> configs
> -------------------------------------------------------
>
>                 Key: JBIDE-5356
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5356
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>            Reporter: Tom Fennelly
>             Fix For: 3.1.0.CR1, 3.1.0.GA
>
>
> Bean value/wiring configs are added for all bean properties, even if no mappings were made onto the property.
> Example... the <value> config in the following should have a data attribute if a mapping was made onto the property.  No mapping => no data attribute => we should just omit that <value> config.
> <jb:bindings beanId="header" class="example.model.Header" createOnElement="json"> 
>     <jb:value property="date"/>  
> </jb:bindings>
> Note... it is not mandatory for a mapping to be made onto a bean property!!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list