Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Velcrotag is a JSP tag library targeted toward generating/decorating the HTML table. I know at this point you may ask why another HTML tag while there are several tag libraries available like DisplayTag or even the whole framework like JSF, Tapestry or Wicket currently have HTML component ... [More] available. I have several reasons to create this project: Tons of enterprise projects are still using JSP technology. I don't think we will just get rid of JSP in one day and switch to some other revolutionary framework like Tapestry or Wicket. This is the reason why framework like Struts or Spring MVC would prevail just because they are evolutionary! Some other tag libraries like DisplayTag is just so bloated and difficult to use or reused. It also require a lot more time to read the documentation and configure. Creating a open source projects to help others is fun! Some example of how this JSP ta can be used Simple table: Table with custom inline item renderer: Alert More sophisticated table with nested table tag inside: U.S.A ${nestedTableRow.country} N/A OK, now you have the idea. You can specify the item renderer for each column using either: ust the data field name of the collection: Ognl is being used to get the object property he inline item renderer: as you see above with JSTL and EL syntax ustom/reusable item renderer class. So please jump in, use it, requesting new features or help me develop it. [Less]

0
 
  0 reviews  |  0 users  |  928 lines of code  |  0 current contributors  |  Analyzed 8 days ago
 
 

We moved - We decided to move our project to http://cftl.riaforge.org/ We won't update the code here any more. So please go there to get the latest code. Creating a ColdFusion Tag Library like Webwork's tag library for non-framework, Fusebox framework, and possibly Model-Glue framework. ... [More] The library is created for CFMX 7. Right now only the Fusebox version is in the work. The goal of this project is to limit human-errors, maintain consistent, shorten development time, and take care various mundane activities when developing UI. It does nothing more than what an average developer cannot do himself. So don't expect the 'wow' effect! Goals: 1. Reduce/eliminate the needs for # signs in creating forms 2. Reduce/eliminate the needs for cfparams in creating forms 3. Reduce the needs for manually writing client and server-side validation 4. Reduce redundant typing in creating forms 5. Create 508 compliance forms Please read the Planning documentation under the Links section on the right for more information. Here is an example of how you create and edit accounts with cfTagLib:             You may have noticed that there are no # signs in the form. Update: I just made modification to the library so that it would work with non-framework sites. It won't have as much features such the other ones, but it should work. - 12/05/2006 [Less]

0
 
  0 reviews  |  0 users  |  2,963 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

Introductiongranizo is custom JSP tag library that allows you to traverse an arbitrary tree structure. granizo is very flexible on accepting input as it does not require a specific type for its input attribute and can transform any object provided to a tree structure. UsagePut the jar in the ... [More] classpath, for example /WEB-INF/lib/ Add a reference to the custom tag at the top of the JSP file <%@taglib uri="http://code.google.com/granizo" prefix="granizo"%> You can now use granizo in your JSP page Current element is ${status.element} at level ${status.level} Tag atributes Name Required Description tree true The root element(s) of the tree to iterate over. This can be any Java object. connectMethod true The method that will be invoked on each tree element to retrieve the child nodes. var false Name of the exported variable. The exported object is of type org.granizo.treetag.TreeIteratorStatus SampleUse case: show an organigram of a company where each employee can have 0, 1 or multiple subordinates. Employee class package org.granizo.test; import java.util.List; public class Employee { private List subordinates; private String name; public Employee(String name) { this.name = name; } public List getSubordinates() { return subordinates; } public void setSubordinates(List subordinates) { this.subordinates = subordinates; } public String getName() { return name; } public void setName(String name) { this.name = name; } }organigram.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@page import="org.granizo.test.Employee"%> <%@page import="java.util.Arrays"%> <%@taglib uri="http://code.google.com/p/granizo" prefix="granizo"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> Organizational chart <% // Setting up data Employee jim = new Employee("Jim"); Employee tom = new Employee("Tom"); Employee marc = new Employee("Marc"); Employee dave = new Employee("Dave"); Employee kelly = new Employee("Kelly"); Employee bob = new Employee("Bob"); // Build the tree jim.setSubordinates(Arrays.asList(tom, marc)); tom.setSubordinates(Arrays.asList(dave, kelly)); kelly.setSubordinates(Arrays.asList(bob)); // Put the root element into page context pageContext.setAttribute("orgTree", jim); %> Here is the organigram: ${status.element.name} Here is the output: Jim Tom Dave Kelly Bob Marc [Less]

0
 
  0 reviews  |  0 users  |  223 lines of code  |  0 current contributors  |  Analyzed almost 2 years ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.