Provides all custom tags of the kaon portal which can be used in the java server pages. The tags provide reusable and configurable formatting elements like tabbed tables and menuitems. Other tags provide an easy way to access ontology data and manage the resulting lists of entity objects.

Tag description

This is a small description of the possibilities the custom tags of the de.fzi.wim.kaonportal.tags package give so far.

Tags that have have access to the ontology handling objects (they extend {@link de.fzi.wim.kaonportal.tags.AbstractObjectAccess})

Tagname Tagclass Bodytype Attributes Description
rootconcepts {@link de.fzi.wim.kaonportal.tags.RootConceptsTag} JSP Scripting variables
  • rootconcepts
This tag reads the root concepts from the current ontology and copies them to a scripting variable or an enclosing tag that implements the IteratorConsumer interface.
search {@link de.fzi.wim.kaonportal.tags.SearchTag} JSP Normal attributes
  • query
Scripting variables
  • results
This tag performs a search in the current ontology.
entitylabel {@link de.fzi.wim.kaonportal.tags.EntityLabelTag} empty Normal attributes
  • uri
  • type
Returns the label of a entity.
relatedentities {@link de.fzi.wim.kaonportal.tags.RelatedEntitiesTag} JSP Normal attributes
  • uri
  • type
  • relation
Scripting variables
  • relatedentities
This tag returns entities having the specified relation with the current entity.
changeontology {@link de.fzi.wim.kaonportal.tags.ChangeOntologyTag} JSP Scripting variables
  • ontologylinks
Prints a list of links to change the current ontology.

Tags that implement the {@link de.fzi.wim.kaonportal.tags.IteratorConsumer} interface and are used to neatly print certain lists of {@link edu.unika.aifb.kaon.api.oimodel.Entity} objects

Tagname Tagclass Bodytype Attributes Description
ncolumntable {@link de.fzi.wim.kaonportal.tags.NColumnTableTag} JSP Normal attributes
  • numcolumns
  • width
  • elementclass
  • additionalelementclass
  • tableexists
Scripting variables
  • iteratorname
Tag prints out a list of values to a table of n columns.
attributetable {@link de.fzi.wim.kaonportal.tags.AttributeTableTag} JSP Normal attributes
  • uri
  • type
  • width
  • nameclass
  • valueclass
  • tableexists
Scripting variables
  • iteratorname
Tag prints out the supplied list of attributes either into an existing table or a new table.
relatedinstancestable {@link de.fzi.wim.kaonportal.tags.RelatedInstancesTableTag} JSP Normal attributes
  • uri
  • type
  • width
  • relationtypeclass
  • instancesclass
  • tableexists
Scripting variables
  • iteratorname
Tag prints out the supplied list of related instances either into an existing table or a new table.

Tags that are mainly responsible for formatting output

Tagname Tagclass Bodytype Attributes Description
tabtable {@link de.fzi.wim.kaonportal.tags.TabtableTag} JSP Normal attributes
  • titleclass
  • contentclass
  • width
  • title
This tag encloses its body content in a tabbed table.
menuitem {@link de.fzi.wim.kaonportal.tags.MenuItemTag} JSP Normal attributes
  • titleclass
  • contentclass
  • width
  • title
  • tableexists
This tag encloses its body content in a menu item.
headline {@link de.fzi.wim.kaonportal.tags.HeadlineTag} empty Normal attributes
  • cssclass
Encloses the body in a div tag with and applies a specified css class.
formaturl {@link de.fzi.wim.kaonportal.tags.FormatUrlTag} JSP Normal attributes
  • url
Scripting variables
  • output
This tag is used to encode an url correctly.

Tags that handle internationalization aspects

Tagname Tagclass Bodytype Attributes Description
phrase {@link de.fzi.wim.kaonportal.tags.PhraseTag} JSP Normal attributes
  • key
Scripting variables
  • output
This tag is used to specify the key of a phrase which should be inserted according to the currently selected language.
orientation {@link de.fzi.wim.kaonportal.tags.OrientationTag} JSP Scripting variables
  • output
This tag is used to retrieve the orientation of the current language.
changelanguage {@link de.fzi.wim.kaonportal.tags.ChangeLanguageTag} JSP Scripting variables
  • languagelinks
Prints a list of links to change the current language.

Flow control tags

Tagname Tagclass Bodytype Attributes Description
onhaselements {@link de.fzi.wim.kaonportal.tags.OnHasElementsTag} JSP Scripting variables
  • iteratorname
Flow control tag that includes its body only if the supplied iterator has more elements. This tag implements the {@link de.fzi.wim.kaonportal.tags.IteratorConsumer} interface to retrieve the iterator to evaluate.
onnothaselements {@link de.fzi.wim.kaonportal.tags.OnNotHasElementsTag} JSP Scripting variables
  • iteratorname
Flow control tag that includes its body only if the supplied iterator has no more elements. This tag implements the {@link de.fzi.wim.kaonportal.tags.IteratorConsumer} interface to retrieve the iterator to evaluate.

Tags that are used for user handling

Tagname Tagclass Bodytype Attributes Description
userlogin {@link de.fzi.wim.kaonportal.tags.UserLoginTag} empty Normal attributes
  • forcelogin
  • requirepassword
  • requirelogin
  • requirelogout
  • width
  • textclass
  • tableexists
Tag prints out either a login form or the current user.