Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Custom JSF Palettes
Custom JSF Palettes [message #475985] Mon, 07 July 2008 21:42 Go to next message
Quintin Beukes is currently offline Quintin BeukesFriend
Messages: 4
Registered: July 2009
Junior Member
Hey,

I'm trying to create a plugin that integrates the Woodstock component
library into eclipse.

I added the library JAR files to the classpath, and the components
appeared on the palette, but they all appeared as tags instead of palette
items, for instance the button was just "< > button", and when dropping
it's just a page wide square with dotted border.

I assume this is because it doesn't know anything about the component.

What route should I take to start integrating these libraries to ship as
an eclipse plug in. I'm sure many eclipse users who are JSF developers
would appreciate Woodstock support in the web page editor.

Some integrations that I noticed would need to be made is:
1. Display in palette
2. Display on page in page editor
3. All the different types of attributes, making some hidden with deduced
or static values, making some displayed under different, friendlier
names, some with special inputs (like images having browse inputs), etc.
4. Preferably grouping of attributes.

In Woodstock you get tabbed browsing components (tabset + it's tabs).
When clicking on a tab, the page linked to that tab is displayed, with
event listeners for them (obviously).

In the editor it also provides this switching. It basically comes down to
displaying the components of the active tab page only, and allowing you
to click on other tabs to make them active, and then show their pages. A
way to implement this would also be great.

These are the only ones I was able to think of now.

Thanks,
Quintin
Re: Custom JSF Palettes [message #475987 is a reply to message #475985] Tue, 08 July 2008 16:35 Go to previous message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Quintin,

I am happy to hear you have an interest in adding design-time support for
Woodstock. I don't think that you will find it terribly difficult, and
you should find that much of the process is documented.

First read over some of the sections in Help under the JavaServer Faces
Tooling Developer Guide. In the Programmers Guide you will find several
topics that will be of interest to you. You will also find a tutorial
called "Supplying Tag Library Meta-data for Apache MyFaces Tomahawk",
which is a great starting point.

The best source of information is the code itself. All of the supported
tag libraries make use of public extension-points and classes to provide
the design-time experience in the Web Page Editor. Take a look at the
org.eclipse.jst.jsf.apache.trinidad.tagsupport and
org.eclipse.jst.jsf.standard.tagsupport plugins.

If you have more specific questions at a later point, we should be able to
help answer them.

Regards,
Gerry Kessler
WTP JSF Tools Team
Re: Custom JSF Palettes [message #618309 is a reply to message #475985] Tue, 08 July 2008 16:35 Go to previous message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Quintin,

I am happy to hear you have an interest in adding design-time support for
Woodstock. I don't think that you will find it terribly difficult, and
you should find that much of the process is documented.

First read over some of the sections in Help under the JavaServer Faces
Tooling Developer Guide. In the Programmers Guide you will find several
topics that will be of interest to you. You will also find a tutorial
called "Supplying Tag Library Meta-data for Apache MyFaces Tomahawk",
which is a great starting point.

The best source of information is the code itself. All of the supported
tag libraries make use of public extension-points and classes to provide
the design-time experience in the Web Page Editor. Take a look at the
org.eclipse.jst.jsf.apache.trinidad.tagsupport and
org.eclipse.jst.jsf.standard.tagsupport plugins.

If you have more specific questions at a later point, we should be able to
help answer them.

Regards,
Gerry Kessler
WTP JSF Tools Team
Previous Topic:Linking actions to buttons
Next Topic:Linking actions to buttons
Goto Forum:
  


Current Time: Sat Dec 20 11:44:30 GMT 2014

Powered by FUDForum. Page generated in 0.17811 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software