Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Blog post comment is closed #3

Open
@hajaUR1

Description

Hi Steve,
First thing first, thanks for sharing such valuable material.
Your blog post commenting seems closed so sorry for this github channel.

A question remains though, with such architecture what is the cleanest way to customize the error message ?
Currently, and for sake of clarity, I understand that it's hard-coded in fxml. What I want to achieve is a builder-like :

screens.errorDialog().withMessage("custom warning message").withSeverity(Severity.WARNING).show()

Trouble is that I can update fxml dialog fields' only in controller(with @FXML), but latter is injected in FXMLDialog view on build time in ScreensConfiguration. I also want to re-use FXMLDialog for other kind of dialog.

Thanks in advance,
Cheers,
Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /