com.jslsolucoes:tagria-tag-base-v4

Action based component suit that integrates with spring mvn,vraptor,struts 2,servlet and any kind of action based mvn framework


Licenses
Apache-2.0/libpng-2.0

Documentation

tagria

Tagria is an open source component suit framework that help build beautiful view in minutes. Tagria integrates perfectly with any action based mvc framework for java : Tagria it`s easy , fast and productive.

Tested at moment in MVC frameworks and specs :

  • Spring MVC
  • Vraptor
  • Struts
  • Servlet
  • Mentawai

Tested at moment in applications servers :

  • Tomcat
  • Jetty
  • Wildfly
  • Jboss
  • Websphere

Features :

  • Full html5,css3 support
  • Cross browser support components
  • Responsive
  • W3C compatible
  • Support for i18n (internationalization)

The demo and documentation about components of tagria is hosted in : https://doc-tagrialib.jslsolucoes.com


Quick start installation and configuration :

Add latest maven dependency to your project : check for versions here

	
<dependency>
	<groupId>com.jslsolucoes</groupId>
	<artifactId>tagria-lib-v4</artifactId>
	<version>latest-version</version>
</dependency>
	

Create an jsp for example index.jsp and import directives

	
	
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/html" prefix="html"%>
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/ajax" prefix="ajax"%>
<%@ taglib  uri="http://v4.tagria.jslsolucoes.com/tags/x" prefix="x"%>
<%@ taglib uri="http://v4.tagria.jslsolucoes.com/tags/security" prefix="security"%>
<html:view title="My title">
	<html:alert state="info">
		My firts view	
	</html:alert>
</html:view>

Some configuration can be change by creating an tagrialib.xml file in source folder like, all options is optional by default :

	
	<?xml version="1.0" encoding="ISO-8859-1" ?>
	<tagrialib>
		<templates>
			<template>
				<name>master</name>
				<path>/WEB-INF/jsp/app/template.jsp</path>
			</template>
		</templates>
		<formatters>
			<formatter>
				<class>com.package.YourFormatterThatImplementsFormatterInterface</class>
			</formatter>
		</formatters>
		<warning>
			<componentMountTimeThreshold>200</componentMountTimeThreshold>
			<componentDataSetThreshold>300</componentDataSetThreshold>
		</warning>
		<cdn>
			<enabled>false</enabled>
			<url>d35ckkxcy33ron.cloudfront.net</url>
		</cdn>
		<encoding>UTF-8</encoding>
		<skin>default</skin>
		<locale>en</locale>
		<security>
			<class>com.package.YourAuthorizerThatImplementsAuthorizerInterface</class> 
		</security>
	</tagrialib> 
	

if you want, can configure servlet manually

	
		<servlet>
			<servlet-name>tagria-v4</servlet-name>
			<servlet-class>com.jslsolucoes.tagria.lib.v4.servlet.Tagria</servlet-class>
		</servlet>
		
		 <servlet-mapping>
			<servlet-name>tagria-v4</servlet-name>
			<url-pattern>/tagria/v4/*</url-pattern>
		</servlet-mapping>
		
		<servlet>
			<servlet-name>tagria-exporter-v4</servlet-name>
			<servlet-class>com.jslsolucoes.tagria.lib.v4.servlet.TagriaExporter</servlet-class>
		</servlet>
		
		 <servlet-mapping>
			<servlet-name>tagria-exporter-v4</servlet-name>
			<url-pattern>/tagria-exporter/v4</url-pattern>
		</servlet-mapping>
	

TagriaLib Framework has some official certification programs. Become an Tagria Library Framework Certified and demonstrate understanding of fundamental TagriaLib concepts needed to undertake any web java project using Tagria Library Framework as view framework.

Authorized companies as TagriaLib Framework Certification Test Center:

If you want be a TagriaLib Framework Certification Test Center partner please contact us via issue request (https://github.com/jslsolucoes/tagria/issues)