jsf-ajax — community jsf-ajax, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Java EE Agents needing seamless AJAX integration with JSF components This is an Open Source Java EE based Hospital Information Management System

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

Agent Capability Analysis

The jsf-ajax skill by hmislk is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Java EE Agents needing seamless AJAX integration with JSF components

Core Value

Empowers agents to perform dynamic updates using JSF components like `h:panelGroup` and `p:outputPanel`, while avoiding plain HTML elements, and leveraging `p:resolveFirstComponentWithId` for precise component references, all within the realm of Java EE and JSF AJAX updates

Capabilities Granted for jsf-ajax

Updating JSF components dynamically with AJAX
Resolving component IDs using `p:resolveFirstComponentWithId`
Avoiding rendering issues with plain HTML elements

! Prerequisites & Limits

  • Requires Java EE environment
  • JSF components must be used instead of plain HTML elements
  • Specific to JSF AJAX updates
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

jsf-ajax

Install jsf-ajax, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

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.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is jsf-ajax?

Perfect for Java EE Agents needing seamless AJAX integration with JSF components This is an Open Source Java EE based Hospital Information Management System

How do I install jsf-ajax?

Run the command: npx killer-skills add hmislk/hmis. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for jsf-ajax?

Key use cases include: Updating JSF components dynamically with AJAX, Resolving component IDs using `p:resolveFirstComponentWithId`, Avoiding rendering issues with plain HTML elements.

Which IDEs are compatible with jsf-ajax?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for jsf-ajax?

Requires Java EE environment. JSF components must be used instead of plain HTML elements. Specific to JSF AJAX updates.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add hmislk/hmis. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use jsf-ajax immediately in the current project.

Related Skills

Looking for an alternative to jsf-ajax or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI