Hello,

I'd like to turn this layer snippet into code:

<filesystem>
    <folder name="HTMLPalette">
        <!-- The Wicket category added to the HTML palette -->
        <folder name="Wicket">
            <file name="Label.xml" url="nbresloc:/org/netbeans/modules/web/wicket/palette/label/Label.xml">
                <attr name="position" intvalue="100"/>
            </file>
            <file name="AjaxField.xml" url="nbresloc:/org/netbeans/modules/web/wicket/palette/ajaxfield/AjaxField.xml">
                <attr name="position" intvalue="300"/>
            </file>
            <file name="DropDown.xml" url="nbresloc:/org/netbeans/modules/web/wicket/palette/dropdown/DropDown.xml">
                <attr name="position" intvalue="200"/>
            </file>
            <file name="Editable.xml" url="nbresloc:/org/netbeans/modules/web/wicket/palette/editablefield/Editable.xml">
                <attr name="position" intvalue="400"/>
            </file>
        </folder>
        <!-- Also activate HTML components in the HTML palette -->
        <attr name="HTML/JSF" boolvalue="true"/>
        <!-- Also activate HTML Forms components in the HTML palette -->
        <attr name="HTML_Forms/JSF" boolvalue="true"/>
    </folder>
    ...
</filesystem>

I know, the "<file" entries would be replaced by @PaletteRegistration, but what to do with the "<attr" entries?

Kind regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to