Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » HTML Page designer palette
HTML Page designer palette [message #221617] Fri, 19 September 2008 08:46 Go to next message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
Hi,

I don
Re: HTML Page designer palette [message #221755 is a reply to message #221617] Tue, 23 September 2008 17:48 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
> IŽm using the HTML Page designer of the eclipse WTP
> (org.eclipse.jst.pagedesigner.PageDesignerEditor). Is it possible to add
> customer tags to the palette? How does it work?

Items are currently added to the palette based on the tag libraries in the
class path. If you have a custom tag library based on JSP, you should be
able to simply add it the class path of a project and reopen the editor.

There is also metadata that you can use to customize the appearance of
your tags in the palette. To see an example, look in the
org.eclipse.jst.jsf.tagsupport plugin in metadata/jsf_html_pi.xml.


Thanks,

Cameron
Re: HTML Page designer palette [message #221763 is a reply to message #221755] Wed, 24 September 2008 06:25 Go to previous messageGo to next message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
"Cameron Bateman" <cameron.bateman@oracle.com> schrieb im Newsbeitrag
news:1e6de57a1a936049fc8a4636ae3936eb$1@www.eclipse.org...
>> I
Re: HTML Page designer palette [message #222385 is a reply to message #221763] Mon, 29 September 2008 21:16 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Carsten Spieker wrote:
> Unfortunately I still have problemts with adding JSP tag libraries to the
> editor. Maybe I still did something wrong.
> I use the Jakarta Standard Tag Library (including 'core' etc.) as a test
> JSTL. It is a JAR-file containing all the tld-files in the
> META-INF folder and the Tag-Handler classes in their packages. I add the
> JAR-file to the classpath of a plugin in my RCP-application and
> also add the Tag-Handler packages to the "Exported-Packages" in the
> Runtime-Tab of manifest.mf.
>
> Is this the correct way? Nothing happens in the palette of the editor.

What version of the Dynamic Web Project facet is configured on your
project? You'll need at least 2.3 to access those tag libraries.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: HTML Page designer palette [message #222443 is a reply to message #222385] Tue, 30 September 2008 05:39 Go to previous message
Carsten Spieker is currently offline Carsten SpiekerFriend
Messages: 197
Registered: July 2009
Senior Member
My problem was, that I use the editor in my own RCP application with my own
project types, not in the IDE.
Now I solved the problem by adding Java-Project nature to my project an a
..classpath-file with the necessary classentries.

Thanks for any help.

Greetz,
Carsten


"Nitin Dahyabhai" <nitind@us.ibm.com> schrieb im Newsbeitrag
news:gbrgjn$eua$1@build.eclipse.org...
> Carsten Spieker wrote:
>> Unfortunately I still have problemts with adding JSP tag libraries to the
>> editor. Maybe I still did something wrong.
>> I use the Jakarta Standard Tag Library (including 'core' etc.) as a test
>> JSTL. It is a JAR-file containing all the tld-files in the
>> META-INF folder and the Tag-Handler classes in their packages. I add the
>> JAR-file to the classpath of a plugin in my RCP-application and
>> also add the Tag-Handler packages to the "Exported-Packages" in the
>> Runtime-Tab of manifest.mf.
>>
>> Is this the correct way? Nothing happens in the palette of the editor.
>
> What version of the Dynamic Web Project facet is configured on your
> project? You'll need at least 2.3 to access those tag libraries.
>
> --
> ---
> Nitin Dahyabhai
> Eclipse WTP Source Editing
> IBM Rational
Previous Topic:How does one reuse the StructuredTextEditor in an RCP?
Next Topic:Jar warnings or greyed out lib dir checkbox in Java EE module dependencies
Goto Forum:
  


Current Time: Fri Apr 19 11:04:10 GMT 2024

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

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

Back to the top