Tapestry Palette - editable component parameters
I've made the component property sheet editable
so you can edit component parameters in the property sheet without switching to
the specification editor.
Please note
that I'm not targeting implicit Tapestry component declarations with the drag
and drop and property sheet behavior in this plugin. You can use the palette
tree and component inspector to look up components and hand enter values into
the template.
With the Spindle template
editor open and the Eclipse Properties view open in the workspace (Window >
Show View > Other > Basic > Properties) you can double click on the
value of a jwcid attribute in the template editor to view the parameters for the
component in the Properties view without switching to the specification
editor.
This new version allows
component parameters to be edited directly in the property sheet. Just click on
the property value and type. For now the specification editor must be open and
the specification must be
well-formed.
The format for values
entered in the property sheet is the same as that used for attributes in HTML
for implicit components:
1. Prefix
dynamic values with
ognl: to create
a <binding> element in the
specification.
2. Prefix message values with
message: to
create <message-binding> elements in the
specification.
3. No prefix implies a static
value and creates a <static-binding> element in the
specification.
This is a
preliminary release to get feedback on the behavior, there is minimal error
checking in the code. It's available as version 0.0.5 from the Eclipse update
site at
http://www.mjhenderson.com/updates
Posted: Fri - October 15, 2004 at 07:57 AM
|