This content has been marked as final.
Show 5 replies
-
1. Re: property of type org.w3c.dom.Element
alesj Dec 16, 2006 6:29 PM (in response to kagey)What about if you try?
<property name="fakeProp"> <value> <config> ... </config> <value> </property>
-
2. Re: property of type org.w3c.dom.Element
kagey Dec 18, 2006 8:48 AM (in response to kagey)Caused by: org.jboss.xb.binding.JBossXBRuntimeException:
{urn:jboss:bean-deployer:2.0}plainValueType type of element
{urn:jboss:bean-deployer:2.0}value should be complex and contain
{urn:jboss:bean-deployer:2.0}config as a child element. -
3. Re: property of type org.w3c.dom.Element
alesj Dec 18, 2006 8:55 AM (in response to kagey)What if you have one supplying bean that would register PropertyEditor before (via PropertyEditorManager).
And currently you use [config], and write PE accordingly to this.
Just an idea .... (or small tmp hack :-) -
4. Re: property of type org.w3c.dom.Element
alesj Jan 10, 2007 5:49 AM (in response to kagey)What about if you try something like this:
<parameter><![CDATA[ <aop> <aspect name="mainDeployer" class="org.jboss.profileservice.aop.MainDeployerAspect"/> <bind pointcut="execution(* $instanceof{org.jboss.deployers.spi.deployment.MainDeployer}->process(..))"> <advice name="process" aspect="mainDeployer"/> </bind> <aspect name="persist" class="org.jboss.profileservice.aop.PersistAspect"/> <bind pointcut="execution(* $instanceof{org.jboss.managed.api.ManagedProperty}->setValue(..))"> <advice name="setValue" aspect="persist"/> </bind> </aop>]]> </parameter>
with '<![CDATA['. -
5. Re: property of type org.w3c.dom.Element
alesj Jan 30, 2007 9:14 AM (in response to kagey)This is working.
I added tests to confirm it:
- org.jboss.test.kernel.config.test.ElementTestCase
- org.jboss.test.kernel.config.test.ElementXMLTestCase