I have a set of toggle buttons in a single "toggleGroup" within a form. Conceptually, all 3 buttons correspond to a single "alignment" field in the model backing the form. Thus, I'd like a value corresponding to the pressed button to (i.e., "left", "center" or "right") to be associated with the Model field automatically when the button is pressed. Is this possible? I realize I could put code in the toggle button handler that puts the appropriate value in the single model field, but it seems that this is a common enough situation that there would be an automatic way to accomplish it...

Thanks,
Brett S.