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

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Thu Dec 3 14:04:29 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-5356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498089#action_12498089 ] 

Tom Fennelly commented on JBIDE-5356:
-------------------------------------

Outlined in the "Workaround Description" field at the top ;)

> 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
>            Assignee: Xue Peng
>             Fix For: 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