Ticket #1455 (new enhancement)

Opened 9 months ago

Last modified 6 months ago

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

Changed 9 months ago by Marc Englund

NOTE this feature is based on a real user need.

Changed 9 months ago by Marc Englund

  • type changed from defect to enhancement

Changed 9 months ago by Marc Englund

Rename emptyText -> Input Prompt http://designinginterfaces.com/Input_Prompt

(requested in forum)

Changed 9 months ago by Marc Englund

  • summary changed from Add ComboBox "emptyText" attribute serverside (client basic impl exists) to Add ComboBox and TextField "emptyText" (==InputPrompt) attribute serverside (client basic impl exists)

Changed 7 months ago by Jouni Koivuviita

  • keywords fct added

Changed 7 months ago by Joonas Lehtinen

  • milestone changed from User Interface Library 5.2.0 to IT Mill Sponsored Backlog

Changed 6 months ago by Joonas Lehtinen

  • priority changed from blocker to undefined
Note: See TracTickets for help on using tickets.