Ticket #1455 (new enhancement)
Add ComboBox and TextField "emptyText" (==InputPrompt) attribute serverside (client basic impl exists)
| Reported by: | Marc Englund | Owned by: | Joonas Lehtinen |
|---|---|---|---|
| Priority: | undefined | Milestone: | IT Mill Sponsored Backlog |
| Component: | undefined | Version: | |
| Keywords: | fct | Cc: | |
| Known Issue description: | |||
| Hours estimate: | 2 | Deadline (dd.mm.yyyy): | |
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | no | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description
(NOTE at least textfield could use the same functionality; implement or create eparate ticket.)
Client basic functionality done (weekend coding), but should add CLASSNAME_EMPTY as well, as indicated by TODOs.
Server impl here:
public String getEmptyText() {
return emptyText;
}
public void setEmptyText(String emptyText) {
this.emptyText = emptyText;
}
public void paintContent(PaintTarget target) throws PaintException {
if (emptyText != null) {
target.addAttribute("emptytext", emptyText);
}
super.paintContent(target);
}
Test! ComboBox? has many modes!
(Implemented during weekend, decided against committing during bug-fix sprint.)
Change History
Note: See
TracTickets for help on using
tickets.
