Creating Custom Widget and Theme using ExtJS
Hi,
I am trying to implement a widget to use in xCP Designer palette.
I tried different basic examples like "SliderExample" and I succeed. Also, I downloaded ExtJS framework, too.
However, I noticed a difference in the projects' file systems.
File System of SliderExample:
In here MANIFEST file contains info about the widget. Xml file is config file for widget contents and properties and the js files contains the functions and design variables.
However, when we look at the Sencha ExtJS's folder system:
And in here, the architecture is some kind of MVC.
So, when I try to use one of the Sencha's components for implementing widget, I need to use that MVC architecture. However, xCP Designer wants js content files and a descriptor xml file for creating a widget jar.
I have a few questions:
- How can I use the Sencha's components for creating a widget?
- Is there any document about creating widgets using ExtJS except "xCelerated Composition Platform Extension Points"
- How can I import some of the Sencha Theme to the xCP Designer.
Note: The question based on the topic in https://forums.opentext.com/forums/discussion/224659/creating-custom-widget-using-extjs
Thanks,
Comments
-
xCP Developer Guide might be helpful:
https://knowledge.opentext.com/knowledge/llisapi.dll/Open/72302026
Samir Vaidya
Enterprise Software Architect
OpenText0 -
I will suggest you to go through this custom widget tutorial. Here you will see step by step implementation to add custom widgets.
0 -
Hey, @amandajames; I believe you send a wrong link; it contains two step about adding theme to WordPress. Can you check the link?
0 -
Hey, @DCTM_Guru, thank you for your answer. However, @s_vaidya mentioned same document in earlier answers and it doesn't contain any answers for my questions (1 and 3), sadly. If I am wrong, please can you share the details?
0 -
I assume that you know how to code using ExtJS. If you are comfortable with it, then you should be able to write your own component and create custom widget. If there are no inputs/outputs it should be very simple to just convert it. If there are inputs/outputs, the guide explains how to get the data (e.g. bind with realtime query, etc.).
Samir Vaidya
Enterprise Software Architect
OpenText0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 900 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management