Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/4lejandrito/liferay-pokemon-item-selector

Code for Liferay's /dev/24 talk
https://github.com/4lejandrito/liferay-pokemon-item-selector

liferay liferay-portal liferay-portlet pokemon

Last synced: about 1 month ago
JSON representation

Code for Liferay's /dev/24 talk

Awesome Lists containing this project

README

        

# Liferay Pokémon Item Selector

Code for Liferay's [/dev/24](https://liferay.dev/24) talk.

Follow [the commits](https://github.com/4lejandrito/liferay-pokemon-item-selector/commits) for a step by step explanation.

**Note:** The new [ItemSelectorViewDescriptor](https://github.com/liferay/liferay-portal/blob/master/modules/apps/item-selector/item-selector-api/src/main/java/com/liferay/item/selector/ItemSelectorViewDescriptor.java) API used in this demo is available from [7.3.0-ga1](https://github.com/liferay/liferay-portal/releases/tag/7.3.0-ga1) onwards and the `openSelectionModal` js function is available from [7.3.5-ga6](https://github.com/liferay/liferay-portal/releases/tag/7.3.5-ga6).

![Screenshot of the Pokémon item selector open](screenshot.png)

To run it locally clone the repo and run:

```bash
LIFERAY_HOME= ./gradlew deploy
```

On my computer I run it like this:

```bash
LIFERAY_HOME=~/Projects/liferay-ce/bundles ./gradlew deploy
```

## Item selector docs
* [Overview](https://help.liferay.com/hc/en-us/articles/360017888852-Item-Selector).
* [API Components](https://help.liferay.com/hc/en-us/articles/360018167811-Understanding-the-Item-Selector-API-s-Components-).

## Thanks

[@ambrinchaudhary](https://github.com/ambrinchaudhary) & [@boton](https://github.com/boton) for their awesome JS.