Hi guys,

These days, i have finished some research job and design job. Now, i get a
whold project proposal about Tapestry visual editor, i want to build it on
Eclipse WTP project. Here is my proposal detail, if you guys have any ideas
about this project, please let me know. Thank you :-)

The Eclipse Web Tools Platform (WTP) [1] project extends the Eclipse
platform with tools for developing Web and
Java EE applications. It includes source and graphical editors for a variety
of languages,
wizards and built-in applications to simplify development, and tools and
APIs to support deploying,
 running, and testing apps.

WTP supplies Web Page Editor for us to edit HTML page, JSP page and JSF-JSP
web page. Just like JSF technology,
Apache Tapestry supplies powerful component structure, and it offered a
number of other powerful features that
proved to be critical in our work. For example, it allowed a clean
separation
between Java and HTML, and made it possible for the design work on the
application to continue well after the code had been completed. So Tapestry
become more and more popular today,
and i think it is necessary for Eclipse WTP to support Tapestry.

So I want to build an Eclipse WTP based Tapestry visual editor, named it
Tapestry Tools. It should have following mainly functions:

1. Tapertry libraries import wizard
We can select which Tapestry version do we need, and then it will help us to
import the corresponding jars. We should
notice that different Tapestry release version have their own features. For
example, in Tapestry 4, we usually use
a .tml file,a .page file and a .java file to construct a Tapestry page, but
in Tapestry 5, a page usually contains only
a .tml file and a .java file.

2. Tapestry page/component creation wizard
It will help us to create the .tml file and .java file together (in Tapestry
4, this will create the corresponding .page file too)
for a Tapestry page/component.

3. Add Tapestry component support for WTP web editor palette
If we open a Tapestry page/component with WTP Web Page Editor, its palette
will contains three main section, HTML,Tapestry
core and Tapestry custom component. Then, we can drap-and-drop the
components in the palette to the canvas. WTP
web editor supplies property view for us already, we can improve the
property to support Tapestry component.

4. Add convenient way for the Web Page Editor to change-over between a
Tapestry page's .tml file and .java file

5. Add Tapestry built in and custom components autocomplete function for WTP
Web Page Editor's source view
If we add component insert code, such as "<span jwcid="@NewBorder"/>",So
when you type
<t: it comes up with a list you can choose from and then completes it with
the required parameters listed.

6.Autocomplete of properties from the .java page when editing the .tml file
In the Source Page of the Web Page Editor, add the Tapestry tag, (for
example ${prop:index}).
With the cursor inside the brackets, hit Ctrl+spacebar, should see a pop-up
with a list of all the available
properties defined in the corresponding java class.


[1] http://www.eclipse.org/webtools/
---------------------------------
Best Regards
Gavin Lei (雷银)
Email: [email protected]

Reply via email to