Hi Hemika,
Converting from long to string should happen on client side. Otherwise we
will display times in server time zone, which is not useful. You should
always record time in long UTC and send to the client in long. UTC to
current time-zone conversion should happen at client as follows.
var d
Hi Hemika,
I have a list of java objects that I am returning from the server side JS
> where the object has a timestamp property in long format(milliseconds), in
> that case I will have to iterate the list and get the timestamp of each
> object and store them in another list/map and return that se
Hi Rasika,
I have a list of java objects that I am returning from the server side JS
where the object has a timestamp property in long format(milliseconds), in
that case I will have to iterate the list and get the timestamp of each
object and store them in another list/map and return that separate
>
> Really ?
> Rasika/Sajith, did you guys implement a way to plug-in helpers?
> I don't believe we should have app specific custom helpers, it makes code
> hard to understand for someone who is not from that team. I believe we
> should use the 'toViewModel' function to do any rendering specific
>
>
> Yeah, there is a way to write custom helpers in HBS and we can use it by
> registering the helper in HBS.
Really ?
Rasika/Sajith, did you guys implement a way to plug-in helpers?
I don't believe we should have app specific custom helpers, it makes code
hard to understand for someone who is n
Yeah, there is a way to write custom helpers in HBS and we can use it by
registering the helper in HBS.
On Thu, Jun 23, 2016 at 3:56 PM, Hemika Kodikara wrote:
> *Also is there a way to plug custom helpers ?
>
> Hemika Kodikara
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middleware
> h
*Also is there a way to plug custom helpers ?
Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com
Mobile : +9477762
On Thu, Jun 23, 2016 at 3:06 PM, Hemika Kodikara wrote:
> Hi All,
>
> Is there a way to do $subject ?
>
> Also is there to plug custom
Hi Hemika,
You can process the timestamp in long format to readable format in js side
and return that to display in hbs.
Thanks
Sudharma
On Thu, Jun 23, 2016 at 3:06 PM, Hemika Kodikara wrote:
> Hi All,
>
> Is there a way to do $subject ?
>
> Also is there to plug custom helpers ? and also c
Hi All,
Is there a way to do $subject ?
Also is there to plug custom helpers ? and also can we add all the
supported helpers to [1] including the ones coming from jnack.
[1] - https://docs.wso2.com/display/UUF100/Helpers
Regards,
Hemika
Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterp