Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Design Time Tag Metadata Custom Tags (Design Time Tag Metadata Custom Tags not recognized in my JSF page.)
icon9.gif  Design Time Tag Metadata Custom Tags [message #1722674] Mon, 08 February 2016 08:52
kiran rao is currently offline kiran raoFriend
Messages: 1
Registered: February 2016
Junior Member
I have extended my web page editor in Eclipse LUNA. When i open my JSF page in editor all the custom tags elements does not get rendered at all.

Please replace URI with "myAppUrl/krao".

1. Created Metedata for my custom tag cust_dti.xml.
2. Extension is added to plugin.xml
<extension
point="org.eclipse.jst.jsf.common.standardMetaDataFiles">
<standardMetaDataFile
location="metadata/cust_dti.xml"
uri="URI">
</standardMetaDataFile>
</extension>

3. Added page designer extension to plugin.xml

<extension point="org.eclipse.jst.pagedesigner.pageDesignerExtension">
<linkCreator class="org.eclipse.jst.pagedesigner.actions.link.HtmlLinkCreator" linkIdentifier="Html Link"/>
<tagTransformOperation class="org.eclipse.jst.pagedesigner.dtmanager.converter.operations.internal.AppendChildElementOperation"
id="AppendChildElementOperation">
</tagTransformOperation>
------------------
</extension>

4. cust_dti.xml is placed under myproject/.../WEB-INF/metadata.

5. Web.xml has entry
<context-param>
<param-name>URI/krao</param-name>
<param-value>/WEB-INF/metadata/cust_dti.xml</param-value>
</context-param>

6. my XHTML page has
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
xmlns:tgs="URI/krao">
----------
<tgs>dispalycontent</tgs>

7. When i open the file in editor only elements with div and form gets rendered. Rest of the elements are ignored.

Is anything wrong i am doing. Your help will be greatly appreciated. Thank in advance. Apologies if i have not provide sufficient or correct information or details on what i am trying to do.

Thanks
Krao
Previous Topic:Renaming a Server does not change the its output console title
Next Topic:Failed to fetch TagLibContextResolver
Goto Forum:
  


Current Time: Fri Nov 16 14:57:49 GMT 2018

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

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

Back to the top