On Tue, Feb 8, 2011 at 12:53 PM, LLTYK <ll...@mailinator.com> wrote:
>
> A more descriptive label would be easy, just add the keys to the properties
> file. More than that will probably delve into custom decorator or property
> block territory.

I need the label to stay the same. I'm familiar with the property
block, but my goal is to be able to create this without needing to
customize the .tml file.

Ideally what I want is something like this:

class Person {
   @ToolTip("The first name of the person being edited")
   String firstName;
   @ToolTip("The last name of the person being edited")
   String lastName;

   //getters and setters

}

Assuming I can figure out how to setup the annotation, what is the
best way to change the filed names on the the bean edit form, without
resorting to creating a parameter for each attribute?

I looked at some of the custom decorator documentation, but it seems
designed for modifying services rather than components.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to