Question

1
Replies
1657
Views
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
Posted: 20 Apr 2017 9:14 EDT
Last activity: 20 Apr 2017 9:49 EDT
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, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.