[opencms-dev] Calling a java class from OC beta 2
Kevin McKenzie
kevin at mkid.demon.co.uk
Mon Nov 25 21:18:23 CET 2002
25/11/2002 18:00:56, "CALI-GARSIA Bruno" <bruno.cali-garsia-renexter at renault.com>
wrote:
>Hi Kevin,
>
>You should try to put the full package name when you define a class :
>
>------8<--------
> <ELEMENTDEF name="testelement">
> >>>>>>> <CLASS>com.text.opencms.TestElement</CLASS> <<<<<<
> <TEMPLATE>../elements/testelement</TEMPLATE>
> </ELEMENTDEF>
>
>
>regards
>Bruno
Hi Bruno,
Thanks, your suggestion above worked, and also helped highlight a typo in my Java
package name - "text" should have been "test" - which would have stopped it working
even if I did fully qualify the <CLASS> tag.
-kevin
More information about the opencms-dev
mailing list