Coder Social home page Coder Social logo

liferay-faces-generator's Introduction

Liferay Faces Generator

The Liferay Faces Generator is a code generator designed to generate Java Server™ Faces (JSF) custom components and taglib.xml files. The aim of the generator is to reduce the errors and duplicated work associated with writing JSF custom components. The generator takes as input a single taglib.xml-like file and outputs custom components and a taglib.xml file.

License

GNU Lesser General Public License (LGPL), Version 2.1

Building From Source

Using Maven 3.x:

mvn clean install

Usage

The generator can be used from the command-line like so:

liferay-faces-generator.jar new-tags.xml

The generator can also be used with maven via the exec-maven-plugin:

<plugin>
	<groupId>org.codehaus.mojo</groupId>
	<artifactId>exec-maven-plugin</artifactId>
	<version>1.2.1</version>
	<executions>
		<execution>
			<goals>
				<goal>java</goal>
			</goals>
			<phase>generate-sources</phase>
			<configuration>
				<includeProjectDependencies>false</includeProjectDependencies>
				<includePluginDependencies>true</includePluginDependencies>
				<mainClass>com.liferay.faces.generator.Generator</mainClass>
				<arguments>
					<argument>new-tags.xml</argument>
				</arguments>
				<executableDependency>
					<groupId>com.liferay.faces.generator</groupId>
					<artifactId>liferay-faces-generator</artifactId>
				</executableDependency>
			</configuration>
		</execution>
	</executions>
	<dependencies>
		<dependency>
			<groupId>com.liferay.faces.generator</groupId>
			<artifactId>liferay-faces-generator</artifactId>
			<version>1.0-SNAPSHOT</version>
		</dependency>
	</dependencies>
</plugin>

Community Participation

Please post questions in the Liferay Faces Forum. Defects and feature requests can be posted in the Liferay Faces Issue Tracker.

liferay-faces-generator's People

Contributors

stiemannkj1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.