[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools.jsf] Re: How to prevent some tags from showing in palette

Unfortunately, we don't currently offer that in a metadata driven way. Instead you could use the IElementEdit.getTagCreator to return the UserCustomizedTagCreator instead of the default tag creator. UserCustomizedTagCreator allows you to provide a ICustomizationData object that specifies a list of parent tags that you want dropped with your target tag. Note that you can can also you use it to add child tags.

This functionality has only been added in Galileo.


Thanks,

Cameron

shilpa wrote:

Can you please tell me how to change the behaviour of the below metadata configuration of palette

<trait id="requires-html-form">
	<value>true</value>
</trait>

Currently, this configuration makes the <h:form> tag enclose the dragged JSF tag. But I want to reuse this functionality to perform the same behaviour for my custom tag library.