Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Using the Web Page Editor with my own tags.
Using the Web Page Editor with my own tags. [message #227498] Sun, 01 February 2009 20:27
nquaine  is currently offline nquaine Friend
Messages: 6
Registered: July 2009
Junior Member
I would like to use the Web Page Editor for my custom xml tags (for
example <mytags :button/>) with :
- a palette (similar to the one of HTML4.0) which allows the insertion of
my tags
- a preview (an HTML translation of my custom tags)

I don’t use jsp or any other standard taglib but my custom xml tags
describe html like pages so I want to use this editor as it gives me an
html preview.

Which plug-ins should I consider looking at in order to be able to use
the wpe functionality for 'mytags ' namespace.

I have tried to define a new palette and elements in a definition xml file
(such as html_pi.xml) by extending the
org.eclipse.jst.jst.common.standardMetaDataFile plugin. What else should I
do to see my palette and be able to edit the file (without .tld in a web
project) ?

Is it completely the wrong way to approach the problem? Should I instead
define a new Content type such as the wst.html.core.htmlsource? If so,
what should I extend/subclass … to avoid reinventing the wheel?

I am using Ganymede , eclipse version 3.4; web developer tools 3.0.3 and
wpe 2.0.1

Thanks for any help you can provide.

Previous Topic:Recurrent OutOfMemoryError during Eclipse publish operation to server
Next Topic:Javadoc for a given class from within a WST-based plugin?
Goto Forum:

Current Time: Wed Jun 20 11:56:56 GMT 2018

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

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

Back to the top