Question

1
Replies
1419
Views
Close popover
Sunil Kodali (Sunil007)
TechMahindra Ltd.

TechMahindra Ltd.
IN
Sunil007 Member since 2015 3 posts
TechMahindra Ltd.
Posted: April 20, 2017
Last activity: April 20, 2017
Closed

For getLocalizedText() what is the syntax we need to use in JSP code.

Hi , i have some JSP code like below

<%

String ContInfo = "Contact: "+Contact+" "+PhoneNumber;

%>

I want to localized Contact:

i was tried the bellow syntax:

1)@(Pega-RULES:Utilities).getLocalizedText("Contact:","pyCaption",tools)

2) <pega:lookup property=".pyCaption" value="Contact:"/>

i was tried like below

syntax1

<%

String ContInfo = "@(Pega-RULES:Utilities).getLocalizedText("Contact:","pyCaption",tools) "+Contact+" "+PhoneNumber;

%>

syntax2

<%

String ContInfo = "<pega:lookup property=".pyCaption" value="Contact:"/> "+Contact+" "+PhoneNumber;

%>

could you please help me how to call getLocalizedText in JSP code.

***Updated by moderator: Lochan to add Categories***

Data Integration Java and Activities User Experience
Moderation Team has archived post