AnsweredAssumed Answered

How and when to use Core:new Core:invoke

Question asked by JayaSantoshKumar on Jan 12, 2016
Latest reply on Jan 12, 2016 by JayaSantoshKumar

Hi Everyone , I have a doubt on using Core:new and Core:invoke

 

Suppose If I want to Implement below Java Code into Gel-script How to frame my Gel-script

Java:-

Date date1 = df.parse("10/08/2013");

Calendar cal1 = Calendar.getInstance();

 

Gel:-

<core:new className="java.util.Calendar" var="R1"/>

 

It is showing Error at the Class what im using.

Could any one help me how to frame the Gel-Script Code.

Outcomes