Drag & Drop Tapestry Component Editing
If you watch the Flash movie tour of the plugin features a few times you will have a good idea of the capabilities of the palette. Here are a few questions I get asked quite often:
From within Eclipse you can use the following update sites:
The first update site is for stable releases, the second for unstable releases with new features. Since the plugin is still alpha software it's better to check the unstable update site which will have the most up-to-date versions of the plugin.
Yes, use the Tapestry Palette preferences page to set your preference to implicit components. Then when you drop a component from the palette tree-view onto a template an implicit component declaration will be created.
Yes, use the Tapestry Palette preferences page to set your preference for generating jwcid values manually. Then, when you drop a component from the palette tree-view onto a template you will be prompted for a jwcid value with a pop-up dialog.
Yes, drag the component you want to use over the template until the tag you wish to change is the outermost highlighted tag. Hold down the Control (CTRL) key while dropping the component onto the template. The outermost tag will be edited to add a jwcid attribute and, if you have set the preference for implicit components bindings for required parameters will also be added.
It's a bug. The palette cannot convert mouse location to text position on empty lines. The workaround is to insert some characters (a space will do) into the blank line and drop the component onto the blank character.
The inspector contents are created from the descriptions in the Tapestry component specification file. If the component or a parameter has an empty description the palette cannot fill the inspector with meaningful information.
Most likely there is no component reference for that component, or the component library developer has not included the information in the library jar for the palette to link to the documentation.
It's fairly easy, You need:
The second file is optional but you will need it if you want to link to the component refernece documentation, organize your components into folders and to customize the replacement format for components used during drag and drop editing.
Read the documentation for more information.
It's a bug. Want to fix it?