Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Built in Currency Converter portlet Issue Muzakir Khan 4 de Maio de 2012 03:33
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 03:03
RE: Built in Currency Converter portlet Issue Muzakir Khan 3 de Maio de 2012 03:28
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 04:08
RE: Built in Currency Converter portlet Issue Muzakir Khan 3 de Maio de 2012 05:32
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 05:32
RE: Built in Currency Converter portlet Issue Muzakir Khan 3 de Maio de 2012 05:36
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 05:47
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 06:01
RE: Built in Currency Converter portlet Issue Hitesh Methani 3 de Maio de 2012 06:31
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 3 de Maio de 2012 06:38
RE: Built in Currency Converter portlet Issue Muzakir Khan 3 de Maio de 2012 20:47
RE: Built in Currency Converter portlet Issue Muzakir Khan 4 de Maio de 2012 03:40
RE: Built in Currency Converter portlet Issue Hitesh Methani 4 de Maio de 2012 05:29
RE: Built in Currency Converter portlet Issue Muzakir Khan 5 de Maio de 2012 00:12
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 5 de Maio de 2012 04:34
RE: Built in Currency Converter portlet Issue Muzakir Khan 6 de Maio de 2012 21:33
RE: Built in Currency Converter portlet Issue Hitoshi Ozawa 9 de Maio de 2012 03:21
RE: Built in Currency Converter portlet Issue Jitendra Rajput 9 de Maio de 2012 04:18
Muzakir Khan
Built in Currency Converter portlet Issue
4 de Maio de 2012 03:33
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi There!..
I have drag & dropped the Currency Converter portlet in my portal, and when I try to convert 10 USD to INR, the result I am getting is zero INR, and for all types of currency converters I am getting the same answer as zero, can anybody help me how to get the exact converted answer?..

Kind Regards
Khan
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 03:03
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Check if you're not getting error in your console or log file.
I think the currency converter needed connection to the internet because it was using some outside service.
Muzakir Khan
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 03:28
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi Hitoshi!
Thank you for your reply..
My PC is connected to Internet, but still there is no expected output.. Also there is no error at console.. Any Idea why the result is alwayz zero?..

Kind Regards
Khan
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 04:08
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Then don't know the reason because it sure is working on my page.
Anexo

Anexos: currency.png (24,5k)
Muzakir Khan
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 05:32
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Thank you Hitoshi!..
Happy to see that your currency portlet is working fine, but mine is not working.
The first image here is the screenshot before clicking the convert button and the second image here is the screenshot after
clicking the convert button.. Why is the look changing here and also why is the answer zero?.. Any Idea whats the problem?..
Anexo

Anexo

Anexos: Screenshot-3.png (36,4k), finaloutput.png (33,0k)
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 05:32
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

There's probably a problem with your internet connection. If you say there isn't, then there's a problem with your liferay setup or your server setup. There's nothing wrong with the portlet.
Anexo

Anexos: currency2.png (39,6k)
Muzakir Khan
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 05:36
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

I have tried this with all of my colleagues systems, but the same error.. Is it That this will work only in EE?.. I am using 6.1.0 CE..
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 05:47
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

I'm using 6.1.0 CE Tomcat bundle now to test this. Are you sure there's no proxy blocking web request?
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 06:01
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Try entering the following url in the web browser to see if you get any result. If not, you have network problem.

http://ichart.yahoo.com/t?s=^N225

The currency converter portlet is just calling this url.
Hitesh Methani
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 06:31
Resposta

Hitesh Methani

Ranking: Regular Member

Mensagens: 171

Data de entrada: 24 de Junho de 2010

Mensagens recentes

Hi Hitoshi and Muzakir,

Its even working for me, using liferay-tomcat-6.1-ce.


Thanks and Regards,
Hitesh Methani.
Anexo

Anexos: PhotoShare.png (11,4k)
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 06:38
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Thanks Hitesh for checking it out.

I think the site is being blocked out at their company network. Some companies don't want employees looking at non-work related pages and filter the url.
Muzakir Khan
RE: Built in Currency Converter portlet Issue
3 de Maio de 2012 20:47
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi thanks Hitoshi & Hitesh..
Yes Hitoshi you are right.. The particular URL has been blocked..
You are really a Liferay legend..

Thanks & Regards
Khan
Muzakir Khan
RE: Built in Currency Converter portlet Issue
4 de Maio de 2012 03:40
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi Hitoshi..
As you told, Now I have Unblocked this particular URL
http://ichart.yahoo.com/t?s=^N225, and after unblocking this URL, now the graph is been generated and displayed, but the converted answer still remains Zero..
Your further help will be greatly appreciated.

My output screenshot now is,

Thanks & Regards
Khan
Anexo

Anexos: output.png (25,9k)
Hitesh Methani
RE: Built in Currency Converter portlet Issue
4 de Maio de 2012 05:29
Resposta

Hitesh Methani

Ranking: Regular Member

Mensagens: 171

Data de entrada: 24 de Junho de 2010

Mensagens recentes

Hi Muzakir,

Can you confirm finance.yahoo.com is not blocked, because currency converter uses yahoo finance apis.

Thanks and Regards,
Hitesh Methani
Muzakir Khan
RE: Built in Currency Converter portlet Issue
5 de Maio de 2012 00:12
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi Hitesh!
Thank you for your rep.. Yes this URL is unblocked "finance.yahoo.com".. Then too bad luck.. No conversion, Ans still remains zeroemoticon emoticon..
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
5 de Maio de 2012 04:34
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Please enter the following url in your web browser if your have it installed on your liferay server to check if the following returns a csv text file. The url is being called from liferay and not from the client computer.

http://finance.yahoo.com/d/quotes.csv?s=EUR=X&f=sl1d1t1c1ohgv&e=.csv
Muzakir Khan
RE: Built in Currency Converter portlet Issue
6 de Maio de 2012 21:33
Resposta

Muzakir Khan

Ranking: Regular Member

Mensagens: 112

Data de entrada: 14 de Março de 2012

Mensagens recentes

Hi Hitoshi!
The above URL you mentioned is not getting opened.. What should I do next?.. Plz..

Thank You.
Hitoshi Ozawa
RE: Built in Currency Converter portlet Issue
9 de Maio de 2012 03:21
Resposta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensagens: 7949

Data de entrada: 23 de Março de 2010

Mensagens recentes

Ask your network administrator to unblock the site so your liferay server can get the needed information.
Jitendra Rajput
RE: Built in Currency Converter portlet Issue
9 de Maio de 2012 04:18
Resposta

Jitendra Rajput

Ranking: Liferay Master

Mensagens: 858

Data de entrada: 7 de Janeiro de 2011

Mensagens recentes

If you using Chrome then directly check for "quote.csv" in your Downloads folder .
And If you are using FireFox then it will prompt you for download CSV file .
And If you are using IE then you can directly see result in browser.