Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

[test] Implement prototype to test StringExpression with #concat(). #93

Open
Naoghuman opened this issue Apr 26, 2019 · 1 comment
Open
Labels
enhancement Extension from a feature
Milestone

Comments

@Naoghuman
Copy link
Owner

[test] Implement prototype to test StringExpression with #concat().

  • New enhancement to bind ObservableValues (int, long...) to a StringExpression.
  • Allowed the change from an ObservableValue which will reflect then in the StringExpression.
@Naoghuman Naoghuman added the enhancement Extension from a feature label Apr 26, 2019
@Naoghuman Naoghuman added this to the v0.8.0 milestone Apr 26, 2019
@Naoghuman
Copy link
Owner Author

Should the behavior from #getMessage(...) in DefaultI18NResourceBundle replaced or extended by the new functionalities?

Old:

  • Its a static injection from the arguments through MessageFormat.format(...) which returns a String.
  • Locale change works.
  • But if an argument is changed, then the binding must created again.

New:

  • Goal is that the arguments will be injected as 'ObservableValue's.
  • If an ObservableValue is changed then the String will be updated.
  • The template String from the .properties file can be formated with the arguments with Bindings.format(...) or Bindings.concat(...) -> returns a StringBinding (StringExpression).
  • But how do the changed in conjunction with the Locale?

@Naoghuman Naoghuman modified the milestones: v0.8.0, v0.9.0 Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Extension from a feature
Projects
None yet
Development

No branches or pull requests

1 participant