Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Customizing palette in WPE
Customizing palette in WPE [message #474958] Sun, 05 August 2007 23:53 Go to next message
No real name is currently offline No real nameFriend
Messages: 19
Registered: July 2009
Junior Member
Are there resources available at the Eclipse.org site or elsewhere that
describe how to add custom JSF components to the tool palette in the Web
Page Editor?

Thanks,


Pat Podenski
Re: Customizing palette in WPE [message #474959 is a reply to message #474958] Mon, 06 August 2007 16:56 Go to previous messageGo to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Pat,

Have you looked at the tutorials and reference material in the JavaServer
Faces Tooling Developer Guide in Help? This is all that is currently
available, but should get you going.

Regards,
Gerry Kessler
WTP JSF Tools team
Re: Customizing palette in WPE [message #475004 is a reply to message #474959] Mon, 06 August 2007 18:17 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 19
Registered: July 2009
Junior Member
I don't see a guide titled "JavaServer Faces Tooling Developer Guide" in
the Eclipse Europa Help pages.

However, I do see a guide called "JavaServer Faces Tooling User Guide". Is
the guide you are referring to?

If you are referring to a different guide for developers, how do I
download it?

What I am interested in doesn't appear to be supported currently -- I saw
the following statement in the "JavaServer Faces Tooling User Guide":

"The JSF Tooling has provided frameworks that allow the source page editor
to provide services for most of the attribute values from the JSF standard
Core and HTML tag libraries where it makes sense. These frameworks are
"meta-data" driven and extensible which would allow tag library developers
to add their own content assist, validation and other service quite
easily. In other words, the features supplied with the JSF Tooling will
eventually make it to the WTP layer so that the source editing experience
for other JSP tag libraries will be improved."

"Technically any JSP tag library can be supported, but in this release,
only the JSF Standard tag libraries are supported."

My project needs to add custom JSF component libraries, so I am hoping
that there is an easy way to do this.

Thanks,

Pat Podenski
Re: Customizing palette in WPE [message #475006 is a reply to message #475004] Mon, 06 August 2007 18:44 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
> I don't see a guide titled "JavaServer Faces Tooling Developer Guide" in
> the Eclipse Europa Help pages.

When you download WTP, did you download the SDK or just the runtime? I
think the developer guide is only bundled with the SDK.

There is definitely support for third-parties to contribute
component-specific extensions to the web page editor. In fact, if you
look at the plugin org.eclipse.jst.pagedesigner.jsf.ui, it contains all of
the default extensions that we provide to support the "core" and "html"
components.


--Cam
Re: Customizing palette in WPE [message #475007 is a reply to message #475006] Mon, 06 August 2007 20:30 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 19
Registered: July 2009
Junior Member
Cameron,

I was able to add the JSF SDKs and help documentation via the Update
Manager.

Thanks,

Pat Podenski
Re: Customizing palette in WPE [message #613267 is a reply to message #474958] Mon, 06 August 2007 16:56 Go to previous messageGo to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
Pat,

Have you looked at the tutorials and reference material in the JavaServer
Faces Tooling Developer Guide in Help? This is all that is currently
available, but should get you going.

Regards,
Gerry Kessler
WTP JSF Tools team
Re: Customizing palette in WPE [message #613862 is a reply to message #474959] Mon, 06 August 2007 18:17 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 19
Registered: July 2009
Junior Member
I don't see a guide titled "JavaServer Faces Tooling Developer Guide" in
the Eclipse Europa Help pages.

However, I do see a guide called "JavaServer Faces Tooling User Guide". Is
the guide you are referring to?

If you are referring to a different guide for developers, how do I
download it?

What I am interested in doesn't appear to be supported currently -- I saw
the following statement in the "JavaServer Faces Tooling User Guide":

"The JSF Tooling has provided frameworks that allow the source page editor
to provide services for most of the attribute values from the JSF standard
Core and HTML tag libraries where it makes sense. These frameworks are
"meta-data" driven and extensible which would allow tag library developers
to add their own content assist, validation and other service quite
easily. In other words, the features supplied with the JSF Tooling will
eventually make it to the WTP layer so that the source editing experience
for other JSP tag libraries will be improved."

"Technically any JSP tag library can be supported, but in this release,
only the JSF Standard tag libraries are supported."

My project needs to add custom JSF component libraries, so I am hoping
that there is an easy way to do this.

Thanks,

Pat Podenski
Re: Customizing palette in WPE [message #613864 is a reply to message #475004] Mon, 06 August 2007 18:44 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
> I don't see a guide titled "JavaServer Faces Tooling Developer Guide" in
> the Eclipse Europa Help pages.

When you download WTP, did you download the SDK or just the runtime? I
think the developer guide is only bundled with the SDK.

There is definitely support for third-parties to contribute
component-specific extensions to the web page editor. In fact, if you
look at the plugin org.eclipse.jst.pagedesigner.jsf.ui, it contains all of
the default extensions that we provide to support the "core" and "html"
components.


--Cam
Re: Customizing palette in WPE [message #613865 is a reply to message #475006] Mon, 06 August 2007 20:30 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 19
Registered: July 2009
Junior Member
Cameron,

I was able to add the JSF SDKs and help documentation via the Update
Manager.

Thanks,

Pat Podenski
Re: Customizing palette in WPE [message #665820 is a reply to message #613267] Sat, 16 April 2011 13:13 Go to previous messageGo to next message
bunta Choudhary is currently offline bunta ChoudharyFriend
Messages: 38
Registered: December 2010
Member
@ Gerry

I want to add a new custom component in the Web page Editor Palete named "myHTMLComponent". So, as soon as user opens any html page with WPE, myHTMLComponentM should be present there. How can I do the needful, moreover this component will as well need to generate the code changes accordingly. How to achieve the desired result.

Is there any working example available.

I already created a new plugin adding a new xml file to it and add the same under standardmetadata tag exactly same as the standardmetadata plug-in provided. But when I ran it or add the same as a plugin , no new category got generated.
Re: Customizing palette in WPE [message #666074 is a reply to message #665820] Tue, 19 April 2011 00:14 Go to previous messageGo to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
If your component is defined correctly, it should be showing up in the palette whether you have supplied design-time metadata or not. The internal tag registries locate the tag libraries on the project classpath.

Is this a JSP file or a an XHTML Facelet file?
Re: Customizing palette in WPE [message #666169 is a reply to message #666074] Tue, 19 April 2011 11:53 Go to previous messageGo to next message
chavi   is currently offline chavi Friend
Messages: 67
Registered: April 2011
Member
No Message Body

[Updated on: Tue, 19 April 2011 16:51]

Report message to a moderator

Re: Customizing palette in WPE [message #666245 is a reply to message #666169] Tue, 19 April 2011 15:01 Go to previous message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
The categories in the palette reflect which tag libraries are on your project classpath. Creating a properly constructed tag library is the first place to start and that is outside the scope of this forum.
Previous Topic:JSF/EMF integration in Web Tools Project
Next Topic:Conflicting dependencies with Liferay IDE
Goto Forum:
  


Current Time: Thu Apr 25 14:13:55 GMT 2024

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

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

Back to the top