I have created the dialog which has a option for align the text in left, right and center.
could u please suggest me that, where i have to write the Style and how to get the value from Dialog...
coulud u please expalin in detail?
Please check http://dev.day.com/docs/en/cq/current/widgets-api/index.html and "dialog" There are many styles property (like bodyCssClass ...) that you can use.
Retrieving data ...