Question

1
Replies
1305
Views
Sunil007 Member since 2015 3 posts
TechMahindra Ltd.
Posted: 3 years ago
Last activity: 3 years 5 months ago
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 Interface
Moderation Team has archived post
Share this page LinkedIn