Codex sayaya-ui Checkbox Setup for GWT Forms
Use sayaya-ui Java builders for GWT form controls, setting initial values and choosing the appropriate change handlers.
中文Install in Codex
Open a GWT project that already uses sayaya-ui. It needs libs.bundles.sayaya.web and the dev.sayaya.Ui module.
- Review `.agents/skills/sayaya-ui/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/sayaya-ui/` in your project and save the reviewed file as `.agents/skills/sayaya-ui/SKILL.md`.
- Start Codex from that project's root, then type `$sayaya-ui` and select the matching skill.
Example task
Create a checked form checkbox and identify the call for reading its state.
{"control":"checkbox","field":"showDetails","selected":true,"readOn":"change"}What to check
Build `showDetails` with `CheckboxElementBuilder.checkbox()`. Initialize it with `select(true)` and read the change with `isSelected()`.
Original SKILL.md on GitHub · Updated
Frequently asked question
What follows setting the text and value of a dropdown option?
Call `done()` for that option before continuing to the next option or the change handler.