[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5585) XML property value can't mapping to the java bean field

Tom Fennelly (JIRA) jira-events at lists.jboss.org
Fri Jan 1 12:46:39 EST 2010


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

Tom Fennelly commented on JBIDE-5585:
-------------------------------------

Can you add more detail please Dart?  What do you mean by "the property value" ?  Which one?  

I can see that the age mapping will probably cause issues because of type incompatibility.  The age property on the Person object is an int and the data being bound onto it (project/modelVersion) is not an int value => it will not be able to decode the value before binding.  Bindings not performed at this point will probably be aborted.

> XML property value can't mapping to the java bean field
> -------------------------------------------------------
>
>                 Key: JBIDE-5585
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5585
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: smooks
>    Affects Versions: 3.1.0.CR1
>         Environment: Smooks 1.2.2
>            Reporter: Xue Peng
>            Assignee: Tom Fennelly
>             Fix For: 3.1.0.CR2
>
>         Attachments: Person.java, pom.xml, smooks-config.xml
>
>
> I create a smooks config file to transform the XML file to a Java bean.
> When I run this config file , I found that if I mapping the XML property node to java field , the property value doesn't assign to the java field.

-- 
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