User dialog
-----------

- I created a multi select control (similar to the roles selection in the user dialog)

- the user dialog is now totally configured. this allows configuration of additional fields like preferences, email address, ...


General Enhancements
--------------------
Changing the user dialog I realized how easy things could be with a few changed lines of code:

- dialog handler can pass the dialog to the save handler (if extending DialogAwareSaveHandler). This allows the save handler to consult any dialog information --> special kind of savings

- the dialog initializes it's values with request parameters if this dialog was posted (click save). This allows a validation and also a rerendering of the dialog after something failed (containing the values the user entered).

- the AlertUtil can set a message on the context. the message is alerted!

- defaultValue is configurable (was already, but I think its good to repeat this)

- required (as a first basic validation facility)


Why not more
------------
I did what I was able to do with a few hour of work and without changing to much code. It is still one of my main goal to move the dialogs to JSF.

Philipp

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to