MCPcopy Index your code
hub / github.com/ButterFaces/ButterFaces

github.com/ButterFaces/ButterFaces @butterfaces-3.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release butterfaces-3.5.0 ↗ · + Follow
2,149 symbols 5,076 edges 312 files 242 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ButterFaces a smart JSF framework

Java CI with Maven License: MIT

What is ButterFaces?

YAJF - yet another JSF Framework. There are a lot of JSF frameworks like RichFaces or PrimeFaces. Most of them brings a lot of features and they feel like fat clients. ButterFaces is a lightweight JSF framework bringing a lot of nice features to JSF with beeing minimal invasive. Easy to use and easy to extend by custom features.

ButterFaces is a JSF 2 component enrichment framework. It wrappes most of default JSF 2 components and adds labels, readonly-views, tooltips, placeholder, validation style class marker and other nice features to the standard JSF 2 components.

Why ButterFaces?

It is simple: Because everything tastes better with butter. Plain JSF brings a lot of components but if you want to use them they are naked. There are no labels for input components, no tooltips except of titles and html5 is not supported. If you want to create a template supporting input and output components you have to implement both types of components.

ButterFaces creates a simple html structure based on twitters bootstrap around existing JSF components. You do not have already use bootstrap in your project - it comes with ButterFaces. And if you do not want to use bootstrap styles or you have your own version you can disable it easily by configuring it in your web.xml.

What about the license?

ButterFaces stands under MIT License. So feel free to use it. Feel free to customize it. Feel free to sell it. But let us know how it works and what kind of problems you have.

What about a documentation?

Take a look at our showcase or documentation

Extension points exported contracts — how you extend this code

Tooltip (Interface)
Created by larmic on 22.01.15. [9 implementers]
components/src/main/java/org/butterfaces/component/html/feature/Tooltip.java
MaxLengthIndicatorOptions (Interface)
(no doc)
components/nodejs/src/butterfaces-ts/butterfaces-maxlength.jquery.ts
HideLabel (Interface)
Created by larmic on 22.01.15. [10 implementers]
components/src/main/java/org/butterfaces/component/html/feature/HideLabel.java
ButterFacesTrivialEntry (Interface)
(no doc)
components/nodejs/src/butterfaces-ts/butterfaces-trivial-components-wrapper.ts
Placeholder (Interface)
Created by larmic on 22.01.15. [19 implementers]
components/src/main/java/org/butterfaces/component/html/feature/Placeholder.java
ButterFacesTrivialTreeEntry (Interface)
(no doc)
components/nodejs/src/butterfaces-ts/butterfaces-trivial-components-wrapper.ts
SupportedFacets (Interface)
Created by larmic on 22.01.15. [9 implementers]
components/src/main/java/org/butterfaces/component/html/feature/SupportedFacets.java
RequestOptions (Interface)
(no doc)
components/nodejs/src/type-definition/jsf-ajax/index.d.ts

Core symbols most depended-on inside this repo

appendInnerContent
called by 789
showcase/src/main/java/org/butterfaces/component/showcase/example/XhtmlCodeExample.java
appendInnerContent
called by 364
showcase/src/main/java/org/butterfaces/component/showcase/example/EnumCodeExample.java
appendInnerContent
called by 205
showcase/src/main/java/org/butterfaces/component/showcase/example/JavaCodeExample.java
isNotEmpty
called by 125
components/src/main/java/org/butterfaces/util/StringUtils.java
equals
called by 82
components/src/main/java/org/butterfaces/model/tree/EnumTreeBoxWrapper.java
getClientId
called by 71
components/src/main/java/org/butterfaces/component/html/HtmlInputComponent.java
isEmpty
called by 61
components/src/main/java/org/butterfaces/util/StringUtils.java
getValue
called by 59
components/src/main/java/org/butterfaces/component/html/HtmlInputComponent.java

Shape

Method 1,779
Class 249
Function 54
Enum 36
Interface 31

Languages

Java94%
TypeScript6%

Modules by API surface

showcase/src/main/java/org/butterfaces/component/showcase/table/TableShowcase.java58 symbols
components/src/main/java/org/butterfaces/component/html/repeat/UIDataAdaptor.java49 symbols
showcase/src/main/java/org/butterfaces/component/showcase/commandLink/CommandLinkShowcase.java41 symbols
showcase/src/main/java/org/butterfaces/component/showcase/tree/TreeShowcase.java39 symbols
components/src/main/java/org/butterfaces/component/html/table/HtmlTable.java36 symbols
components/src/main/java/org/butterfaces/component/html/tree/HtmlTree.java34 symbols
showcase/src/main/java/org/butterfaces/component/showcase/AbstractInputShowcase.java33 symbols
showcase/src/main/java/org/butterfaces/component/showcase/calendar/CalendarShowcase.java30 symbols
components/src/main/java/org/butterfaces/component/html/table/HtmlColumn.java29 symbols
showcase/src/main/java/org/butterfaces/component/showcase/tree/TreeBoxShowcase.java28 symbols
components/src/main/java/org/butterfaces/component/html/HtmlTooltip.java28 symbols
components/nodejs/src/butterfaces-ts/butterfaces-expandable.jquery.ts27 symbols

For agents

$ claude mcp add ButterFaces \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page