Hello All,
in my design I would like to show a country flag based on a country code.
Something similar just like in the following datatable showcase
http://www.primefaces.org:8080/showcase ... fwid=0528b
Can somebody tell me how can I get/use these kind of icons? Is it built in Primefaces or is it
some third party icons?
Many thanks in advance for your help and best regards,
Krisztyan
Country flag icons in Rain
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
Please add "src/main/webapp/resources/demo/css/flags" folder from rain tag folder to your project and import css file path to your xhtml head. After than you can use these flags with css tags. For example:
Best Regards,
Please add "src/main/webapp/resources/demo/css/flags" folder from rain tag folder to your project and import css file path to your xhtml head. After than you can use these flags with css tags. For example:
Code: Select all
<span class="flag flag-#{customer.country.code}" style="width: 30px; height: 20px"/>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests