Hi,

I've tried this, and I must have got something wrong  ... I have tried 2 ways 
(below) .... and either way my values are ignored.

Option 1.
 [xmbean]
   ....
   [attribute access='read-write' getMethod='getId' setMethod='setId']
      [description]MBean Attribute.[/description]
      [name]Id[/name]
      [type]java.lang.String[/type]
       myValueGoesHere
   [/attribute]
   ...
  [/xmbean]


and ... Option 2.
 [xmbean]
   ....
   [attribute access='read-write' getMethod='getId' setMethod='setId']
      [description]MBean Attribute.[/description]
      [name]Id[/name]
      [type]java.lang.String[/type]
        [descriptors]
          [default value="myValueGoesHere"/]
        [/descriptors]
   [/attribute]
   ...
  [/xmbean]

(of course, using correct XML tags).

Any idea what I got wrong?

As I said, setting it outside the xmbean tag worked but then screws up the 
persistence.

Thanks

Chris


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983868#3983868

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983868
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to