Hi Danushka,
As per our chat you are sending base64 encoded string though a POST form
submission and read it inside Jaggery as request.getParameter("imageData")
. I believe following code snippet can help you.
var log = new Log();
// POST param 'imageData' should contain only base64 encoded stri
Hi All
Appreciate answers. Any way what I am looking for in write base64 encoded
image binary data to a file. And these answers won't satisfy my answers.
Initially I checked for the options available in jaggery to cater my
requirement. But after the chat had with Manu it seems that Jaggery have
so
Hi Madusanka,
The code snippet you mentioned [1] *does not work* in Jaggery as it meant
to be run in the client-side.
[1]
https://github.com/wso2/carbon-apimgt/blob/carbon-apimgt-v1.9.0/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/site/themes/default/templ
Hi Dhanushka,
In APIM we used FileReader[1] to read imported file from file system. I
think you can use the file writer[2] in your case.
[1] -
https://github.com/wso2/carbon-apimgt/blob/carbon-apimgt-v1.9.0/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/site/
BTW I tried using Blob and Uint8Array interfaces but jaggery says they are
not identified.
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
On Tue, Sep 22, 2015 at 11:50 AM, Danushka Fernando
wrote:
> Hi All
> How we can do $subject? A
Hi All
How we can do $subject? Any ideas would be appreciated.
Thanks & Regards
Danushka Fernando
Senior Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev