-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I love this feature, but don't how to use it in my Custom Components Library.
I'm importing to my web application JAR file with my custom components defined in lang-addon.xml. How do I specify here that my component is using Composer instead of extendign HtmlMacroComponent?
I'mean something like this:
<component> <component-name>myBox</component-name> <!-- Instead of component-class I need component-composer --> <!-- <component-class>com.component.MyBox</component-class> --> <component-composer>com.component.MyBoxComposer</component-composer> <extends>box</extends> </component>
please use the following statement,
<apply>com.component.MyBoxComposer</apply>
/robbie
Cool, but how do i now append this macro component into other HtmlMacroComponent?
I did it this way with classic HtmlMacroComponent
MyComp myComp = new MyComp(); myComp.setParent(mBox); myComp.afterCompose();
But now myComp has a Composer as backend and this does not work anymore.
Asked: 2009-03-05 09:47:49 +0800
Seen: 219 times
Last updated: Mar 16 '09