Custom tags are user defined tags. They eliminate the possibility of scriptlet tag and separates the business logic from JSP page and makes it reusable.Some examples of tasks that can be performed by custom tags include operating on implicit objects, processing forms, accessing databases and other enterprise services such as email and directories, and implementing flow control. Custom tags increase productivity because they can be reused in more than one application.
Questions tagged [custom-tag]
126 questions
1
vote
1 answer
how can i change list with custom tag in jsp?
I faced following problem with custom tag in JSP.
html content list generated by div custom tag when page loading end.
after that, i want to replace the list with ajax`s new data.
first, I emptied old list. and i made a html string(pdListHtml),…

soulrete
- 43
- 4
1
vote
1 answer
Javadoc for custom tags in JSP
I am creating a custom JSP tag using a class which extends TagSupport and a tld. I want to create a javadoc such that when a designer uses these tags, like for example in eclipse, on ctrl+space (in windows), the designer must get tag info and same…

Prabhat
- 2,261
- 7
- 46
- 74
1
vote
2 answers
Strange errors for custom tag in JSP file generating dynamic content
So I'm working on writing a web program in JSP, and Java servlets using the MVC architecture, where I have to list a bunch of items I retrieve from a database on a JSP page, using a custom forEach tag. I wrote the tag class:
package ps6;
import…
user550617
1
vote
0 answers
What is this notation and why does it work in Chrome?
I've just tried this:
canvas
And in Chrome (69.0.3497.100) it worked. But not IE 11 or Firefox.
And what is it? Obviously some…

Richard
- 4,809
- 3
- 27
- 46
1
vote
3 answers
Parse a custom tag using request information in JSP
I have a simple problem but I haven't had any luck finding the solution with Google.
I want to expand custom JSP tags but I want to be able to parse it differently depending on request information. For example the tag:
Should…

jd.
- 4,057
- 7
- 37
- 45
1
vote
1 answer
Google Tag Manager Custom HTML or Image tag not firing on "all pages"
Currently I am working on a tag implementation in Google Tag Manager which should be pretty straightforward and works just fine for readily available tag templates such as Google Analytics and/or Hotjar.
What I am trying to do is implement a custom…

Stefan Leever
- 672
- 5
- 10
1
vote
5 answers
Rails 3 with Liquid Custom Tags not found
I am trying to create a set of custom tags for some liquid templates using Rails 3. I added a 'liquid_tags.rb' in my lib/ directory with content like this:
class UserControls < Liquid::Tag
def…

Matt
- 61
- 6
1
vote
0 answers
create library of custom element html
I'm trying to create a custom element HTML5, I extend input tag
you can see my code here :
1
vote
1 answer
Passing JSON to custom ColdFusion tag
I am trying to passing in JSON into a custom tag
My tag looks like
...
When I get around to processing it I want to use:
Myspan = DeserializeJSON(attributes.span);
But it just crashes.
I can use
attributes.span …

James A Mohler
- 11,060
- 15
- 46
- 72
1
vote
2 answers
How is this custom tag configured?
I'm using this library https://github.com/tchatel/angular-treeRepeat
So to create a list of nodes this syntax is used :

blue-sky
- 51,962
- 152
- 427
- 752
1
vote
1 answer
How to read an attribute's value in a custom Struts2 tag?
I am customizing the Struts2 tag.
I've created a new attribute, encrypt; when it's set to true, it forces the encryption of the 's value with an ESAPI library.
The question is: how can I read the value of the custom…

Davide Serra
- 11
- 2
1
vote
2 answers
Add a custom tag to an url in xcode
It's Julian Again. In my project I have around 50 different urls and i need to group them into two groups. So that 25 of them are displayed in VC one and the rest in VC2. I wanted to add a tag, and then based on this tag distinguish the two groups…

Julian E.
- 4,687
- 6
- 32
- 49
1
vote
1 answer
DocuSign REST API (PHP) - pre-fill custom tags
I am working on project in which I need to use DocuSign API (PHP). This is my first experience with DocuSign and I successfully made template in DocuSign Console with roleName = signer. There I also made Custom Text Tags: address, city, state and…

nermingk
- 23
- 5
1
vote
1 answer
CSS 100% height not working with a custom tag
I have html and body set to 100% and same with loading-view but loading view doesn't have 100% height.
body {
position: relative;
min-height: 98%;
width: 98%;
display: table;
}
html {
height:…

Dylanthepiguy
- 1,621
- 18
- 47
1
vote
1 answer
Correct way of including JQuery resources in custom TagLib in Grails
I am making a custom TagLib for DateTime picker in grails. The code is as follows :
class jqueryDateTimePickerTagLib {
def dateTimePicker = {attrs, body ->
def out = out
def name = attrs.name //The name attribute is required for the tag…

mark
- 503
- 5
- 27