[opencms-dev] Write a widget
Sebastian Himberger
sebastian.himberger at gmx.de
Fri Feb 29 19:17:40 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
there's no need to repackage the JAR. If you want to use widget in your
java classes (e.g. A_CmsWidgetDialog) you can simply package your widget
classes as a seperate jar, put this in your module/classpath and then
import the class in your source file. If you want to create a widget for
XMLContent you add the class to your module/classpath as described
earlier and register it in /WEB-INF/config/opencms-vfs.xml under the
widgets node.
i hope this helps.
best regards,
Sebastian
Cesare Montresor schrieb:
| I found the widget classes in <opencms_dir>/WEB-INF/lib/opencms.jar
| i have to get .java from cvs, write my own class, compile and repakage
| the opencms.jar ?
|
| Cesare
|
| Cesare Montresor wrote:
|> I need to write a custom widget, what are right steps ?
|>
|> Thanks,
|> Cesare
|>
|> _______________________________________________
|> This mail is sent to you from the opencms-dev mailing list
|> To change your list options, or to unsubscribe from the list, please
visit
|> http://lists.opencms.org/mailman/listinfo/opencms-dev
|>
|>
|
|
| _______________________________________________
| This mail is sent to you from the opencms-dev mailing list
| To change your list options, or to unsubscribe from the list, please visit
| http://lists.opencms.org/mailman/listinfo/opencms-dev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHyExCVKBy6qoVEvwRAilIAKCd2FHuJRvZFrDVuSFDx4dHdaDgBQCeMRXO
iqVzds0Onybz7aoQAF0/Jeg=
=BIHb
-----END PGP SIGNATURE-----
More information about the opencms-dev
mailing list