Component Authoring for Creator
Thursday Mar 02, 2006
I'm currently working on component authoring for Creator. What does this mean? Creator was designed to be an easy-to-use tool to write webapps. It comes with a built-in set of JavaServer Faces (JSF) components, but users often want more. So I've been writing documentation for component developers on how to create components that work well with Creator. This process involves writing the runtime parts that will be deployed to an app server, plus the design-time parts, and then packaging all the parts into a complib file. Currently, the runtime parts need to follow some guidelines so they can be rendered well in the tool. See the latest draft version of the component authoring document for more information. An official version of this document should be published soon on the Creator web site.
As part of this effort, I've written a sample complib and have just added a new more complex prototype component to illustrate how one can add resources such as JavaScript and CSS files to a complib. One of my responsibilities was to fix problems in the current Creator built-in calendar component. I realized that this component needed to be refactored so I thought I would write a new version of a popup calendar as a real-world example. So I started by doing a survey of existing date-picker and popup calendar type of components on the web and came up with a set of requirements. I think I have come up with an improved prototype which can be the basis of a new product-quality popup calendar. Feel free to modify it and extend it to fit your needs. Below are some screenshots.
|
|
|
I'd like to know if this is useful to you. Feel free to post comments or email me.











Posted by kishan on June 08, 2006 at 11:52 PM PDT #
Posted by Edwin Goei on June 09, 2006 at 10:37 AM PDT #
Posted by godfrey on June 26, 2006 at 05:28 PM PDT #
Posted by Edwin Goei on June 26, 2006 at 05:48 PM PDT #
Posted by godfrey on June 28, 2006 at 03:57 PM PDT #
Posted by Edwin Goei on June 28, 2006 at 04:41 PM PDT #
Posted by godfrey on June 30, 2006 at 04:49 PM PDT #
Posted by Edwin Goei on June 30, 2006 at 05:38 PM PDT #
Posted by godfrey on June 30, 2006 at 09:48 PM PDT #
Posted by Edwin Goei on July 02, 2006 at 12:53 AM PDT #
Posted by godfrey on July 04, 2006 at 09:03 AM PDT #
Posted by Edwin Goei on July 04, 2006 at 09:21 AM PDT #
Posted by Edwin Goei on July 04, 2006 at 09:26 AM PDT #
Quote from email:
The complib file is a package file like a war file. It is only used by Creator currently. Creator expands the file into a directory structure just like a server does to a war file. The expanded tree should have at least one runtime jar. The runtime jar contains a WEB-INF/ which contains the faces-config.xml. This follows the JavaServer Faces spec. See complib spec for details about the complib format.
Posted by Edwin Goei on July 05, 2006 at 10:05 AM PDT #
Posted by swati on August 30, 2006 at 11:46 PM PDT #
Posted by willy on August 31, 2006 at 12:04 AM PDT #
Posted by Edwin Goei on August 31, 2006 at 10:36 AM PDT #
Posted by Angelo on October 27, 2006 at 03:16 AM PDT #
Posted by Edwin Goei on October 27, 2006 at 08:02 AM PDT #
Hi,
This is Thamarai and I want that code part for pop up calender component. If possible, please send it to me immediately.
Posted by Thamarai on November 05, 2007 at 08:28 PM PST #