jsf-ajax

Automates AJAX updates in JSF apps by enforcing component-based best practices and debugging PrimeFaces callbacks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/withmartian-sandbox/ghrc-x-a78d77e2f0a84f43b4d486d418566b5b --skill jsf-ajax-withmartian-sandbox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jsf-ajax
Source: https://github.com/withmartian-sandbox/ghrc-x-a78d77e2f0a84f43b4d486d418566b5b/tree/main/.claude/skills/jsf-ajax
Command: npx skills add https://github.com/withmartian-sandbox/ghrc-x-a78d77e2f0a84f43b4d486d418566b5b --skill jsf-ajax-withmartian-sandbox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates safe and consistent AJAX updates in JSF applications by enforcing best practices for component-based updates.

Core Features & Use Cases

  • Enforces using JSF components (e.g., h:panelGroup, p:outputPanel) for AJAX updates instead of plain HTML elements
  • Guides correct update and process attribute usage, avoiding brittle CSS selectors in update expressions
  • Provides debugging guidance for common PrimeFaces AJAX issues and partial page rendering scenarios in enterprise JSF apps Example use cases include ensuring p:commandButton updates target valid JSF components and debugging failed AJAX callbacks in HMIS-style dashboards.

Quick Start

Identify any plain HTML elements used for AJAX updates, replace them with appropriate JSF components, and verify update expressions resolve to component client IDs.

Frequently Asked Questions about jsf-ajax

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update JSF components safely using AJAX without breaking partial page rendering?

Safe JSF AJAX updates use JSF components like h:panelGroup or p:outputPanel instead of plain HTML elements, targeting component client IDs in update expressions to ensure consistent partial page rendering.

Why does my PrimeFaces commandButton AJAX callback fail to update the page?

PrimeFaces AJAX callbacks fail when update attributes use brittle CSS selectors or target plain HTML elements. Debugging involves verifying update expressions resolve to valid JSF component client IDs.

What is the best way to debug partial page rendering issues in enterprise JSF applications?

Debugging partial page rendering in JSF applications involves checking update and process attribute usage, avoiding CSS selectors, and confirming target components are valid JSF elements.

Can I use CSS selectors in JSF AJAX update expressions for component updates?

CSS selectors are discouraged in JSF AJAX update expressions because they are brittle. Using valid JSF component client IDs ensures updates resolve correctly and consistently.

How do I fix AJAX update targets in HMIS-style JSF dashboards?

Fixing AJAX update targets in HMIS-style JSF dashboards requires identifying plain HTML elements used for updates, replacing them with JSF components, and verifying update expressions target valid client IDs.