can any one help how to use less than operator in jelly script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2014 11:55 AM
Can any one help how to use less(<) operator in jelly script.
My problem is
<j:if test="${prob.percent_complete >=50}">
<svg height="100" width="100">
<circle cx="50" cy="50" r="5" stroke="black" stroke-width="1" fill="yellow"/>
</svg>
</j:if>
it is working fine. While implementing (less than)
<j:if test="${prob.percent_complete <50}">
<svg height="100" width="100">
<circle cx="50" cy="50" r="5" stroke="black" stroke-width="1" fill="yellow"/>
</svg>
</j:if>
it is not working.
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2014 03:25 AM
or you can reverse it like this: <j:if test="${50 > prob.percent_complete }">
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2014 04:26 AM