Questions tagged [taglib]

TagLibs is a shortened form of "Tag Libraries". Tag Libraries are libraries that include "tags". Tags are usually used to address presentation concerns and encapsulate view-specific logic.

TagLibs is a shortened form of Tag Libraries. Tag Libraries are libraries that include tags. Tags are usually used to address presentation concerns and encapsulate view-specific logic.

Taglibs usually contain tags that encapsulate different kinds of view components (for example, data grids or form elements). These tags can also contain view-specific logic that allows for binding of server-side values to client-side form elements. Some taglibs also contain tags that can be used for logging or for security (authentication).

960 questions
13
votes
4 answers

GWT/Eclipse/Jetty issue: Jasper can't resolve tag libraries

I'm trying to get GWT Hosted mode working in Eclipse, à la this HOWTO. Servlets work fine, as does my GWT code, but all my JSPs fail because with errors such as the following: [WARN] /view/lniExecutiveSummary.htm org.apache.jasper.JasperException:…
George Armhold
  • 30,824
  • 50
  • 153
  • 232
13
votes
2 answers

Can not find the tag library descriptor for http://java.sun.com/jsf/facelets

I've a JSP with <%@taglib uri="http://java.sun.com/jsf/facelets" prefix="ui" %> However it errors with The absolute uri: http://java.sun.com/jsf/facelets cannot be resolved in either web.xml or the jar files deployed with this application I have…
Lorenzo Manucci
  • 850
  • 2
  • 14
  • 28
13
votes
2 answers

How to add TLD and Tag Lib files into a Maven's jar project

I have a Maven project that is packaged as jar. And I also have a Maven project that is packaged as war. This war project has a tld file and some xhtml files (the tag libs). The structure of the war project is (basically): pom.xml src main …
bluefoot
  • 10,220
  • 11
  • 43
  • 56
12
votes
2 answers

how to get file properties?

I want an application which displays the some file properties of a mediafile if available, like (don't know the exact english words used in windows for it) FileName, Length/Duration, FileType(.avi .mp3 etc.) I tried taglib and windowsapishell but I…
12
votes
2 answers

Need help trying to make Cmake find third party libraries

I currently have a project that links to two third party libraries. These libraries have to be built by themselves and then linked to the project. One is taglib and the other is zlib. I noticed that when you use the Cmake-gui program on the taglib…
Dr.McNinja
  • 455
  • 1
  • 6
  • 15
12
votes
4 answers

eclipse jsp the function fn:escapeXml is undefined

I am beginning my first google app engine jsp project. I am following the tutorial for the guestbook from here: https://developers.google.com/appengine/docs/java/gettingstarted/introduction. I am on the datastore step (…
MrGibbage
  • 2,644
  • 5
  • 39
  • 50
12
votes
3 answers

JSP Tag Files in subdirectories, using a single taglib prefix. Is that possible?

I currently have my .tag files declared with: <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> Example of the path of a tag file : /WEB-INF/tags/test.tag And I use them like so : some…
electrotype
  • 8,342
  • 11
  • 59
  • 96
11
votes
4 answers

Intercepting Grails GSP actions on either client or server side

Grails 2.4.5 here. I am trying to implement the following UX behavior for my GSPs: If a user has permission to click a button, then they may do so; however If the user doesn't have permission to click a button, then when they click the button, a…
smeeb
  • 27,777
  • 57
  • 250
  • 447
11
votes
1 answer

taglibs and variable declarations generate empty lines at the top of source page

I have declared some taglibs and variables in my jsp page as below: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib prefix="fmt"…
tokhi
  • 21,044
  • 23
  • 95
  • 105
11
votes
2 answers

Why use in Grails?

What is the reason to use g:textField in Grails if you're already familiar with standard HTML form tags? If I understand correctly the following two markup alternatives are equivalent:
knorv
  • 49,059
  • 74
  • 210
  • 294
10
votes
4 answers

How to set the "Media created" date on an MPEG-4 file

I have many MPEG-4 files transcoded from various digital camera formats for which the file system modified date is correct. I'd like to set the "Media Created" tag to match. This can be done manually in Windows Explorer via the Details tab of the…
Edward Brey
  • 40,302
  • 20
  • 199
  • 253
10
votes
2 answers

Passing a enum value as a tag attribute in JSP

I have a custom JSP tag which is using a parameter which is an enum. This approach is a consequence of using other classes which need this enumeration. The point is I have no clue how to assign an enum value in the EL:
jakubiszon
  • 3,229
  • 1
  • 27
  • 41
10
votes
4 answers

Using varargs in a Tag Library Descriptor

Is it possible to have a TLD map to the following function: public static T[] toArray(T... stuff) { return stuff; } So that I can do:
Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197
10
votes
4 answers

How do I use TagLib to read/write coverart in different audio formats?

I would like to use TagLib to read/write coverart especially for mp3 AND ogg files, but I couldn't find any examples. Could someone point me to some examples? Where should I look to find more information about this?
Bernd
  • 1,201
  • 3
  • 12
  • 10
10
votes
3 answers

Grails: Rendering template from taglib as HTML

I'm trying to render my template from taglib: out << g.render(template: "/menu/sidebar") This is what my sidebar template looks like:
  • TEST1
  • TEST2
When I inspect my page in browser, whole template code appears…
Saraph
  • 992
  • 1
  • 11
  • 25
1
2
3
63 64