Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Nguyen Van Chuong
Ask about some liferay 6.1 GA1 taglib ?
February 8, 2012 7:20 PM
Answer

Nguyen Van Chuong

Rank: New Member

Posts: 13

Join Date: January 23, 2012

Recent Posts

Hello everybody. have a nice day.
In liferay 6.1GA1, i want to use some taglibs :
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>

but jsp file is wrong , does not liferay 6.1GA1 support this taglibs ?
thanks
Jorge Jiménez Barra
RE: Ask about some liferay 6.1 GA1 taglib ?
February 15, 2012 12:51 AM
Answer

Jorge Jiménez Barra

Rank: New Member

Posts: 17

Join Date: February 24, 2011

Recent Posts

I'm not sure if it is right, but I use these tags as follows:
  1. <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
    web.xml add the line:
    1
    2        <taglib>
    3                <taglib-uri>http://liferay.com/tld/aui</taglib-uri>
    4            <taglib-location>/WEB-INF/tld/aui.tld</taglib-location>
    5        </taglib>
    6

    and the file aui.tld if not exist
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    Then your server probably doesn´t have the JSTL libs, download this library and add it to proyect


Good luck and sorry for my bad English
Nguyen Van Chuong
RE: Ask about some liferay 6.1 GA1 taglib ?
February 17, 2012 6:41 AM
Answer

Nguyen Van Chuong

Rank: New Member

Posts: 13

Join Date: January 23, 2012

Recent Posts

hi thanks Jorge Jiménez Barra !
I have done as you say, and they have worked well .
hi my english is also bad .