jsf-ajax — how to use jsf-ajax how to use jsf-ajax, jsf-ajax setup guide, jsf-ajax alternative, jsf-ajax vs primefaces, what is jsf-ajax, jsf-ajax install, jsf-ajax best practices, jsf-ajax tutorial, jsf-ajax examples

v1.0.0
GitHub

About this Skill

Ideal for Java EE Agents requiring efficient AJAX updates and JSF component management. jsf-ajax is an Open Source Java EE based skill for efficient AJAX updates in Hospital Information Management Systems

Features

Uses JSF components like h:panelGroup and p:outputPanel for AJAX updates
Applies rendered attribute rules with h:panelGroup layout="block"
Utilizes p:resolveFirstComponentWithId for component references
Follows critical rules for AJAX updates, such as avoiding plain HTML elements
Supports efficient updates with clientId using p:resolveFirstComponentWithId

# Core Topics

hmislk hmislk
[0]
[0]
Updated: 3/11/2026

Quality Score

Top 5%
45
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add hmislk/hmis/jsf-ajax
Supports 18+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The jsf-ajax MCP Server by hmislk is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use jsf-ajax, jsf-ajax setup guide, jsf-ajax alternative.

Ideal Agent Persona

Ideal for Java EE Agents requiring efficient AJAX updates and JSF component management.

Core Value

Empowers agents to leverage JSF components like h:panelGroup and p:outputPanel for seamless AJAX updates, while adhering to critical rules such as the AJAX UPDATE RULE and RENDERED ATTRIBUTE RULE, utilizing protocols like JSF and libraries including PrimeFaces.

Capabilities Granted for jsf-ajax MCP Server

Updating JSF components with AJAX
Managing rendered attributes for dynamic content
Resolving component references with p:resolveFirstComponentWithId

! Prerequisites & Limits

  • Requires Java EE environment
  • JSF components must be used instead of plain HTML elements
  • Specific guidelines must be followed for AJAX updates and rendered attributes
Project
SKILL.md
2.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

JSF AJAX Update Guidelines

Critical Rules

  1. AJAX UPDATE RULE: NEVER use plain HTML elements (div, span) with id attributes for AJAX updates - use JSF components (h:panelGroup, p:outputPanel) instead
  2. RENDERED ATTRIBUTE RULE: NEVER use rendered on plain HTML elements - JSF ignores it; use h:panelGroup layout="block" instead
  3. COMPONENT REFERENCES: Use p:resolveFirstComponentWithId for updates: update=":#{p:resolveFirstComponentWithId('componentId',view).clientId}"
  4. NO CSS/jQuery SELECTORS: NEVER use @(.class), @(#id), @parent in update or process attributes. Use @this, @form, explicit IDs, or :#{p:resolveFirstComponentWithId(...)}

Wrong vs Correct

xhtml
1<!-- WRONG - Plain HTML, AJAX silently fails --> 2<div id="stockSelection"> 3 <!-- content --> 4</div> 5<p:commandButton update="stockSelection" /> 6 7<!-- CORRECT - JSF component, AJAX works --> 8<h:panelGroup id="stockSelection"> 9 <div><!-- content --></div> 10</h:panelGroup> 11<p:commandButton update="stockSelection" />

Updating Growl/Messages

The growl component is in template.xhtml outside forms. Use absolute ID with colon prefix:

xhtml
1<!-- CORRECT --> 2<p:commandButton action="#{bean.save}" update="myTable :growl" /> 3 4<!-- WRONG - Do NOT use CSS selectors --> 5<p:commandButton update="@(.ui-growl)" />

JSF Components for AJAX Updates

  • h:panelGroup - Lightweight wrapper, no HTML output
  • p:outputPanel - PrimeFaces panel, renders as <span> or <div>
  • h:div - Renders as HTML <div>
  • h:form - For updating entire form sections
  • p:panel - Full-featured panel with header/footer

Debugging

  1. Check browser console for JavaScript errors
  2. Verify target element is a JSF component (not plain HTML)
  3. Use browser dev tools to confirm JSF-generated id
  4. Test with h:panelGroup wrapper if updates fail
  5. Check component hierarchy - nested components affect id resolution

For complete reference, read developer_docs/jsf/ajax-update-guidelines.md.

Related Skills

Looking for an alternative to jsf-ajax or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear is a workflow management system that enables multi-agent collaboration, effortless agent team design, and introduces agents as the unit of work interaction.

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication