velocity and java

Description
Janez
Posts: 10
Joined: Thu Jul 14, 2016 6:07 am

velocity and java

Postby Janez » Wed Apr 04, 2018 11:47 am

Hi

Does anyone knows it it is possible to import java classes in classic wiki page. I need some Java classes which velocity doesn't support it. For example java class LocalDate:

Code: Select all

java.util.Date
java.java.time.LocalDate


Does anyone can help me?

Regards

Janez
Posts: 10
Joined: Thu Jul 14, 2016 6:07 am

Re: velocity and java

Postby Janez » Wed Apr 04, 2018 12:29 pm

Maybe I miss the idea of polarion but I want to compare dueDate with the system date. Because of that I want to use classic Java.

ALMighty
Posts: 71
Joined: Wed Apr 27, 2016 10:34 am
Location: Austria

Re: velocity and java

Postby ALMighty » Thu Apr 05, 2018 7:45 am

Janez wrote: Does anyone knows it it is possible to import java classes in classic wiki page.


You can't, but you could try the dateTool class which is (at least it seems to me) built in the Velocity engine:
https://velocity.apache.org/tools/1.4/j ... eTool.html
---------------------------------------------------------------------------------------------------
Playing a good game is never lame. :D
Image


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 2 guests