Tag reference sheet

Tag library reference for the following tag libraries:

f4j - version 1.0

Flattr4j Tag Library

Namespace definition: xmlns:f4j="http://flattr4j.shredzone.org/taglib/f4j"

Tags

  • attribute An optional HTML attribute for the parent flattr4j tag
  • button Creates a Flattr button
  • loader Creates a JavaScript loader tag
  • static Creates a static Flattr button
  • tag An optional Thing tag for the parent button tag

Required attributes are marked with a*

<f4j:attribute>

An optional HTML attribute for the parent flattr4j tag.

Can contain:JSP

Attributes

Name Description Type
name* Attribute name String
value Attribute value String

<f4j:button>

Creates a Flattr button.

Can contain:JSP

Attributes

Name Description Type
button Button type (or ButtonType object) String
category Thing category (either category ID or Category object) String
description Thing description String
hidden Hide the thing at Flattr boolean
html5 Generate a HTML5 link boolean
language Thing language (either language ID or Language object) String
popout Always show or hide a popout when hovering mouse over button boolean
prefix HTML5 attribute prefix String
revsharekey Revenue share key String
scope Scope to write to String
style HTML style attribute String
styleClass HTML class attribute String
title Thing title String
url* URL of the own page registered with Flattr String
user User id or User object String
var Write the result to this variable String

<f4j:loader>

Creates a JavaScript loader tag.

Can contain:JSP

Attributes

Name Description Type
bare Generate a bare JavaScript without surrounding tag boolean
button Button type (or ButtonType object) String
category Thing category (either category ID or Category object) String
https Use https for the loader and the buttons boolean
language Thing language (either language ID or Language object) String
manual Initialize the loader manually boolean
popout Always show or hide a popout when hovering mouse over button boolean
prefix HTML5 attribute prefix String
scope Scope to write to String
user User id or User object String
var Write the result to this variable String

<f4j:static>

Creates a static Flattr button.

Can contain:JSP

Attributes

Name Description Type
badge Badge type (or BadgeType object) String
badgeUrl URL of a badge image to be used String
scope Scope to write to String
style HTML style attribute String
styleClass HTML class attribute String
thing* URL of the registered Thing at Flattr String
var Write the result to this variable String

<f4j:tag>

An optional Thing tag for the parent button tag.

Can contain:JSP

Attributes

Name Description Type
list List of tags to add java.util.Collection
value Tag to add String