O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Many other useful UI tags

Furthermore, you would like to use more UI taglib in your portlets such as captcha, flash, group search, user display, user search, and header, as shown in the following table. Note that the tag liferay-ui:captcha is going to display CAPTCHA by default or reCAPTCHA when reCAPTCHA is enabled in Control Panel | Server Administration | CAPTCHA and both public key and private key are provided as well.

Name

Tag

Sample code

Attributes

captcha

liferay-ui:captcha

<liferay-ui:captcha url="<%= captchaURL %>" />

required - url

flash

liferay-ui:flash

<liferay-ui:flash

allowFullScreen="true"

allowScriptAccess="true"

height="<%= height %>"

movie='<%= _SWF_URL + "?" + sb.toString() %>'

width="<%= width %>" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required