juliocamarero/liferay-portal — pull request #627 by KocsisDaniel (2012-10-29 08:57:17+00:00)
Title: LPS-28982

Hey Julio,

finally I had time to finish this pull. I use the editable field everywhere to control the add button visibility and I consolidated the logic into DDLUtil and use the same from the jsp's now. I am concerned a bit about the isEditable methods, because my idea is to move as much as we can code to the util, so I moved the getters of default values as well, but I am not sure if it is the best solution or I could leave these lines in the jsp's and have only isEditable with an initial value. So please feel free to correct me!

Otherwise I did not change the solution so groupimpl.isInStagingPortlet is the same and the language key is the same as well.

Thanks,
Daniel