Forums de discussion

Need to chang button display name in DDL

Ahila R, modifié il y a 10 années.

Need to chang button display name in DDL

New Member Publications: 11 Date d'inscription: 11/07/13 Publications récentes
I have created a form using Dynamic Data List.. And I have changed the display name for the labels..
But I dont want the submit button with the display name of "ADd RECORD"..
I wants to change that button's display name as "SUBMIT" or whatever it is..

And one more issue is,, i dont want that "SAVE AS DRAFT" button in that end of the form.How can i remove it??
For that how can i change that name..reply me frds..[URGENT]
Thanks in advance,
Ahila
thumbnail
Antoine Comble, modifié il y a 10 années.

RE: Need to chang button display name in DDL

Regular Member Publications: 232 Date d'inscription: 07/09/12 Publications récentes
Hi,

You should create a hook for language_en.properties and override the key
action.ADD_RECORD
with the required value.
To do this, see the following link : http://www.liferay.com/fr/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file

Next, to edit jsp, you can override jsp file in a hook as described in http://www.liferay.com/fr/documentation/liferay-portal/6.0/development/-/ai/overriding-a-jsp

Hope this help you,

Antoine